Makefile.in revision c8a42d6d81ff2fd9ad7fac94d4b85323554493c0
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 \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/include
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCDEFINES =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
1ccbfca64ae86ace521053773001cb995352f96fBob HalleyOBJS = name.o db.o rbt.o rbtdb.o rdata.o rdatalist.o rdataset.o \
ffe74cc719aa0f10c38fbc1f2f3ea7db0960cb8fMark Andrews result.o version.o rdataslab.o master.o
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
1ccbfca64ae86ace521053773001cb995352f96fBob HalleySUBDIRS = includexo
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
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews ./gen -t > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrewsinclude/dns/enumclass.h: gen
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews ./gen -c > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewscode.h: gen
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ./gen > code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsgen: gen.c
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ${CC} ${ALL_CFLAGS} -o $@ $?