Makefile.in revision 4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746
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 \
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# Alphabetically
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceOBJS = callbacks.o compress.o db.o dbiterator.o dbtable.o \
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael Graff master.o message.o name.o rbt.o rbtdb.o rbtdb64.o \
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence rdata.o rdatalist.o rdataset.o rdatasetiter.o rdataslab.o \
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark AndrewsOSRC = callbacks.c compress.c db.c dbiterator.c dbtable.c \
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews rdata.c rdatalist.c rdataset.c rdatasetiter.c rdataslab.c \
fd350b6d2a0a06d8f46d62993a5f346be667ed22Bob HalleySUBDIRS = include
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark AndrewsTARGETS = include/dns/enumtype.h include/dns/enumclass.h \
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 > $@
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews ./gen -s ${srcdir} -i > $@
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} > code.h
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael Graff ${CC} ${ALL_CFLAGS} -o $@ $? ${LIBS}