6 DEFS
= -I.
-I
$(INC_DIR
) -D
$(SYSTYPE
)
7 CFLAGS
= $(DEBUG
) $(OPT
) $(DEFS
)
10 INC_DIR
= ..
/..
/include
11 LIBS
= ..
/..
/lib
/libglobal.a ..
/..
/lib
/libutil.a
13 .c.o
:; $(CC
) $(CFLAGS
) -c
$*.c
15 $(PROG
): $(OBJS
) $(LIBS
)
16 $(CC
) $(CFLAGS
) -o
$@
$(OBJS
) $(LIBS
) $(SYSLIBS
)
18 $(OBJS
): ..
/..
/conf
/makedefs.out
21 cat ..
/..
/conf
/makedefs.out
$?
>$@
23 update
: ..
/..
/bin
/$(PROG
)
29 test1
: $(PROG
) map.in map-abc1.ref map-ghi1.ref map-uABC1.ref
33 .
/$(PROG
) -q
$${key} map.in | diff map-
$${key}1.ref
-; \
38 .
/$(PROG
) -fq
$${key} map.in | diff map-u
$${key}1.ref
-; \
42 test2
: $(PROG
) map.in map-abc2.ref map-ghi2.ref map-uABC2.ref
46 echo
$${key} | .
/$(PROG
) -q
- map.in | diff map-
$${key}2.ref
-; \
51 echo
$${key} | .
/$(PROG
) -fq
- map.in | diff map-u
$${key}2.ref
-; \
55 ..
/..
/bin
/$(PROG
): $(PROG
)
58 printfck
: $(OBJS
) $(PROG
)
61 sed
'1,/^# do not edit/!d' Makefile
>printfck
/Makefile
62 set
-e
; for i in
*.c
; do printfck
-f .printfck
$$i >printfck
/$$i; done
63 cd printfck
; make
"INC_DIR=../../../include" `cd ..; ls *.o`
66 lint
$(DEFS
) $(SRCS
) $(LINTFIX
)
69 rm -f
*.o
*core
$(PROG
) $(TESTPROG
) junk
75 (sed
'1,/^# do not edit/!d' Makefile.in
; \
76 set
-e
; for i in
[a-z
][a-z0-9
]*.c
; do \
77 $(CC
) -E
$(DEFS
) $(INCL
) $$i | grep
-v
'[<>]' | sed
-n
-e
'/^# *1 *"\([^"]*\)".*/{' \
78 -e
's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
79 -e
's/o: \.\//o: /' -e p
-e
'}' ; \
80 done |
sort -u
) | grep
-v
'[.][o][:][ ][/]' >$$$$ && mv
$$$$ Makefile.in
81 @
$(EXPORT
) make
-f Makefile.in Makefile
1>&2
83 # do not edit below this line - it is generated by 'make depend'
84 postalias.o
: ..
/..
/include/argv.h
85 postalias.o
: ..
/..
/include/dict.h
86 postalias.o
: ..
/..
/include/dict_proxy.h
87 postalias.o
: ..
/..
/include/mail_conf.h
88 postalias.o
: ..
/..
/include/mail_dict.h
89 postalias.o
: ..
/..
/include/mail_params.h
90 postalias.o
: ..
/..
/include/mail_task.h
91 postalias.o
: ..
/..
/include/mail_version.h
92 postalias.o
: ..
/..
/include/mkmap.h
93 postalias.o
: ..
/..
/include/msg.h
94 postalias.o
: ..
/..
/include/msg_syslog.h
95 postalias.o
: ..
/..
/include/msg_vstream.h
96 postalias.o
: ..
/..
/include/mymalloc.h
97 postalias.o
: ..
/..
/include/readlline.h
98 postalias.o
: ..
/..
/include/resolve_clnt.h
99 postalias.o
: ..
/..
/include/set_eugid.h
100 postalias.o
: ..
/..
/include/split_at.h
101 postalias.o
: ..
/..
/include/stringops.h
102 postalias.o
: ..
/..
/include/sys_defs.h
103 postalias.o
: ..
/..
/include/tok822.h
104 postalias.o
: ..
/..
/include/vbuf.h
105 postalias.o
: ..
/..
/include/vstream.h
106 postalias.o
: ..
/..
/include/vstring.h
107 postalias.o
: ..
/..
/include/vstring_vstream.h
108 postalias.o
: postalias.c