1 # $Cambridge: exim/src/src/lookups/Makefile,v 1.6 2007/08/23 10:16:51 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 lf_sqlperform.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
25 lf_sqlperform.o: $(HDRS) lf_sqlperform.c lf_functions.h
27 cdb.o: $(HDRS) cdb.c cdb.h
28 dbmdb.o: $(HDRS) dbmdb.c dbmdb.h
29 dnsdb.o: $(HDRS) dnsdb.c dnsdb.h
30 dsearch.o: $(HDRS) dsearch.c dsearch.h
31 ibase.o: $(HDRS) ibase.c ibase.h
32 ldap.o: $(HDRS) ldap.c ldap.h
33 lsearch.o: $(HDRS) lsearch.c lsearch.h
34 mysql.o: $(HDRS) mysql.c mysql.h
35 nis.o: $(HDRS) nis.c nis.h
36 nisplus.o: $(HDRS) nisplus.c nisplus.h
37 oracle.o: $(HDRS) oracle.c oracle.h
38 passwd.o: $(HDRS) passwd.c passwd.h
39 pgsql.o: $(HDRS) pgsql.c pgsql.h
40 spf.o: $(HDRS) spf.c spf.h
41 sqlite.o: $(HDRS) sqlite.c sqlite.h
42 testdb.o: $(HDRS) testdb.c testdb.h
43 whoson.o: $(HDRS) whoson.c whoson.h