Makefile 368 Bytes
Newer Older
1
2
3
CPPFLAGS+=-I../../../include -I../../../servers/slapd 
CPPFLAGS+=-DSLAPD_OVER_NOPS=SLAPD_MOD_DYNAMIC
LIBS=-lldap_r -llber -lcrypto
4

Emmanuel Dreyfus's avatar
Emmanuel Dreyfus committed
5
all: nops.la
6

Emmanuel Dreyfus's avatar
Emmanuel Dreyfus committed
7
8
9
10
11
nops.lo:    nops.c
	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?

nops.la:    nops.lo
	$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
12
		   -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
13
14

clean:
Emmanuel Dreyfus's avatar
Emmanuel Dreyfus committed
15
	rm nops.lo nops.la