Makefile.in revision 94a3bcd132e515b4baa0884ba9dd0f361d2e17bc
# Copyright (C) 1998, 1999 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
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 =
LIBS = @LIBS@
# Alphabetically
SUBDIRS = include
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h timestamp
@BIND9_MAKE_RULES@
${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
./gen -s ${srcdir} -t > $@
./gen -s ${srcdir} -c > $@
./gen -s ${srcdir} -i \
-P rdata/rdatastructpre.h -S rdata/rdatastructsuf.h > $@
code.h: gen
./gen -s ${srcdir} > code.h
gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ $? ${LIBS}