File: Makefile.in

package info (click to toggle)
dnsproxy 1.15-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 732 kB
  • ctags: 599
  • sloc: ansic: 4,947; sh: 299; makefile: 139
file content (57 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $Id: Makefile.in,v 1.14 2005/05/15 17:03:46 armin Exp $

prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
mandir=@mandir@

CC=@CC@
CPPFLAGS=@CPPFLAGS@ -I. @INCEVENT@ @DEFS@ -DVERSION="\"@PACKAGE_VERSION@\""
CFLAGS=@CFLAGS@
###CFLAGS=@CFLAGS@ $(CPPFLAGS)
INSTALL=@INSTALL@
LDFLAGS=@LDFLAGS@
LIBEVENT=@LIBEVENT@
LIBS=@LIBS@
MAN=@MAN@
NROFF=@NROFF@
OBJS=dnsproxy.o daemon.o hash.o internal.o log.o parse.o stats.o
@SET_MAKE@

all: dnsproxy dnsproxy.cat1

install: all
	$(INSTALL) -s -m 555 dnsproxy $(sbindir)
	$(INSTALL) -m 444 dnsproxy.cat1 $(mandir)/cat1/dnsproxy.0

dnsproxy: $(OBJS) $(LIBEVENT)
	$(CC) $(LDFLAGS) -o dnsproxy $(OBJS) $(LIBEVENT) $(LIBS)

libevent/libevent.a:
	(cd libevent ; $(MAKE))

dnsproxy.cat1: dnsproxy.1
	$(NROFF) -$(MAN) dnsproxy.1 > dnsproxy.cat1

clean:
	-rm -f dnsproxy $(OBJS) dnsproxy.cat1 dnsproxy.core
	-(cd libevent ; $(MAKE) clean)

distclean: clean
	-rm -f Makefile config.log config.status config.h
	-(cd libevent ; $(MAKE) distclean)

cvsclean: clean
	-rm -f Makefile config.log config.status config.h
	-rm -f configure config.h.in config.h.in~
	-rm -f README dnsproxy.1
	-rm -rf autom4te.cache
	-(cd libevent ; $(MAKE) cvsclean)

DISTDIR=@PACKAGE_TARNAME@-@PACKAGE_VERSION@
dist:
	-rm -f $(DISTDIR).tar $(DISTDIR).tar.gz
	-tar -I MANIFEST -s '/^/$(DISTDIR)\//' -cvf $(DISTDIR).tar
	-gzip -9 $(DISTDIR).tar