Makefile.in revision 6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346
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 =
OBJS = name.o db.o rbt.o rbtdb.o rdata.o rdatalist.o rdataset.o \
result.o version.o rdataslab.o master.o callbacks.o
SUBDIRS = include
TARGETS = include/dns/enumtype.h include/dns/enumclass.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
rdata.o: code.h
include/dns/enumtype.h: gen
./gen -s ${srcdir} -t > $@
include/dns/enumclass.h: gen
./gen -s ${srcdir} -c > $@
code.h: gen
./gen -s ${srcdir} > code.h
gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ $?