Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / tlsmgr / Makefile.in
blob3d2f27447c4d5a12a3f9d04bff316a8a54416689
1 SHELL = /bin/sh
2 SRCS = tlsmgr.c
3 OBJS = tlsmgr.o
4 HDRS =
5 TESTSRC = smtpd_token_test.c
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = tlsmgr
10 INC_DIR = ../../include
11 LIBS = ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libglobal.a \
12 ../../lib/libutil.a
14 .c.o:; $(CC) $(CFLAGS) -c $*.c
16 $(PROG): $(OBJS) $(LIBS)
17 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
19 $(OBJS): ../../conf/makedefs.out
21 Makefile: Makefile.in
22 cat ../../conf/makedefs.out $? >$@
24 test: $(TESTPROG)
26 update: ../../libexec/$(PROG)
28 ../../libexec/$(PROG): $(PROG)
29 cp $(PROG) ../../libexec
31 printfck: $(OBJS) $(PROG)
32 rm -rf printfck
33 mkdir printfck
34 cp *.h printfck
35 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
36 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
37 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
39 lint:
40 lint $(DEFS) $(SRCS) $(LINTFIX)
42 clean:
43 rm -f *.o *core $(PROG) $(TESTPROG) junk *.db *.out *.tmp
44 rm -rf printfck
46 tidy: clean
48 tests:
50 root_tests:
52 depend: $(MAKES)
53 (sed '1,/^# do not edit/!d' Makefile.in; \
54 set -e; for i in [a-z][a-z0-9]*.c; do \
55 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
56 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
57 -e 's/o: \.\//o: /' -e p -e '}' ; \
58 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
59 @$(EXPORT) make -f Makefile.in Makefile 1>&2
61 # do not edit below this line - it is generated by 'make depend'
62 tlsmgr.o: ../../include/argv.h
63 tlsmgr.o: ../../include/attr.h
64 tlsmgr.o: ../../include/data_redirect.h
65 tlsmgr.o: ../../include/dict.h
66 tlsmgr.o: ../../include/events.h
67 tlsmgr.o: ../../include/htable.h
68 tlsmgr.o: ../../include/iostuff.h
69 tlsmgr.o: ../../include/mail_conf.h
70 tlsmgr.o: ../../include/mail_params.h
71 tlsmgr.o: ../../include/mail_proto.h
72 tlsmgr.o: ../../include/mail_server.h
73 tlsmgr.o: ../../include/mail_version.h
74 tlsmgr.o: ../../include/master_proto.h
75 tlsmgr.o: ../../include/msg.h
76 tlsmgr.o: ../../include/mymalloc.h
77 tlsmgr.o: ../../include/name_code.h
78 tlsmgr.o: ../../include/name_mask.h
79 tlsmgr.o: ../../include/set_eugid.h
80 tlsmgr.o: ../../include/stringops.h
81 tlsmgr.o: ../../include/sys_defs.h
82 tlsmgr.o: ../../include/tls.h
83 tlsmgr.o: ../../include/tls_mgr.h
84 tlsmgr.o: ../../include/tls_prng.h
85 tlsmgr.o: ../../include/tls_scache.h
86 tlsmgr.o: ../../include/vbuf.h
87 tlsmgr.o: ../../include/vstream.h
88 tlsmgr.o: ../../include/vstring.h
89 tlsmgr.o: ../../include/vstring_vstream.h
90 tlsmgr.o: tlsmgr.c