1 # $Cambridge: exim/src/src/lookups/Makefile,v 1.7 2007/09/28 12:21:57 tom 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 dkim.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 dkim.o: $(HDRS) dkim.c dkim.h
30 dnsdb.o: $(HDRS) dnsdb.c dnsdb.h
31 dsearch.o: $(HDRS) dsearch.c dsearch.h
32 ibase.o: $(HDRS) ibase.c ibase.h
33 ldap.o: $(HDRS) ldap.c ldap.h
34 lsearch.o: $(HDRS) lsearch.c lsearch.h
35 mysql.o: $(HDRS) mysql.c mysql.h
36 nis.o: $(HDRS) nis.c nis.h
37 nisplus.o: $(HDRS) nisplus.c nisplus.h
38 oracle.o: $(HDRS) oracle.c oracle.h
39 passwd.o: $(HDRS) passwd.c passwd.h
40 pgsql.o: $(HDRS) pgsql.c pgsql.h
41 spf.o: $(HDRS) spf.c spf.h
42 sqlite.o: $(HDRS) sqlite.c sqlite.h
43 testdb.o: $(HDRS) testdb.c testdb.h
44 whoson.o: $(HDRS) whoson.c whoson.h