~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to src/dnsblog/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2011-02-22 11:20:43 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222112043-c34ht219w3ybrilr
Tags: 2.8.0-2
* a little more lintian cleanup
* Fix missing format strings in smtp-sink.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHELL   = /bin/sh
 
2
SRCS    = dnsblog.c
 
3
OBJS    = dnsblog.o
 
4
HDRS    = 
 
5
TESTSRC =
 
6
DEFS    = -I. -I$(INC_DIR) -D$(SYSTYPE)
 
7
CFLAGS  = $(DEBUG) $(OPT) $(DEFS)
 
8
TESTPROG= 
 
9
PROG    = dnsblog
 
10
INC_DIR = ../../include
 
11
LIBS    = ../../lib/libdns.a ../../lib/libmaster.a ../../lib/libglobal.a \
 
12
        ../../lib/libutil.a
 
13
 
 
14
.c.o:;  $(CC) $(CFLAGS) -c $*.c
 
15
 
 
16
$(PROG): $(OBJS) $(LIBS)
 
17
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
18
 
 
19
$(OBJS): ../../conf/makedefs.out
 
20
 
 
21
Makefile: Makefile.in
 
22
        cat ../../conf/makedefs.out $? >$@
 
23
 
 
24
test:   $(TESTPROG)
 
25
 
 
26
tests:  test
 
27
 
 
28
root_tests:
 
29
 
 
30
update: ../../libexec/$(PROG)
 
31
 
 
32
../../libexec/$(PROG): $(PROG)
 
33
        cp $(PROG) ../../libexec
 
34
 
 
35
printfck: $(OBJS) $(PROG)
 
36
        rm -rf printfck
 
37
        mkdir printfck
 
38
        sed '1,/^# do not edit/!d' Makefile >printfck/Makefile
 
39
        set -e; for i in *.c; do printfck -f .printfck $$i >printfck/$$i; done
 
40
        cd printfck; make "INC_DIR=../../../include" `cd ..; ls *.o`
 
41
 
 
42
lint:
 
43
        lint $(DEFS) $(SRCS) $(LINTFIX)
 
44
 
 
45
clean:
 
46
        rm -f *.o *core $(PROG) $(TESTPROG) junk 
 
47
        rm -rf printfck
 
48
 
 
49
tidy:   clean
 
50
 
 
51
depend: $(MAKES)
 
52
        (sed '1,/^# do not edit/!d' Makefile.in; \
 
53
        set -e; for i in [a-z][a-z0-9]*.c; do \
 
54
            $(CC) -E $(DEFS) $(INCL) $$i | grep -v '[<>]' | sed -n -e '/^# *1 *"\([^"]*\)".*/{' \
 
55
            -e 's//'`echo $$i|sed 's/c$$/o/'`': \1/' \
 
56
            -e 's/o: \.\//o: /' -e p -e '}' ; \
 
57
        done | sort -u) | grep -v '[.][o][:][ ][/]' >$$$$ && mv $$$$ Makefile.in
 
58
        @$(EXPORT) make -f Makefile.in Makefile 1>&2
 
59
 
 
60
# do not edit below this line - it is generated by 'make depend'
 
61
dnsblog.o: ../../include/argv.h
 
62
dnsblog.o: ../../include/attr.h
 
63
dnsblog.o: ../../include/dns.h
 
64
dnsblog.o: ../../include/iostuff.h
 
65
dnsblog.o: ../../include/mail_conf.h
 
66
dnsblog.o: ../../include/mail_params.h
 
67
dnsblog.o: ../../include/mail_proto.h
 
68
dnsblog.o: ../../include/mail_server.h
 
69
dnsblog.o: ../../include/mail_version.h
 
70
dnsblog.o: ../../include/msg.h
 
71
dnsblog.o: ../../include/myaddrinfo.h
 
72
dnsblog.o: ../../include/sock_addr.h
 
73
dnsblog.o: ../../include/sys_defs.h
 
74
dnsblog.o: ../../include/valid_hostname.h
 
75
dnsblog.o: ../../include/vbuf.h
 
76
dnsblog.o: ../../include/vstream.h
 
77
dnsblog.o: ../../include/vstring.h
 
78
dnsblog.o: dnsblog.c