Makefile.in 1.62 KB
Newer Older
Bob Halley's avatar
Bob Halley committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Copyright (C) 1998, 1999  Internet Software Consortium.
# 
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
# 
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
15 16 17 18 19

srcdir =	@srcdir@
VPATH =		@srcdir@
top_srcdir =	@top_srcdir@

Bob Halley's avatar
update  
Bob Halley committed
20 21
@BIND9_VERSION@

22 23 24
@BIND9_INCLUDES@

CINCLUDES =	-I${srcdir}/include ${DNS_INCLUDES} ${ISC_INCLUDES} 
25

26
CDEFINES =	
27 28
CWARNINGS =

Bob Halley's avatar
Bob Halley committed
29 30
DEPLIBS =	../../lib/dns/libdns.@A@ \
		../../lib/isc/libisc.@A@
31

32
LIBS =		${DEPLIBS} \
33
		@LIBS@
34 35 36

TARGETS =	named

37 38
OBJS =		client.@O@ interfacemgr.@O@ main.@O@ query.@O@ rootns.@O@ \
		server.@O@ update.@O@ xfrin.@O@ xfrout.@O@
39

40
SRCS =		client.c interfacemgr.c main.c query.c rootns.c server.c \
41
		update.c xfrin.c xfrout.c
Bob Halley's avatar
Bob Halley committed
42

43 44
@BIND9_MAKE_RULES@

45
main.@O@: main.c
46
	${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $?
Bob Halley's avatar
update  
Bob Halley committed
47

48 49
printmsg.@O@: ${srcdir}/../tests/printmsg.c
	${CC} -c -o printmsg.@O@ ${ALL_CFLAGS} -I${srcdir}/../tests \
50
		${srcdir}/../tests/printmsg.c
51 52

named: ${OBJS} ${DEPLIBS}
Bob Halley's avatar
Bob Halley committed
53
	${LIBTOOL} ${CC} -o $@ ${OBJS} ${LIBS}
54 55

clean distclean::
56
	rm -f ${TARGETS}