~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/qmqpd/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-ooo6yfg6kmoteu04
Tags: upstream-2.1.3
ImportĀ upstreamĀ versionĀ 2.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHELL   = /bin/sh
 
2
SRCS    = qmqpd.c qmqpd_state.c qmqpd_peer.c
 
3
OBJS    = qmqpd.o qmqpd_state.o qmqpd_peer.o
 
4
HDRS    =
 
5
TESTSRC =
 
6
DEFS    = -I. -I$(INC_DIR) -D$(SYSTYPE)
 
7
CFLAGS  = $(DEBUG) $(OPT) $(DEFS)
 
8
TESTPROG=
 
9
PROG    = qmqpd
 
10
INC_DIR = ../../include
 
11
LIBS    = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libdns.a ../../lib/libutil.a
 
12
 
 
13
.c.o:;  $(CC) $(CFLAGS) -c $*.c
 
14
 
 
15
$(PROG): $(OBJS) $(LIBS)
 
16
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
17
 
 
18
Makefile: Makefile.in
 
19
        (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
20
 
 
21
test:   $(TESTPROG)
 
22
 
 
23
tests:  test
 
24
 
 
25
update: ../../libexec/$(PROG)
 
26
 
 
27
../../libexec/$(PROG): $(PROG)
 
28
        cp $(PROG) ../../libexec
 
29
 
 
30
SMTPD_CHECK_OBJ = qmqpd_state.o qmqpd_peer.o
 
31
 
 
32
qmqpd_token: qmqpd_token.c $(LIBS)
 
33
        $(CC) $(CFLAGS) -DTEST -o $@ $@.c $(LIBS) $(SYSLIBS)
 
34
 
 
35
qmqpd_check: qmqpd_check.c $(SMTPD_CHECK_OBJ) $(LIBS)
 
36
        mv $@.o junk
 
37
        $(CC) $(CFLAGS) -DTEST -o $@ qmqpd_check.c $(SMTPD_CHECK_OBJ) \
 
38
                $(LIBS) $(SYSLIBS)
 
39
        mv junk $@.o
 
40
 
 
41
printfck: $(OBJS) $(PROG)
 
42
        rm -rf printfck
 
43
        mkdir printfck
 
44
        cp *.h printfck
 
45
        sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
 
46
        set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
 
47
        cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
 
48
 
 
49
lint:
 
50
        lint $(DEFS) $(SRCS) $(LINTFIX)
 
51
 
 
52
clean:
 
53
        rm -f *.o *core $(PROG) $(TESTPROG) junk *.db *.out *.tmp
 
54
        rm -rf printfck
 
55
 
 
56
tidy:   clean
 
57
 
 
58
depend: $(MAKES)
 
59
        (sed '1,/^# do not edit/!d' Makefile.in; \
 
60
        set -e; for i in [a-z][a-z0-9]*.c; do \
 
61
            $(CC) -E $(DEFS) $(INCL) $$i | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
 
62
            -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' -e 'p' -e '}'; \
 
63
        done) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
 
64
        @$(EXPORT) make -f Makefile.in Makefile 1>&2
 
65
 
 
66
# do not edit below this line - it is generated by 'make depend'
 
67
qmqpd.o: qmqpd.c
 
68
qmqpd.o: ../../include/sys_defs.h
 
69
qmqpd.o: ../../include/msg.h
 
70
qmqpd.o: ../../include/mymalloc.h
 
71
qmqpd.o: ../../include/vstring.h
 
72
qmqpd.o: ../../include/vbuf.h
 
73
qmqpd.o: ../../include/vstream.h
 
74
qmqpd.o: ../../include/netstring.h
 
75
qmqpd.o: ../../include/dict.h
 
76
qmqpd.o: ../../include/argv.h
 
77
qmqpd.o: ../../include/mail_params.h
 
78
qmqpd.o: ../../include/record.h
 
79
qmqpd.o: ../../include/rec_type.h
 
80
qmqpd.o: ../../include/mail_proto.h
 
81
qmqpd.o: ../../include/iostuff.h
 
82
qmqpd.o: ../../include/attr.h
 
83
qmqpd.o: ../../include/cleanup_user.h
 
84
qmqpd.o: ../../include/mail_date.h
 
85
qmqpd.o: ../../include/mail_conf.h
 
86
qmqpd.o: ../../include/debug_peer.h
 
87
qmqpd.o: ../../include/mail_stream.h
 
88
qmqpd.o: ../../include/namadr_list.h
 
89
qmqpd.o: ../../include/match_list.h
 
90
qmqpd.o: ../../include/match_ops.h
 
91
qmqpd.o: ../../include/quote_822_local.h
 
92
qmqpd.o: ../../include/quote_flags.h
 
93
qmqpd.o: ../../include/match_parent_style.h
 
94
qmqpd.o: ../../include/lex_822.h
 
95
qmqpd.o: ../../include/verp_sender.h
 
96
qmqpd.o: ../../include/input_transp.h
 
97
qmqpd.o: ../../include/mail_server.h
 
98
qmqpd.o: qmqpd.h
 
99
qmqpd_peer.o: qmqpd_peer.c
 
100
qmqpd_peer.o: ../../include/sys_defs.h
 
101
qmqpd_peer.o: ../../include/msg.h
 
102
qmqpd_peer.o: ../../include/mymalloc.h
 
103
qmqpd_peer.o: ../../include/valid_hostname.h
 
104
qmqpd_peer.o: ../../include/stringops.h
 
105
qmqpd_peer.o: ../../include/vstring.h
 
106
qmqpd_peer.o: ../../include/vbuf.h
 
107
qmqpd_peer.o: qmqpd.h
 
108
qmqpd_peer.o: ../../include/vstream.h
 
109
qmqpd_peer.o: ../../include/mail_stream.h
 
110
qmqpd_state.o: qmqpd_state.c
 
111
qmqpd_state.o: ../../include/sys_defs.h
 
112
qmqpd_state.o: ../../include/mymalloc.h
 
113
qmqpd_state.o: ../../include/vstream.h
 
114
qmqpd_state.o: ../../include/vbuf.h
 
115
qmqpd_state.o: ../../include/vstring.h
 
116
qmqpd_state.o: ../../include/mail_stream.h
 
117
qmqpd_state.o: ../../include/cleanup_user.h
 
118
qmqpd_state.o: ../../include/mail_proto.h
 
119
qmqpd_state.o: ../../include/iostuff.h
 
120
qmqpd_state.o: ../../include/attr.h
 
121
qmqpd_state.o: qmqpd.h