#
# dnsutl - utilities to make DNS easier to configure
# Copyright (C) 1991-1993, 1995, 1999, 2000, 2007 Peter Miller
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
# .
#
#
# directory containing the source
#
srcdir = .
#
# the name of the install program to use
#
INSTALL = /usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM = install -s -o root -g wheel -m 555
INSTALL_DATA = install -o root -g wheel -m 444
#
# the name of the compiler to use
#
CC = cc
#
# The compiler flags to use
#
CFLAGS = -fno-common
#
# The linker flags to use
#
LDFLAGS =
#
# prefix for installation path
#
prefix =
exec_prefix =
#
# where to put the library directory
# (contains data, don't use exec_prefix)
#
libdir = $(RPM_BUILD_ROOT)/lib/dnsutl
datadir = $(RPM_BUILD_ROOT)${prefix}/share/dnsutl
#
# where to put the executables
#
bindir = $(RPM_BUILD_ROOT)/bin
#
# where to put the manuals
#
mandir = $(RPM_BUILD_ROOT)${prefix}/share/man
#
# Which yacc to use
#
YACC = bison -y
#
# extra libraries required for your system
#
LIBS =
#
# shell to use to run tests and commands
#
SH = /bin/sh
#
# command used to construct libraries
#
AR = ar
#
# program used to place index within libraries
#
RANLIB = ranlib
#
# Mess with the names of installed executables.
#
# The prefix is added to the front, the suffix is added to the back.
# Both are usually empty. (The suffix does not include the executable
# file extension.)
#
PROGRAM_PREFIX =
PROGRAM_SUFFIX =
#
# This is the file extension of executable files.
# It is empty for UNIX, and .EXE for the unmentionable one.
#
EXEEXT =
#
# This is the file extension of object files.
# It is .o for UNIX, and .O or .OBJ for the unmentionable one.
#
OBJEXT =
#
# This is the file extension of library files. NO DOT.
#
LIBEXT = a
#
# What program to use to resolve *roff includes. GNU Groff version 1.15
# and later understand the -I option, which is essential.
#
SOELIM = roffpp
#
# You should not need to alter anything below this point.
#------------------------------------------------------------
default_target: all
common/ac/string.$(OBJEXT): common/ac/string.c common/ac/stddef.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/ac/string.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/ac/string.c
mv string.$(OBJEXT) $@
common/arglex.$(OBJEXT): common/arglex.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/stddef.h common/ac/stdlib.h \
common/ac/string.h common/arglex.h common/main.h \
common/error.h common/mem.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/arglex.c
mv arglex.$(OBJEXT) $@
common/error.$(OBJEXT): common/error.c common/ac/ctype.h \
common/config.h common/config.messy.h common/ac/errno.h \
common/ac/stdarg.h common/ac/stddef.h common/ac/stdio.h \
common/ac/stdlib.h common/ac/string.h common/error.h \
common/main.h common/arglex.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/error.c
mv error.$(OBJEXT) $@
common/help.$(OBJEXT): common/help.c common/ac/unistd.h common/config.h \
common/config.messy.h common/arglex.h common/main.h \
common/error.h common/help.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/help.c
mv help.$(OBJEXT) $@
common/mac.$(OBJEXT): common/mac.c common/ac/ctype.h common/config.h \
common/config.messy.h common/ac/string.h common/mac.h \
common/main.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/mac.c
mv mac.$(OBJEXT) $@
common/map.$(OBJEXT): common/map.c common/ac/ctype.h common/config.h \
common/config.messy.h common/ac/stdarg.h \
common/ac/stdio.h common/map.h common/main.h \
common/error.h common/mem.h common/ac/stddef.h \
common/mprintf.h common/strlist.h common/str.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/map.c
mv map.$(OBJEXT) $@
common/map_ether.$(OBJEXT): common/map_ether.c common/mac.h \
common/main.h common/map.h common/map_ether.h \
common/str.h common/ac/stddef.h common/config.h \
common/config.messy.h common/ac/stdarg.h common/mem.h \
common/strlist.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/map_ether.c
mv map_ether.$(OBJEXT) $@
common/map_hosts.$(OBJEXT): common/map_hosts.c common/map_hosts.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/config.h common/config.messy.h \
common/ac/stdarg.h common/main.h common/map.h \
common/mem.h common/srrf/address.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/map_hosts.c
mv map_hosts.$(OBJEXT) $@
common/mem.$(OBJEXT): common/mem.c common/ac/errno.h common/config.h \
common/config.messy.h common/ac/stddef.h \
common/ac/stdlib.h common/ac/string.h common/error.h \
common/main.h common/mem.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/mem.c
mv mem.$(OBJEXT) $@
common/mprintf.$(OBJEXT): common/mprintf.c common/ac/errno.h \
common/config.h common/config.messy.h common/ac/stdio.h \
common/ac/stdlib.h common/ac/string.h common/error.h \
common/main.h common/mprintf.h common/ac/stdarg.h \
common/str.h common/ac/stddef.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/mprintf.c
mv mprintf.$(OBJEXT) $@
common/output.$(OBJEXT): common/output.c common/ac/stdarg.h \
common/config.h common/config.messy.h common/ac/stdio.h \
common/error.h common/main.h common/output.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/output.c
mv output.$(OBJEXT) $@
common/regu_expr.$(OBJEXT): common/regu_expr.c common/ac/stddef.h \
common/config.h common/config.messy.h \
common/ac/rxposix.h common/error.h common/main.h \
common/regu_expr.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/regu_expr.c
mv regu_expr.$(OBJEXT) $@
common/srrf.$(OBJEXT): common/srrf.c common/ac/ctype.h common/config.h \
common/config.messy.h common/ac/errno.h \
common/ac/stdarg.h common/ac/stdio.h common/ac/stdlib.h \
common/ac/string.h common/ac/time.h common/ac/unistd.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/main.h common/srrf/private.h \
common/srrf/origin.h common/mem.h common/error.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf.c
mv srrf.$(OBJEXT) $@
common/srrf/address.$(OBJEXT): common/srrf/address.c common/ac/ctype.h \
common/config.h common/config.messy.h common/error.h \
common/main.h common/srrf/address.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/address.c
mv address.$(OBJEXT) $@
common/srrf/alloc.$(OBJEXT): common/srrf/alloc.c common/error.h \
common/main.h common/mem.h common/ac/stddef.h \
common/config.h common/config.messy.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/alloc.c
mv alloc.$(OBJEXT) $@
common/srrf/aux.$(OBJEXT): common/srrf/aux.c common/srrf.h \
common/ac/stdio.h common/config.h common/config.messy.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/aux.c
mv aux.$(OBJEXT) $@
common/srrf/bootp.$(OBJEXT): common/srrf/bootp.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/error.h common/main.h \
common/output.h common/srrf.h common/ac/stdio.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/srrf/address.h \
common/srrf/bootp.h common/srrf/origin.h \
common/srrf/private.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/bootp.c
mv bootp.$(OBJEXT) $@
common/srrf/bootparams.$(OBJEXT): common/srrf/bootparams.c \
common/ac/ctype.h common/config.h common/config.messy.h \
common/ac/string.h common/error.h common/main.h \
common/mem.h common/ac/stddef.h common/output.h \
common/srrf.h common/ac/stdio.h common/strlist.h \
common/str.h common/ac/stdarg.h \
common/srrf/bootparams.h common/srrf/origin.h \
common/srrf/private.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c \
common/srrf/bootparams.c
mv bootparams.$(OBJEXT) $@
common/srrf/cbn.$(OBJEXT): common/srrf/cbn.c common/ac/string.h \
common/config.h common/config.messy.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/cbn.c
mv cbn.$(OBJEXT) $@
common/srrf/dfn.$(OBJEXT): common/srrf/dfn.c common/srrf.h \
common/ac/stdio.h common/config.h common/config.messy.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/main.h common/srrf/private.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/dfn.c
mv dfn.$(OBJEXT) $@
common/srrf/dhcp.$(OBJEXT): common/srrf/dhcp.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/error.h common/main.h \
common/output.h common/srrf.h common/ac/stdio.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/srrf/address.h \
common/srrf/dhcp.h common/srrf/origin.h \
common/srrf/private.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/dhcp.c
mv dhcp.$(OBJEXT) $@
common/srrf/dup.$(OBJEXT): common/srrf/dup.c common/error.h \
common/main.h common/srrf.h common/ac/stdio.h \
common/config.h common/config.messy.h common/strlist.h \
common/str.h common/ac/stddef.h common/ac/stdarg.h \
common/srrf/address.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/dup.c
mv dup.$(OBJEXT) $@
common/srrf/ether.$(OBJEXT): common/srrf/ether.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/mac.h common/main.h \
common/mem.h common/ac/stddef.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stdarg.h common/srrf/private.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/ether.c
mv ether.$(OBJEXT) $@
common/srrf/in.$(OBJEXT): common/srrf/in.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/ac/string.h common/ac/time.h \
common/error.h common/main.h common/mem.h \
common/ac/stddef.h common/regu_expr.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stdarg.h common/srrf/address.h \
common/srrf/private.h common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/in.c
mv in.$(OBJEXT) $@
common/srrf/list.$(OBJEXT): common/srrf/list.c common/mem.h \
common/ac/stddef.h common/config.h \
common/config.messy.h common/main.h common/srrf/list.h \
common/srrf.h common/ac/stdio.h common/strlist.h \
common/str.h common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/list.c
mv list.$(OBJEXT) $@
common/srrf/origin.$(OBJEXT): common/srrf/origin.c common/ac/string.h \
common/config.h common/config.messy.h \
common/srrf/origin.h common/ac/stdio.h common/main.h \
common/srrf/private.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/origin.c
mv origin.$(OBJEXT) $@
common/srrf/print.$(OBJEXT): common/srrf/print.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/error.h common/main.h \
common/mem.h common/ac/stddef.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stdarg.h common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/print.c
mv print.$(OBJEXT) $@
common/srrf/private.$(OBJEXT): common/srrf/private.c common/ac/string.h \
common/config.h common/config.messy.h \
common/srrf/private.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/private.c
mv private.$(OBJEXT) $@
common/srrf/reader.$(OBJEXT): common/srrf/reader.c common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/ac/stdio.h \
common/config.h common/config.messy.h common/strlist.h \
common/str.h common/ac/stddef.h common/ac/stdarg.h \
common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/reader.c
mv reader.$(OBJEXT) $@
common/srrf/tbn.$(OBJEXT): common/srrf/tbn.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/srrf.h common/ac/stdio.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/srrf/tbn.c
mv tbn.$(OBJEXT) $@
common/str.$(OBJEXT): common/str.c common/ac/ctype.h common/config.h \
common/config.messy.h common/ac/stddef.h \
common/ac/stdio.h common/ac/stdlib.h common/ac/string.h \
common/error.h common/main.h common/mem.h \
common/mprintf.h common/ac/stdarg.h common/str.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/str.c
mv str.$(OBJEXT) $@
common/strlist.$(OBJEXT): common/strlist.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/stddef.h common/ac/stdlib.h \
common/ac/string.h common/ac/time.h common/error.h \
common/main.h common/mem.h common/strlist.h \
common/str.h common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/strlist.c
mv strlist.$(OBJEXT) $@
common/symtab.$(OBJEXT): common/symtab.c common/error.h common/main.h \
common/mem.h common/ac/stddef.h common/config.h \
common/config.messy.h common/strlist.h common/str.h \
common/ac/stdarg.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/symtab.c
mv symtab.$(OBJEXT) $@
common/version-stmp.$(OBJEXT): common/version-stmp.c \
common/patchlevel.h common/version-stmp.h common/main.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/version-stmp.c
mv version-stmp.$(OBJEXT) $@
common/version.$(OBJEXT): common/version.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/ac/string.h common/arglex.h \
common/main.h common/error.h common/help.h \
common/version.h common/version-stmp.h common/mem.h \
common/ac/stddef.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Icommon -Icommon -c common/version.c
mv version.$(OBJEXT) $@
dns-boot-check/check.$(OBJEXT): dns-boot-check/check.c \
common/ac/ctype.h common/config.h common/config.messy.h \
common/ac/string.h dns-boot-check/check.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/main.h \
common/error.h dns-boot-check/gram.h \
dns-boot-check/lex.h common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/ac/stdio.h \
common/strlist.h common/srrf/origin.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-boot-check -Icommon -c \
dns-boot-check/check.c
mv check.$(OBJEXT) $@
dns-boot-check/gram.gen.c dns-boot-check/gram.gen.h: \
dns-boot-check/gram.y
@echo Expect no conflicts:
$(YACC) -d dns-boot-check/gram.y
sed -e 's/[yY][yY]/gram_/g' -e '/#include./d' -e \
'/#include./d' -e '/#include./d' \
y.tab.c > dns-boot-check/gram.gen.c
sed -e 's/[yY][yY]/gram_/g' y.tab.h > dns-boot-check/gram.gen.h
rm y.tab.c y.tab.h
dns-boot-check/gram.gen.$(OBJEXT): dns-boot-check/gram.gen.c \
common/ac/stddef.h common/config.h \
common/config.messy.h common/ac/stdio.h \
common/ac/stdlib.h dns-boot-check/check.h common/str.h \
common/ac/stdarg.h common/main.h dns-boot-check/gram.h \
dns-boot-check/lex.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-boot-check -Icommon -c \
dns-boot-check/gram.gen.c
mv gram.gen.$(OBJEXT) $@
dns-boot-check/lex.$(OBJEXT): dns-boot-check/lex.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/stdarg.h common/ac/stdio.h common/ac/string.h \
common/error.h common/main.h dns-boot-check/lex.h \
common/mem.h common/ac/stddef.h common/mprintf.h \
common/str.h dns-boot-check/gram.gen.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-boot-check -Icommon -c \
dns-boot-check/lex.c
mv lex.$(OBJEXT) $@
dns-boot-check/main.$(OBJEXT): dns-boot-check/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
dns-boot-check/check.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/error.h common/help.h \
common/srrf.h common/strlist.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-boot-check -Icommon -c \
dns-boot-check/main.c
mv main.$(OBJEXT) $@
dns-bootp/filter.$(OBJEXT): dns-bootp/filter.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/ac/stdlib.h common/arglex.h \
common/main.h common/error.h dns-bootp/filter.h \
common/mem.h common/ac/stddef.h common/output.h \
common/srrf/reader.h common/srrf/list.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/str.h \
common/ac/stdarg.h common/srrf/bootp.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-bootp -Icommon -c dns-bootp/filter.c
mv filter.$(OBJEXT) $@
dns-bootp/main.$(OBJEXT): dns-bootp/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-bootp/filter.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-bootp -Icommon -c dns-bootp/main.c
mv main.$(OBJEXT) $@
dns-bootparams/filter.$(OBJEXT): dns-bootparams/filter.c \
common/ac/ctype.h common/config.h common/config.messy.h \
common/ac/stdio.h common/ac/string.h common/arglex.h \
common/main.h common/error.h dns-bootparams/filter.h \
common/mem.h common/ac/stddef.h common/output.h \
common/srrf/reader.h common/srrf/list.h common/srrf.h \
common/strlist.h common/str.h common/ac/stdarg.h \
common/srrf/bootparams.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-bootparams -Icommon -c \
dns-bootparams/filter.c
mv filter.$(OBJEXT) $@
dns-bootparams/main.$(OBJEXT): dns-bootparams/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-bootparams/filter.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-bootparams -Icommon -c \
dns-bootparams/main.c
mv main.$(OBJEXT) $@
dns-conf-check/check.$(OBJEXT): dns-conf-check/check.c \
common/ac/ctype.h common/config.h common/config.messy.h \
common/ac/string.h dns-conf-check/check.h \
common/error.h common/main.h dns-conf-check/grammar.h \
dns-conf-check/conf.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h dns-conf-check/lex.h \
common/srrf/reader.h common/srrf/list.h common/srrf.h \
common/ac/stdio.h common/strlist.h common/srrf/origin.h \
common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-conf-check -Icommon -c \
dns-conf-check/check.c
mv check.$(OBJEXT) $@
dns-conf-check/conf.$(OBJEXT): dns-conf-check/conf.c common/ac/stdio.h \
common/config.h common/config.messy.h \
dns-conf-check/conf.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/main.h common/error.h \
dns-conf-check/lex.h common/mem.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-conf-check -Icommon -c \
dns-conf-check/conf.c
mv conf.$(OBJEXT) $@
dns-conf-check/grammar.gen.c dns-conf-check/grammar.gen.h: \
dns-conf-check/grammar.y
@echo Expect no conflicts:
$(YACC) -d dns-conf-check/grammar.y
sed -e 's/[yY][yY]/grammar_/g' -e '/#include./d' -e \
'/#include./d' -e '/#include./d' \
y.tab.c > dns-conf-check/grammar.gen.c
sed -e 's/[yY][yY]/grammar_/g' y.tab.h > dns-conf-check/grammar.gen.h
rm y.tab.c y.tab.h
dns-conf-check/grammar.gen.$(OBJEXT): dns-conf-check/grammar.gen.c \
dns-conf-check/conf.h common/str.h common/ac/stddef.h \
common/config.h common/config.messy.h \
common/ac/stdarg.h common/main.h \
dns-conf-check/grammar.h dns-conf-check/lex.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-conf-check -Icommon -c \
dns-conf-check/grammar.gen.c
mv grammar.gen.$(OBJEXT) $@
dns-conf-check/lex.$(OBJEXT): dns-conf-check/lex.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/stdarg.h common/ac/stdio.h common/ac/string.h \
common/error.h common/main.h dns-conf-check/lex.h \
common/str.h common/ac/stddef.h common/mem.h \
common/mprintf.h dns-conf-check/grammar.gen.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-conf-check -Icommon -c \
dns-conf-check/lex.c
mv lex.$(OBJEXT) $@
dns-conf-check/main.$(OBJEXT): dns-conf-check/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
dns-conf-check/check.h common/error.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-conf-check -Icommon -c \
dns-conf-check/main.c
mv main.$(OBJEXT) $@
dns-dhcp/filter.$(OBJEXT): dns-dhcp/filter.c common/ac/ctype.h \
common/config.h common/config.messy.h \
common/ac/string.h common/ac/stdlib.h common/arglex.h \
common/main.h common/error.h dns-dhcp/filter.h \
common/mem.h common/ac/stddef.h common/output.h \
common/srrf/dhcp.h common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/ac/stdio.h \
common/strlist.h common/str.h common/ac/stdarg.h \
common/srrf/origin.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-dhcp -Icommon -c dns-dhcp/filter.c
mv filter.$(OBJEXT) $@
dns-dhcp/main.$(OBJEXT): dns-dhcp/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-dhcp/filter.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-dhcp -Icommon -c dns-dhcp/main.c
mv main.$(OBJEXT) $@
dns-ethers-import/ethers.$(OBJEXT): dns-ethers-import/ethers.c \
common/ac/stdio.h common/config.h common/config.messy.h \
common/ac/string.h common/ac/unistd.h common/error.h \
common/main.h dns-ethers-import/ethers.h \
common/map_ether.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/srrf.h common/strlist.h \
common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ethers-import -Icommon -c \
dns-ethers-import/ethers.c
mv ethers.$(OBJEXT) $@
dns-ethers-import/main.$(OBJEXT): dns-ethers-import/main.c \
common/ac/stdio.h common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-ethers-import/ethers.h common/help.h \
common/map_ether.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/srrf.h common/strlist.h \
common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ethers-import -Icommon -c \
dns-ethers-import/main.c
mv main.$(OBJEXT) $@
dns-ethers/ethers.$(OBJEXT): dns-ethers/ethers.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/string.h common/arglex.h common/main.h \
common/error.h dns-ethers/ethers.h common/mem.h \
common/ac/stddef.h common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/strlist.h \
common/str.h common/ac/stdarg.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ethers -Icommon -c \
dns-ethers/ethers.c
mv ethers.$(OBJEXT) $@
dns-ethers/main.$(OBJEXT): dns-ethers/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-ethers/ethers.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ethers -Icommon -c dns-ethers/main.c
mv main.$(OBJEXT) $@
dns-filter/filter.$(OBJEXT): dns-filter/filter.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/string.h common/error.h common/main.h \
dns-filter/filter.h common/mem.h common/ac/stddef.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stdarg.h common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-filter -Icommon -c \
dns-filter/filter.c
mv filter.$(OBJEXT) $@
dns-filter/main.$(OBJEXT): dns-filter/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-filter/filter.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-filter -Icommon -c dns-filter/main.c
mv main.$(OBJEXT) $@
dns-hosts-import/hosts.$(OBJEXT): dns-hosts-import/hosts.c \
common/ac/stdio.h common/config.h common/config.messy.h \
common/ac/string.h common/ac/unistd.h common/error.h \
common/main.h dns-hosts-import/hosts.h \
common/map_hosts.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/srrf.h \
common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-hosts-import -Icommon -c \
dns-hosts-import/hosts.c
mv hosts.$(OBJEXT) $@
dns-hosts-import/main.$(OBJEXT): dns-hosts-import/main.c \
common/ac/stdio.h common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h dns-hosts-import/hosts.h common/help.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-hosts-import -Icommon -c \
dns-hosts-import/main.c
mv main.$(OBJEXT) $@
dns-hosts/hosts.$(OBJEXT): dns-hosts/hosts.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/string.h common/arglex.h common/main.h \
common/error.h dns-hosts/hosts.h common/mem.h \
common/ac/stddef.h common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/strlist.h \
common/str.h common/ac/stdarg.h common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-hosts -Icommon -c dns-hosts/hosts.c
mv hosts.$(OBJEXT) $@
dns-hosts/main.$(OBJEXT): dns-hosts/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h common/help.h dns-hosts/hosts.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-hosts -Icommon -c dns-hosts/main.c
mv main.$(OBJEXT) $@
dns-ng/main.$(OBJEXT): dns-ng/main.c common/ac/stdio.h common/config.h \
common/config.messy.h common/ac/stdlib.h \
common/arglex.h common/main.h common/error.h \
common/help.h dns-ng/netgroup.h common/srrf.h \
common/strlist.h common/str.h common/ac/stddef.h \
common/ac/stdarg.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ng -Icommon -c dns-ng/main.c
mv main.$(OBJEXT) $@
dns-ng/netgroup.$(OBJEXT): dns-ng/netgroup.c common/ac/ctype.h \
common/config.h common/config.messy.h common/ac/stdio.h \
common/ac/string.h common/arglex.h common/main.h \
common/error.h common/mem.h common/ac/stddef.h \
dns-ng/netgroup.h common/regu_expr.h \
common/srrf/reader.h common/srrf/list.h common/srrf.h \
common/strlist.h common/str.h common/ac/stdarg.h \
common/symtab.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-ng -Icommon -c dns-ng/netgroup.c
mv netgroup.$(OBJEXT) $@
dns-rev/main.$(OBJEXT): dns-rev/main.c common/ac/stdio.h \
common/config.h common/config.messy.h \
common/ac/stdlib.h common/arglex.h common/main.h \
common/error.h common/help.h dns-rev/reverse.h \
common/srrf.h common/strlist.h common/str.h \
common/ac/stddef.h common/ac/stdarg.h \
common/srrf/address.h common/version.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-rev -Icommon -c dns-rev/main.c
mv main.$(OBJEXT) $@
dns-rev/reverse.$(OBJEXT): dns-rev/reverse.c common/ac/stdio.h \
common/config.h common/config.messy.h common/arglex.h \
common/main.h common/error.h common/mem.h \
common/ac/stddef.h dns-rev/reverse.h \
common/srrf/address.h common/srrf/reader.h \
common/srrf/list.h common/srrf.h common/strlist.h \
common/str.h common/ac/stdarg.h common/srrf/origin.h
$(CC) $(CPPFLAGS) $(CFLAGS) -Idns-rev -Icommon -c dns-rev/reverse.c
mv reverse.$(OBJEXT) $@
man1/arglex.h: man1/arglex.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/arglex.so > $@
man1/author.h: man1/author.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/author.so > $@
man1/copyright.h: man1/copyright.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/copyright.so > $@
man1/dns-boot-check.h: man1/dns-boot-check.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-boot-check.1 > $@
$(mandir)/man1/dns-boot-check.1: man1/dns-boot-check.1 man1/.mandir
(cd man1; $(SOELIM) dns-boot-check.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-bootp.h: man1/dns-bootp.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-bootp.1 > $@
$(mandir)/man1/dns-bootp.1: man1/dns-bootp.1 man1/.mandir
(cd man1; $(SOELIM) dns-bootp.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-bootparams.h: man1/dns-bootparams.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-bootparams.1 > $@
$(mandir)/man1/dns-bootparams.1: man1/dns-bootparams.1 man1/.mandir
(cd man1; $(SOELIM) dns-bootparams.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-conf-check.h: man1/dns-conf-check.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-conf-check.1 > $@
$(mandir)/man1/dns-conf-check.1: man1/dns-conf-check.1 man1/.mandir
(cd man1; $(SOELIM) dns-conf-check.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-dhcp.h: man1/dns-dhcp.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-dhcp.1 > $@
$(mandir)/man1/dns-dhcp.1: man1/dns-dhcp.1 man1/.mandir
(cd man1; $(SOELIM) dns-dhcp.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-ethers-import.h: man1/dns-ethers-import.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-ethers-import.1 > $@
$(mandir)/man1/dns-ethers-import.1: man1/dns-ethers-import.1 \
man1/.mandir
(cd man1; $(SOELIM) dns-ethers-import.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-ethers.h: man1/dns-ethers.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-ethers.1 > $@
$(mandir)/man1/dns-ethers.1: man1/dns-ethers.1 man1/.mandir
(cd man1; $(SOELIM) dns-ethers.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-filter.h: man1/dns-filter.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-filter.1 > $@
$(mandir)/man1/dns-filter.1: man1/dns-filter.1 man1/.mandir
(cd man1; $(SOELIM) dns-filter.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-hosts-import.h: man1/dns-hosts-import.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-hosts-import.1 > $@
$(mandir)/man1/dns-hosts-import.1: man1/dns-hosts-import.1 man1/.mandir
(cd man1; $(SOELIM) dns-hosts-import.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-hosts.h: man1/dns-hosts.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-hosts.1 > $@
$(mandir)/man1/dns-hosts.1: man1/dns-hosts.1 man1/.mandir
(cd man1; $(SOELIM) dns-hosts.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-license.h: man1/dns-license.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-license.1 > $@
$(mandir)/man1/dns-license.1: man1/dns-license.1 man1/.mandir
(cd man1; $(SOELIM) dns-license.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-ng.h: man1/dns-ng.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-ng.1 > $@
$(mandir)/man1/dns-ng.1: man1/dns-ng.1 man1/.mandir
(cd man1; $(SOELIM) dns-ng.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/dns-rev.h: man1/dns-rev.1 etc/txt2c.awk
awk -f etc/txt2c.awk man1/dns-rev.1 > $@
$(mandir)/man1/dns-rev.1: man1/dns-rev.1 man1/.mandir
(cd man1; $(SOELIM) dns-rev.1) > tmp
$(INSTALL_DATA) tmp $@
@rm tmp
man1/example.dhcp.h: man1/example.dhcp.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/example.dhcp.so > $@
man1/example.ethers.h: man1/example.ethers.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/example.ethers.so > $@
man1/example.hosts.h: man1/example.hosts.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/example.hosts.so > $@
man1/example.netgroup.h: man1/example.netgroup.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/example.netgroup.so > $@
man1/example.h: man1/example.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/example.so > $@
man1/exit.h: man1/exit.so etc/txt2c.awk
awk -f etc/txt2c.awk man1/exit.so > $@
t0001a: test/00/t0001a.sh all
$(SH) test/00/t0001a.sh
t0002a: test/00/t0002a.sh all
$(SH) test/00/t0002a.sh
t0003a: test/00/t0003a.sh all
$(SH) test/00/t0003a.sh
t0004a: test/00/t0004a.sh all
$(SH) test/00/t0004a.sh
t0005a: test/00/t0005a.sh all
$(SH) test/00/t0005a.sh
t0006a: test/00/t0006a.sh all
$(SH) test/00/t0006a.sh
t0007a: test/00/t0007a.sh all
$(SH) test/00/t0007a.sh
t0008a: test/00/t0008a.sh all
$(SH) test/00/t0008a.sh
t0009a: test/00/t0009a.sh all
$(SH) test/00/t0009a.sh
t0010a: test/00/t0010a.sh all
$(SH) test/00/t0010a.sh
t0011a: test/00/t0011a.sh all
$(SH) test/00/t0011a.sh
t0012a: test/00/t0012a.sh all
$(SH) test/00/t0012a.sh
t0013a: test/00/t0013a.sh all
$(SH) test/00/t0013a.sh
t0014a: test/00/t0014a.sh all
$(SH) test/00/t0014a.sh
t0015a: test/00/t0015a.sh all
$(SH) test/00/t0015a.sh
t0016a: test/00/t0016a.sh all
$(SH) test/00/t0016a.sh
t0017a: test/00/t0017a.sh all
$(SH) test/00/t0017a.sh
t0018a: test/00/t0018a.sh all
$(SH) test/00/t0018a.sh
t0019a: test/00/t0019a.sh all
$(SH) test/00/t0019a.sh
t0020a: test/00/t0020a.sh all
$(SH) test/00/t0020a.sh
t0021a: test/00/t0021a.sh all
$(SH) test/00/t0021a.sh
t0022a: test/00/t0022a.sh all
$(SH) test/00/t0022a.sh
t0023a: test/00/t0023a.sh all
$(SH) test/00/t0023a.sh
t0024a: test/00/t0024a.sh all
$(SH) test/00/t0024a.sh
t0025a: test/00/t0025a.sh all
$(SH) test/00/t0025a.sh
t0026a: test/00/t0026a.sh all
$(SH) test/00/t0026a.sh
t0027a: test/00/t0027a.sh all
$(SH) test/00/t0027a.sh
t0028a: test/00/t0028a.sh all
$(SH) test/00/t0028a.sh
t0029a: test/00/t0029a.sh all
$(SH) test/00/t0029a.sh
t0030a: test/00/t0030a.sh all
$(SH) test/00/t0030a.sh
t0031a: test/00/t0031a.sh all
$(SH) test/00/t0031a.sh
t0032a: test/00/t0032a.sh all
$(SH) test/00/t0032a.sh
t0033a: test/00/t0033a.sh all
$(SH) test/00/t0033a.sh
t0034a: test/00/t0034a.sh all
$(SH) test/00/t0034a.sh
t0035a: test/00/t0035a.sh all
$(SH) test/00/t0035a.sh
t0036a: test/00/t0036a.sh all
$(SH) test/00/t0036a.sh
man1/.mandir:
-$(INSTALL) -m 0755 -d $(mandir)/man1
@-test -d $(mandir)/man1 && touch $@
@sleep 1
CommonObj = common/ac/string.$(OBJEXT) common/arglex.$(OBJEXT) \
common/error.$(OBJEXT) common/help.$(OBJEXT) \
common/mac.$(OBJEXT) common/map.$(OBJEXT) \
common/map_ether.$(OBJEXT) common/map_hosts.$(OBJEXT) \
common/mem.$(OBJEXT) common/mprintf.$(OBJEXT) \
common/output.$(OBJEXT) common/regu_expr.$(OBJEXT) \
common/srrf.$(OBJEXT) common/srrf/address.$(OBJEXT) \
common/srrf/alloc.$(OBJEXT) common/srrf/aux.$(OBJEXT) \
common/srrf/bootp.$(OBJEXT) \
common/srrf/bootparams.$(OBJEXT) \
common/srrf/cbn.$(OBJEXT) common/srrf/dfn.$(OBJEXT) \
common/srrf/dhcp.$(OBJEXT) common/srrf/dup.$(OBJEXT) \
common/srrf/ether.$(OBJEXT) common/srrf/in.$(OBJEXT) \
common/srrf/list.$(OBJEXT) common/srrf/origin.$(OBJEXT) \
common/srrf/print.$(OBJEXT) \
common/srrf/private.$(OBJEXT) \
common/srrf/reader.$(OBJEXT) common/srrf/tbn.$(OBJEXT) \
common/str.$(OBJEXT) common/strlist.$(OBJEXT) \
common/symtab.$(OBJEXT) common/version-stmp.$(OBJEXT) \
common/version.$(OBJEXT)
common/lib.$(LIBEXT): $(CommonObj)
rm -f common/lib.$(LIBEXT)
$(AR) qc common/lib.$(LIBEXT) $(CommonObj)
$(RANLIB) common/lib.$(LIBEXT)
.bin:
-mkdir bin
@test -d bin && touch $@
@sleep 1
.bindir:
-$(INSTALL) -m 0755 -d $(bindir)
@-test -d $(bindir) && touch $@
@sleep 1
dns_boot_check_files = dns-boot-check/check.$(OBJEXT) \
dns-boot-check/gram.gen.$(OBJEXT) \
dns-boot-check/lex.$(OBJEXT) \
dns-boot-check/main.$(OBJEXT)
bin/dns-boot-check$(EXEEXT): $(dns_boot_check_files) \
common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_boot_check_files) \
common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-boot-check$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-boot-check$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-boot-check$(EXEEXT) $@
dns_bootp_files = dns-bootp/filter.$(OBJEXT) dns-bootp/main.$(OBJEXT)
bin/dns-bootp$(EXEEXT): $(dns_bootp_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_bootp_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-bootp$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-bootp$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-bootp$(EXEEXT) $@
dns_bootparams_files = dns-bootparams/filter.$(OBJEXT) \
dns-bootparams/main.$(OBJEXT)
bin/dns-bootparams$(EXEEXT): $(dns_bootparams_files) \
common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_bootparams_files) \
common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-bootparams$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-bootparams$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-bootparams$(EXEEXT) $@
dns_conf_check_files = dns-conf-check/check.$(OBJEXT) \
dns-conf-check/conf.$(OBJEXT) \
dns-conf-check/grammar.gen.$(OBJEXT) \
dns-conf-check/lex.$(OBJEXT) \
dns-conf-check/main.$(OBJEXT)
bin/dns-conf-check$(EXEEXT): $(dns_conf_check_files) \
common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_conf_check_files) \
common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-conf-check$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-conf-check$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-conf-check$(EXEEXT) $@
dns_dhcp_files = dns-dhcp/filter.$(OBJEXT) dns-dhcp/main.$(OBJEXT)
bin/dns-dhcp$(EXEEXT): $(dns_dhcp_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_dhcp_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-dhcp$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-dhcp$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-dhcp$(EXEEXT) $@
dns_ethers_import_files = dns-ethers-import/ethers.$(OBJEXT) \
dns-ethers-import/main.$(OBJEXT)
bin/dns-ethers-import$(EXEEXT): $(dns_ethers_import_files) \
common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_ethers_import_files) \
common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-ethers-import$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-ethers-import$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-ethers-import$(EXEEXT) $@
dns_ethers_files = dns-ethers/ethers.$(OBJEXT) dns-ethers/main.$(OBJEXT)
bin/dns-ethers$(EXEEXT): $(dns_ethers_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_ethers_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-ethers$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-ethers$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-ethers$(EXEEXT) $@
dns_filter_files = dns-filter/filter.$(OBJEXT) dns-filter/main.$(OBJEXT)
bin/dns-filter$(EXEEXT): $(dns_filter_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_filter_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-filter$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-filter$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-filter$(EXEEXT) $@
dns_hosts_import_files = dns-hosts-import/hosts.$(OBJEXT) \
dns-hosts-import/main.$(OBJEXT)
bin/dns-hosts-import$(EXEEXT): $(dns_hosts_import_files) \
common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_hosts_import_files) \
common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-hosts-import$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-hosts-import$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-hosts-import$(EXEEXT) $@
dns_hosts_files = dns-hosts/hosts.$(OBJEXT) dns-hosts/main.$(OBJEXT)
bin/dns-hosts$(EXEEXT): $(dns_hosts_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_hosts_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-hosts$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-hosts$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-hosts$(EXEEXT) $@
dns_ng_files = dns-ng/main.$(OBJEXT) dns-ng/netgroup.$(OBJEXT)
bin/dns-ng$(EXEEXT): $(dns_ng_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_ng_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-ng$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-ng$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-ng$(EXEEXT) $@
dns_rev_files = dns-rev/main.$(OBJEXT) dns-rev/reverse.$(OBJEXT)
bin/dns-rev$(EXEEXT): $(dns_rev_files) common/lib.$(LIBEXT) .bin
$(CC) $(LDFLAGS) -o $@ $(dns_rev_files) common/lib.$(LIBEXT) $(LIBS)
$(bindir)/$(PROGRAM_PREFIX)dns-rev$(PROGRAM_SUFFIX)$(EXEEXT): \
bin/dns-rev$(EXEEXT) .bindir
$(INSTALL_PROGRAM) bin/dns-rev$(EXEEXT) $@
all: bin/dns-boot-check$(EXEEXT) bin/dns-bootp$(EXEEXT) \
bin/dns-bootparams$(EXEEXT) bin/dns-conf-check$(EXEEXT) \
bin/dns-dhcp$(EXEEXT) bin/dns-ethers-import$(EXEEXT) \
bin/dns-ethers$(EXEEXT) bin/dns-filter$(EXEEXT) \
bin/dns-hosts-import$(EXEEXT) bin/dns-hosts$(EXEEXT) \
bin/dns-ng$(EXEEXT) bin/dns-rev$(EXEEXT)
sure: t0001a t0002a t0003a t0004a t0005a t0006a t0007a t0008a t0009a \
t0010a t0011a t0012a t0013a t0014a t0015a t0016a t0017a \
t0018a t0019a t0020a t0021a t0022a t0023a t0024a t0025a \
t0026a t0027a t0028a t0029a t0030a t0031a t0032a t0033a \
t0034a t0035a t0036a
@echo Passed All Tests
clean-obj:
rm -f core y.tab.c y.tab.h .bin .bindir \
common/ac/string.$(OBJEXT) common/arglex.$(OBJEXT) \
common/error.$(OBJEXT) common/help.$(OBJEXT) \
common/mac.$(OBJEXT) common/map.$(OBJEXT) \
common/map_ether.$(OBJEXT) common/map_hosts.$(OBJEXT) \
common/mem.$(OBJEXT) common/mprintf.$(OBJEXT) \
common/output.$(OBJEXT) common/regu_expr.$(OBJEXT) \
common/srrf.$(OBJEXT) common/srrf/address.$(OBJEXT) \
common/srrf/alloc.$(OBJEXT) common/srrf/aux.$(OBJEXT) \
common/srrf/bootp.$(OBJEXT) \
common/srrf/bootparams.$(OBJEXT) \
common/srrf/cbn.$(OBJEXT) common/srrf/dfn.$(OBJEXT) \
common/srrf/dhcp.$(OBJEXT) common/srrf/dup.$(OBJEXT) \
common/srrf/ether.$(OBJEXT) common/srrf/in.$(OBJEXT) \
common/srrf/list.$(OBJEXT) common/srrf/origin.$(OBJEXT) \
common/srrf/print.$(OBJEXT) \
common/srrf/private.$(OBJEXT) \
common/srrf/reader.$(OBJEXT) common/srrf/tbn.$(OBJEXT) \
common/str.$(OBJEXT) common/strlist.$(OBJEXT) \
common/symtab.$(OBJEXT) common/version-stmp.$(OBJEXT) \
common/version.$(OBJEXT) dns-boot-check/check.$(OBJEXT) \
dns-boot-check/gram.gen.c dns-boot-check/gram.gen.h \
dns-boot-check/gram.gen.$(OBJEXT) \
dns-boot-check/lex.$(OBJEXT) \
dns-boot-check/main.$(OBJEXT) \
dns-bootp/filter.$(OBJEXT) dns-bootp/main.$(OBJEXT) \
dns-bootparams/filter.$(OBJEXT) \
dns-bootparams/main.$(OBJEXT) \
dns-conf-check/check.$(OBJEXT) \
dns-conf-check/conf.$(OBJEXT) \
dns-conf-check/grammar.gen.c \
dns-conf-check/grammar.gen.h \
dns-conf-check/grammar.gen.$(OBJEXT) \
dns-conf-check/lex.$(OBJEXT) \
dns-conf-check/main.$(OBJEXT) dns-dhcp/filter.$(OBJEXT) \
dns-dhcp/main.$(OBJEXT) \
dns-ethers-import/ethers.$(OBJEXT) \
dns-ethers-import/main.$(OBJEXT) \
dns-ethers/ethers.$(OBJEXT) dns-ethers/main.$(OBJEXT) \
dns-filter/filter.$(OBJEXT) dns-filter/main.$(OBJEXT) \
dns-hosts-import/hosts.$(OBJEXT) \
dns-hosts-import/main.$(OBJEXT) \
dns-hosts/hosts.$(OBJEXT) dns-hosts/main.$(OBJEXT) \
dns-ng/main.$(OBJEXT) dns-ng/netgroup.$(OBJEXT) \
dns-rev/main.$(OBJEXT) dns-rev/reverse.$(OBJEXT) \
man1/arglex.h man1/author.h man1/copyright.h \
man1/dns-boot-check.h man1/.mandir man1/dns-bootp.h \
man1/dns-bootparams.h man1/dns-conf-check.h \
man1/dns-dhcp.h man1/dns-ethers-import.h \
man1/dns-ethers.h man1/dns-filter.h \
man1/dns-hosts-import.h man1/dns-hosts.h \
man1/dns-license.h man1/dns-ng.h man1/dns-rev.h \
man1/example.dhcp.h man1/example.ethers.h \
man1/example.hosts.h man1/example.netgroup.h \
man1/example.h man1/exit.h
clean: clean-obj
rm -f bin/dns-boot-check$(EXEEXT) bin/dns-bootp$(EXEEXT) \
bin/dns-bootparams$(EXEEXT) bin/dns-conf-check$(EXEEXT) \
bin/dns-dhcp$(EXEEXT) bin/dns-ethers-import$(EXEEXT) \
bin/dns-ethers$(EXEEXT) bin/dns-filter$(EXEEXT) \
bin/dns-hosts-import$(EXEEXT) bin/dns-hosts$(EXEEXT) \
bin/dns-ng$(EXEEXT) bin/dns-rev$(EXEEXT)
distclean: clean
rm -f Makefile common/config.h config.status config.cache config.log
install-bin: \
$(bindir)/$(PROGRAM_PREFIX)dns-boot-check$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-bootp$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-bootparams$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-conf-check$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-dhcp$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-ethers-import$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-ethers$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-filter$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-hosts-import$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-hosts$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-ng$(PROGRAM_SUFFIX)$(EXEEXT) \
$(bindir)/$(PROGRAM_PREFIX)dns-rev$(PROGRAM_SUFFIX)$(EXEEXT)
install-man: $(mandir)/man1/dns-boot-check.1 $(mandir)/man1/dns-bootp.1 \
$(mandir)/man1/dns-bootparams.1 \
$(mandir)/man1/dns-conf-check.1 \
$(mandir)/man1/dns-dhcp.1 \
$(mandir)/man1/dns-ethers-import.1 \
$(mandir)/man1/dns-ethers.1 $(mandir)/man1/dns-filter.1 \
$(mandir)/man1/dns-hosts-import.1 \
$(mandir)/man1/dns-hosts.1 $(mandir)/man1/dns-license.1 \
$(mandir)/man1/dns-ng.1 $(mandir)/man1/dns-rev.1
install: install-bin install-man