6 DEFS
= -I.
-I
$(INC_DIR
) -D
$(SYSTYPE
)
7 CFLAGS
= $(DEBUG
) $(OPT
) $(DEFS
)
10 INC_DIR
= ..
/..
/include
11 LIBS
= ..
/..
/lib
/libmaster.a ..
/..
/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
$?
>$@
29 update
: ..
/..
/libexec
/$(PROG
)
31 ..
/..
/libexec
/$(PROG
): $(PROG
)
32 cp
$(PROG
) ..
/..
/libexec
34 printfck
: $(OBJS
) $(PROG
)
37 sed
'1,/^# do not edit/!d' Makefile
>printfck
/Makefile
38 set
-e
; for i in
*.c
; do printfck
-f .printfck
$$i >printfck
/$$i; done
39 cd printfck
; make
"INC_DIR=../../../include" `cd ..; ls *.o`
42 lint
$(DEFS
) $(SRCS
) $(LINTFIX
)
45 rm -f
*.o
*core
$(PROG
) $(TESTPROG
) junk
51 (sed
'1,/^# do not edit/!d' Makefile.in
; \
52 set
-e
; for i in
[a-z
][a-z0-9
]*.c
; do \
53 $(CC
) -E
$(DEFS
) $(INCL
) $$i | grep
-v
'[<>]' | sed
-n
-e
'/^# *1 *"\([^"]*\)".*/{' \
54 -e
's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
55 -e
's/o: \.\//o: /' -e p
-e
'}' ; \
56 done |
sort -u
) | grep
-v
'[.][o][:][ ][/]' >$$$$ && mv
$$$$ Makefile.in
57 @
$(EXPORT
) make
-f Makefile.in Makefile
1>&2
59 # do not edit below this line - it is generated by 'make depend'
60 scache.o
: ..
/..
/include/attr.h
61 scache.o
: ..
/..
/include/events.h
62 scache.o
: ..
/..
/include/htable.h
63 scache.o
: ..
/..
/include/iostuff.h
64 scache.o
: ..
/..
/include/mail_conf.h
65 scache.o
: ..
/..
/include/mail_params.h
66 scache.o
: ..
/..
/include/mail_proto.h
67 scache.o
: ..
/..
/include/mail_server.h
68 scache.o
: ..
/..
/include/mail_version.h
69 scache.o
: ..
/..
/include/msg.h
70 scache.o
: ..
/..
/include/ring.h
71 scache.o
: ..
/..
/include/scache.h
72 scache.o
: ..
/..
/include/sys_defs.h
73 scache.o
: ..
/..
/include/vbuf.h
74 scache.o
: ..
/..
/include/vstream.h
75 scache.o
: ..
/..
/include/vstring.h