1 # $Cambridge: exim/src/src/lookups/Makefile,v 1.5 2005/09/12 13:50:03 ph10 Exp $
3 # Make file for building a library containing all the available lookups and
4 # calling it lookups.a. This is called from the main make file, after cd'ing
5 # to the lookups subdirectory. When the relevant LOOKUP_ macros are not
6 # defined, dummy modules get compiled.
8 OBJ = cdb.o dbmdb.o dnsdb.o dsearch.o ibase.o ldap.o lsearch.o mysql.o nis.o \
9 nisplus.o oracle.o passwd.o pgsql.o spf.o sqlite.o testdb.o whoson.o \
10 lf_check_file.o lf_quote.o
13 @$(RM_COMMAND) -f lookups.a
14 @echo "$(AR) lookups.a"
15 @$(AR) lookups.a $(OBJ)
17 @$(RM_COMMAND) -rf ../drtables.o
20 .c.o:; @echo "$(CC) $*.c"
21 $(FE)$(CC) -c $(CFLAGS) $(INCLUDE) $*.c
23 lf_check_file.o: $(HDRS) lf_check_file.c lf_functions.h
24 lf_quote.o: $(HDRS) lf_quote.c lf_functions.h
26 cdb.o: $(HDRS) cdb.c cdb.h
27 dbmdb.o: $(HDRS) dbmdb.c dbmdb.h
28 dnsdb.o: $(HDRS) dnsdb.c dnsdb.h
29 dsearch.o: $(HDRS) dsearch.c dsearch.h
30 ibase.o: $(HDRS) ibase.c ibase.h
31 ldap.o: $(HDRS) ldap.c ldap.h
32 lsearch.o: $(HDRS) lsearch.c lsearch.h
33 mysql.o: $(HDRS) mysql.c mysql.h
34 nis.o: $(HDRS) nis.c nis.h
35 nisplus.o: $(HDRS) nisplus.c nisplus.h
36 oracle.o: $(HDRS) oracle.c oracle.h
37 passwd.o: $(HDRS) passwd.c passwd.h
38 pgsql.o: $(HDRS) pgsql.c pgsql.h
39 spf.o: $(HDRS) spf.c spf.h
40 sqlite.o: $(HDRS) sqlite.c sqlite.h
41 testdb.o: $(HDRS) testdb.c testdb.h
42 whoson.o: $(HDRS) whoson.c whoson.h