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
)
25 ..
/..
/bin
/$(PROG
): $(PROG
)
32 test1
: $(PROG
) map.in map-abc1.ref map-ghi1.ref map-uABC1.ref
36 .
/$(PROG
) -q
$${key} map.in | diff map-
$${key}1.ref
-; \
41 .
/$(PROG
) -fq
$${key} map.in | diff map-u
$${key}1.ref
-; \
45 test2
: $(PROG
) map.in map-abc2.ref map-ghi2.ref map-uABC2.ref
49 echo
$${key} | .
/$(PROG
) -q
- map.in | diff map-
$${key}2.ref
-; \
54 echo
$${key} | .
/$(PROG
) -fq
- map.in | diff map-u
$${key}2.ref
-; \
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 map.in.db
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 postmap.o
: ..
/..
/include/argv.h
85 postmap.o
: ..
/..
/include/dict.h
86 postmap.o
: ..
/..
/include/dict_proxy.h
87 postmap.o
: ..
/..
/include/header_opts.h
88 postmap.o
: ..
/..
/include/mail_conf.h
89 postmap.o
: ..
/..
/include/mail_dict.h
90 postmap.o
: ..
/..
/include/mail_params.h
91 postmap.o
: ..
/..
/include/mail_task.h
92 postmap.o
: ..
/..
/include/mail_version.h
93 postmap.o
: ..
/..
/include/mime_state.h
94 postmap.o
: ..
/..
/include/mkmap.h
95 postmap.o
: ..
/..
/include/msg.h
96 postmap.o
: ..
/..
/include/msg_syslog.h
97 postmap.o
: ..
/..
/include/msg_vstream.h
98 postmap.o
: ..
/..
/include/mymalloc.h
99 postmap.o
: ..
/..
/include/readlline.h
100 postmap.o
: ..
/..
/include/rec_type.h
101 postmap.o
: ..
/..
/include/set_eugid.h
102 postmap.o
: ..
/..
/include/split_at.h
103 postmap.o
: ..
/..
/include/stringops.h
104 postmap.o
: ..
/..
/include/sys_defs.h
105 postmap.o
: ..
/..
/include/vbuf.h
106 postmap.o
: ..
/..
/include/vstream.h
107 postmap.o
: ..
/..
/include/vstring.h
108 postmap.o
: ..
/..
/include/vstring_vstream.h