Start
[exim.git] / src / src / lookups / Makefile
... / ...
CommitLineData
1# $Cambridge: exim/src/src/lookups/Makefile,v 1.1 2004/10/07 13:10:01 ph10 Exp $
2
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.
7
8OBJ = 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 testdb.o whoson.o lf_check_file.o \
10 lf_quote.o
11
12lookups.a: $(OBJ)
13 /bin/rm -f lookups.a
14 $(AR) lookups.a $(OBJ)
15 $(RANLIB) $@
16 /bin/rm -rf ../drtables.o
17
18.SUFFIXES: .o .c
19.c.o:; $(CC) -c $(CFLAGS) $(INCLUDE) $*.c
20
21lf_check_file.o: $(HDRS) lf_check_file.c lf_functions.h
22lf_quote.o: $(HDRS) lf_quote.c lf_functions.h
23
24cdb.o: $(HDRS) cdb.c cdb.h
25dbmdb.o: $(HDRS) dbmdb.c dbmdb.h
26dnsdb.o: $(HDRS) dnsdb.c dnsdb.h
27dsearch.o: $(HDRS) dsearch.c dsearch.h
28ibase.o: $(HDRS) ibase.c ibase.h
29ldap.o: $(HDRS) ldap.c ldap.h
30lsearch.o: $(HDRS) lsearch.c lsearch.h
31mysql.o: $(HDRS) mysql.c mysql.h
32nis.o: $(HDRS) nis.c nis.h
33nisplus.o: $(HDRS) nisplus.c nisplus.h
34oracle.o: $(HDRS) oracle.c oracle.h
35passwd.o: $(HDRS) passwd.c passwd.h
36pgsql.o: $(HDRS) pgsql.c pgsql.h
37testdb.o: $(HDRS) testdb.c testdb.h
38whoson.o: $(HDRS) whoson.c whoson.h
39
40# End