Makefile.in revision 94a3bcd132e515b4baa0884ba9dd0f361d2e17bc
# 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.
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@BIND9_VERSION@
CINCLUDES = -I${srcdir}/../isc/unix/include \
-I${srcdir}/../isc/pthreads/include \
-I${srcdir}/../isc/include \
-I${srcdir}/include \
-I${srcdir} \
-I./include \
-I.
CDEFINES =
CWARNINGS =
LIBS = @LIBS@
# Alphabetically
OBJS = callbacks.o compress.o db.o dbiterator.o dbtable.o \
master.o message.o name.o rbt.o rbtdb.o rbtdb64.o \
rdata.o rdatalist.o rdataset.o rdatasetiter.o rdataslab.o \
result.o version.o
OSRC = callbacks.c compress.c db.c dbiterator.c dbtable.c \
master.c name.c rbt.c rbtdb.c rbtdb64.c \
rdata.c rdatalist.c rdataset.c rdatasetiter.c rdataslab.c \
result.c version.c
SUBDIRS = include
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h timestamp
@BIND9_MAKE_RULES@
version.o: version.c
${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $<
libdns.a: ${OBJS}
${AR} cruv $@ ${OBJS}
timestamp: libdns.a
${RANLIB} libdns.a
touch timestamp
installdirs:
if [ ! -d ${libdir} ]; then \
mkdir ${libdir} ; \
fi
install:: timestamp installdirs
${INSTALL_DATA} libdns.a ${libdir}
clean distclean::
rm -f libdns.a timestamp
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
rm -f include/dns/rdatastruct.h
rdata.o: code.h
include/dns/enumtype.h: gen
./gen -s ${srcdir} -t > $@
include/dns/enumclass.h: gen
./gen -s ${srcdir} -c > $@
include/dns/rdatastruct.h: gen rdata/rdatastructpre.h rdata/rdatastructsuf.h
./gen -s ${srcdir} -i \
-P rdata/rdatastructpre.h -S rdata/rdatastructsuf.h > $@
code.h: gen
./gen -s ${srcdir} > code.h
gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ $? ${LIBS}
rbtdb64.o: rbtdb.c