Makefile.in revision bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCINCLUDES = -I${srcdir}/../isc/unix/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../isc/pthreads/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../isc/include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I${srcdir}/include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I${srcdir} \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I./include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I.
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCDEFINES =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob HalleyOBJS = name.o db.o rbt.o rbtdb.o rbtdb64.o rdata.o rdatalist.o \
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob Halley rdataset.o result.o version.o rdataslab.o master.o \
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob Halley callbacks.o compress.o
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
fd350b6d2a0a06d8f46d62993a5f346be667ed22Bob HalleySUBDIRS = include
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark AndrewsTARGETS = include/dns/enumtype.h include/dns/enumclass.h timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyversion.o: version.c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $<
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleylibdns.a: ${OBJS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${AR} cruv $@ ${OBJS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytimestamp: libdns.a
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${RANLIB} libdns.a
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley touch timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstalldirs:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if [ ! -d ${libdir} ]; then \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mkdir ${libdir} ; \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstall:: timestamp installdirs
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${INSTALL_DATA} libdns.a ${libdir}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
4880900113e4d0f17884f3fbdbf4c302e3f9ea91Bob Halleyclean distclean::
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley rm -f libdns.a timestamp
c8a42d6d81ff2fd9ad7fac94d4b85323554493c0Bob Halley rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsrdata.o: code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrewsinclude/dns/enumtype.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -t > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrewsinclude/dns/enumclass.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -c > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewscode.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} > code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsgen: gen.c
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ${CC} ${ALL_CFLAGS} -o $@ $?
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob Halley
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob Halleyrbtdb64.o: rbtdb.c