No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / postconf / Makefile.in
bloba91c9b95afc00a83c7ce45ba29335930aaf70850
1 SHELL = /bin/sh
2 SRCS = postconf.c
3 OBJS = postconf.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 MAKES = bool_table.h bool_vars.h int_table.h int_vars.h str_table.h \
10 str_vars.h time_table.h time_vars.h raw_table.h raw_vars.h \
11 nint_table.h nint_vars.h
12 AUTOS = auto_table.h auto_vars.h
13 PROG = postconf
14 SAMPLES = ../../conf/main.cf.default
15 INC_DIR = ../../include
16 LIBS = ../../lib/libxsasl.a ../../lib/libglobal.a ../../lib/libutil.a
18 .c.o:; $(CC) $(CFLAGS) -c $*.c
20 $(PROG): $(OBJS) $(LIBS)
21 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
23 ../../conf/main.cf.default: $(PROG) Makefile
24 rm -f $@
25 (echo "# DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE"; \
26 echo "# TEXT HERE JUST SHOWS DEFAULT SETTINGS BUILT INTO POSTFIX."; \
27 echo "#"; \
28 ./$(PROG) -d) |egrep -v '^(myhostname|mydomain|mynetworks) ' >$@
30 $(OBJS): ../../conf/makedefs.out
32 Makefile: Makefile.in
33 cat ../../conf/makedefs.out $? >$@
35 test: $(TESTPROG)
37 tests:
39 root_tests:
41 update: ../../bin/$(PROG) $(SAMPLES)
43 ../../bin/$(PROG): $(PROG)
44 cp $(PROG) ../../bin
46 $(MAKES): $(INC_DIR)/mail_params.h ../global/mail_params.c
47 $(AWK) -f extract.awk ../*/*.c | $(SHELL)
49 $(AUTOS): auto.awk
50 $(AWK) -f auto.awk
52 printfck: $(OBJS) $(PROG)
53 rm -rf printfck
54 mkdir printfck
55 cp *.h printfck
56 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
57 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
58 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
60 lint:
61 lint $(DEFS) $(SRCS) $(LINTFIX)
63 clean:
64 rm -f *.o *core $(PROG) $(TESTPROG) junk $(MAKES) $(AUTOS)
65 rm -rf printfck
67 tidy: clean
69 depend: $(MAKES)
70 (sed '1,/^# do not edit/!d' Makefile.in; \
71 set -e; for i in [a-z][a-z0-9]*.c; do \
72 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
73 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
74 -e 's/o: \.\//o: /' -e p -e '}' ; \
75 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
76 @$(EXPORT) make -f Makefile.in Makefile 1>&2
78 # do not edit below this line - it is generated by 'make depend'
79 postconf.o: ../../include/argv.h
80 postconf.o: ../../include/attr.h
81 postconf.o: ../../include/dict.h
82 postconf.o: ../../include/edit_file.h
83 postconf.o: ../../include/get_hostname.h
84 postconf.o: ../../include/htable.h
85 postconf.o: ../../include/inet_proto.h
86 postconf.o: ../../include/iostuff.h
87 postconf.o: ../../include/mail_addr.h
88 postconf.o: ../../include/mail_conf.h
89 postconf.o: ../../include/mail_dict.h
90 postconf.o: ../../include/mail_params.h
91 postconf.o: ../../include/mail_proto.h
92 postconf.o: ../../include/mail_run.h
93 postconf.o: ../../include/mail_version.h
94 postconf.o: ../../include/mbox_conf.h
95 postconf.o: ../../include/msg.h
96 postconf.o: ../../include/msg_vstream.h
97 postconf.o: ../../include/myflock.h
98 postconf.o: ../../include/mymalloc.h
99 postconf.o: ../../include/mynetworks.h
100 postconf.o: ../../include/safe.h
101 postconf.o: ../../include/split_at.h
102 postconf.o: ../../include/stringops.h
103 postconf.o: ../../include/sys_defs.h
104 postconf.o: ../../include/vbuf.h
105 postconf.o: ../../include/vstream.h
106 postconf.o: ../../include/vstring.h
107 postconf.o: ../../include/vstring_vstream.h
108 postconf.o: ../../include/xsasl.h
109 postconf.o: auto_table.h
110 postconf.o: auto_vars.h
111 postconf.o: bool_table.h
112 postconf.o: bool_vars.h
113 postconf.o: install_table.h
114 postconf.o: install_vars.h
115 postconf.o: int_table.h
116 postconf.o: int_vars.h
117 postconf.o: postconf.c
118 postconf.o: raw_table.h
119 postconf.o: raw_vars.h
120 postconf.o: str_table.h
121 postconf.o: str_vars.h
122 postconf.o: time_table.h
123 postconf.o: time_vars.h