~ubuntu-branches/ubuntu/trusty/postfix/trusty-proposed

« back to all changes in this revision

Viewing changes to src/postcat/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-02-27 09:33:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050227093307-cn789t27ibnlh6tf
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHELL   = /bin/sh
 
2
SRCS    = postcat.c
 
3
OBJS    = postcat.o
 
4
HDRS    = 
 
5
TESTSRC = 
 
6
DEFS    = -I. -I$(INC_DIR) -D$(SYSTYPE)
 
7
CFLAGS  = $(DEBUG) $(OPT) $(DEFS)
 
8
TESTPROG= 
 
9
PROG    = postcat
 
10
INC_DIR = ../../include
 
11
LIBS    = ../../lib/libglobal.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: ../../bin/$(PROG)
 
26
 
 
27
../../bin/$(PROG): $(PROG)
 
28
        cp $(PROG) ../../bin
 
29
 
 
30
printfck: $(OBJS) $(PROG)
 
31
        rm -rf printfck
 
32
        mkdir printfck
 
33
        sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
 
34
        set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
 
35
        cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
 
36
 
 
37
lint:
 
38
        lint $(DEFS) $(SRCS) $(LINTFIX)
 
39
 
 
40
clean:
 
41
        rm -f *.o *core $(PROG) $(TESTPROG) junk 
 
42
        rm -rf printfck
 
43
 
 
44
tidy:   clean
 
45
 
 
46
depend: $(MAKES)
 
47
        (sed '1,/^# do not edit/!d' Makefile.in; \
 
48
        set -e; for i in [a-z][a-z0-9]*.c; do \
 
49
            $(CC) -E $(DEFS) $(INCL) $$i | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
 
50
            -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' -e 'p' -e '}'; \
 
51
        done) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
 
52
        @$(EXPORT) make -f Makefile.in Makefile 1>&2
 
53
 
 
54
# do not edit below this line - it is generated by 'make depend'
 
55
postcat.o: postcat.c
 
56
postcat.o: ../../include/sys_defs.h
 
57
postcat.o: ../../include/msg.h
 
58
postcat.o: ../../include/vstream.h
 
59
postcat.o: ../../include/vbuf.h
 
60
postcat.o: ../../include/vstring.h
 
61
postcat.o: ../../include/msg_vstream.h
 
62
postcat.o: ../../include/vstring_vstream.h
 
63
postcat.o: ../../include/record.h
 
64
postcat.o: ../../include/rec_type.h
 
65
postcat.o: ../../include/mail_queue.h
 
66
postcat.o: ../../include/mail_conf.h
 
67
postcat.o: ../../include/mail_params.h