Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / contrib / dlz / modules / ldap / Makefile
blob8926abf8812625386f11738211e5e227a7be9ac9
1 prefix = /usr
2 libdir = $(prefix)/lib/bind9
4 CFLAGS=-fPIC -g -I../include
5 LDAP_LIBS=-lldap
7 all: dlz_ldap_dynamic.so
9 dlz_dbi.o: ../common/dlz_dbi.c
10 $(CC) $(CFLAGS) -c ../common/dlz_dbi.c
12 dlz_ldap_dynamic.so: dlz_ldap_dynamic.c dlz_dbi.o
13 $(CC) $(CFLAGS) -shared -o dlz_ldap_dynamic.so \
14 dlz_ldap_dynamic.c dlz_dbi.o $(LDAP_LIBS)
16 clean:
17 rm -f dlz_ldap_dynamic.so *.o
19 install: dlz_ldap_dynamic.so
20 mkdir -p $(DESTDIR)$(libdir)
21 install dlz_ldap_dynamic.so $(DESTDIR)$(libdir)