Skip to content
Snippets Groups Projects
Commit 66163e06 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

libtoolize

Missing stuff for proper linking of the module
parent 656d4b95
No related branches found
No related tags found
No related merge requests found
CPPFLAGS+=-I../../../include -I../../../servers/slapd
CPPFLAGS+=-I../../../include -I../../../servers/slapd
CPPFLAGS+=-DSLAPD_OVER_NOPS=SLAPD_MOD_DYNAMIC
LIBS=-lldap_r -llber -lcrypto
all: nops.so
all: nops.la
nops.so: nops.c
$(CC) -shared $(CPPFLAGS) -Wall -o $@ $?
nops.lo: nops.c
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?
nops.la: nops.lo
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
-rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
clean:
rm nops.so
rm nops.lo nops.la
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment