No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / fsstone / Makefile.in
blobbfc9842acddebfb7ceeec901e345051650c63d5f
1 SHELL = /bin/sh
2 SRCS = fsstone.c
3 OBJS = fsstone.o
4 HDRS =
5 TESTSRC =
6 DEFS = -I. -I$(INC_DIR) -D$(SYSTYPE)
7 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
8 TESTPROG=
9 PROG = fsstone
10 INC_DIR = ../../include
11 LIBS = ../../lib/libglobal.a ../../lib/libutil.a
13 .c.o:; $(CC) $(CFLAGS) -c $*.c
15 all: $(PROG)
17 $(OBJS): ../../conf/makedefs.out
19 Makefile: Makefile.in
20 cat ../../conf/makedefs.out $? >$@
22 fsstone: fsstone.o $(LIBS)
23 $(CC) $(CFLAGS) -o $@ fsstone.o $(LIBS) $(SYSLIBS)
25 test: $(TESTPROG)
27 tests:
29 root_tests:
31 update: ../../libexec/fsstone
33 ../../libexec/fsstone: fsstone
34 cp $? $@
36 printfck: $(OBJS) $(PROG)
37 rm -rf printfck
38 mkdir printfck
39 sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
40 set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
41 cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
42 lint:
43 lint $(DEFS) $(SRCS) $(LINTFIX)
45 clean:
46 rm -f *.o *core $(PROG) $(TESTPROG) junk
47 rm -rf printfck
49 tidy: clean
51 depend: $(MAKES)
52 (sed '1,/^# do not edit/!d' Makefile.in; \
53 set -e; for i in [a-z][a-z0-9]*.c; do \
54 $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
55 -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
56 -e 's/o: \.\//o: /' -e p -e '}' ; \
57 done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
58 @$(EXPORT) make -f Makefile.in Makefile 1>&2
60 # do not edit below this line - it is generated by 'make depend'
61 fsstone.o: ../../include/mail_version.h
62 fsstone.o: ../../include/msg.h
63 fsstone.o: ../../include/msg_vstream.h
64 fsstone.o: ../../include/sys_defs.h
65 fsstone.o: ../../include/vbuf.h
66 fsstone.o: ../../include/vstream.h
67 fsstone.o: fsstone.c