Makefile.in revision d7eef25fbeccafffef76596fcfcf09809235cafc
4c1132f34493327abc632196f5876a89aa573687Bob Halley# Copyright (C) 1998, 1999 Internet Software Consortium.
4c1132f34493327abc632196f5876a89aa573687Bob Halley# Permission to use, copy, modify, and distribute this software for any
4c1132f34493327abc632196f5876a89aa573687Bob Halley# purpose with or without fee is hereby granted, provided that the above
4c1132f34493327abc632196f5876a89aa573687Bob Halley# copyright notice and this permission notice appear in all copies.
4c1132f34493327abc632196f5876a89aa573687Bob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
4c1132f34493327abc632196f5876a89aa573687Bob Halley# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
4c1132f34493327abc632196f5876a89aa573687Bob Halley# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
4c1132f34493327abc632196f5876a89aa573687Bob Halley# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
4c1132f34493327abc632196f5876a89aa573687Bob Halley# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
4c1132f34493327abc632196f5876a89aa573687Bob Halley# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
4c1132f34493327abc632196f5876a89aa573687Bob Halley# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCINCLUDES = -I${srcdir}/../isc/unix/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../isc/include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I${srcdir}/include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I${srcdir} \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I./include \
a301df6a92982f70c685f9bc5a5a258a657f5046Bob HalleyOBJS = name.o db.o dbiterator.o rbt.o rbtdb.o rbtdb64.o \
fd350b6d2a0a06d8f46d62993a5f346be667ed22Bob HalleySUBDIRS = include
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark AndrewsTARGETS = include/dns/enumtype.h include/dns/enumclass.h timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c $<
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${AR} cruv $@ ${OBJS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley touch timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if [ ! -d ${libdir} ]; then \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mkdir ${libdir} ; \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstall:: timestamp installdirs
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ${INSTALL_DATA} libdns.a ${libdir}
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
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -t > $@
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -c > $@
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} > code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ${CC} ${ALL_CFLAGS} -o $@ $?