Commit d0ad0044 authored by Bob Halley's avatar Bob Halley

simplify Makefiles

parent eb4c0917
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
@BIND9_VERSION@
SUBDIRS = lib bin
SUBDIRS = make lib bin
TARGETS =
DISTFILES = Makefile.in config.h.in configure.in \
config.sub config.guess install-sh configure \
bin lib make \
version
@BIND9_VERSION@
@BIND9_MAKE_RULES@
distclean:: FORCE
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
SUBDIRS = tests
TARGETS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
CC = @CC@
CFLAGS = @CFLAGS@
CINCLUDES = -I${srcdir}/../../lib/isc/unix/include \
-I${srcdir}/../../lib/isc/pthreads/include \
-I${srcdir}/../../lib/isc/include \
-I${srcdir}/../../lib/dns/include
CDEFINES =
CWARNINGS =
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
LIBS = ../../lib/dns/libdns.a \
../../lib/isc/libisc.a \
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
@SET_MAKE@
@BIND9_VERSION@
CC = @CC@
CFLAGS = @CFLAGS@
CINCLUDES = -I${srcdir}/../isc/unix/include \
-I${srcdir}/../isc/pthreads/include \
-I${srcdir}/../isc/include \
-I${srcdir}/include
CDEFINES =
CWARNINGS =
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
AR = ar
RANLIB = @RANLIB@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
OBJS = name.o result.o version.o
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
SUBDIRS = dns
TARGETS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
@SET_MAKE@
@BIND9_VERSION@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
HEADERS = name.h result.h types.h
SUBDIRS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
@SET_MAKE@
@BIND9_VERSION@
CC = @CC@
CFLAGS = @CFLAGS@
CINCLUDES = -I${srcdir}/unix/include \
-I${srcdir}/pthreads/include \
-I${srcdir}/include
CDEFINES =
CWARNINGS =
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
AR = ar
RANLIB = @RANLIB@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
OBJS = assertions.o buffer.o error.o heap.o mem.o result.o rwlock.o \
socket.o task.o timer.o version.o \
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
CC = @CC@
CFLAGS = @CFLAGS@
CINCLUDES = -I${srcdir}/include \
-I${srcdir}/../unix/include \
-I${srcdir}/../include
CDEFINES =
CWARNINGS =
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
AR = ar
OBJS = condition.o
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
SUBDIRS = isc
TARGETS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
@SET_MAKE@
@BIND9_VERSION@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
HEADERS = condition.h mutex.h thread.h
SUBDIRS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
CC = @CC@
CFLAGS = @CFLAGS@
CINCLUDES = -I${srcdir}/include \
-I${srcdir}/../pthreads/include \
-I${srcdir}/../include
CDEFINES =
CWARNINGS =
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
AR = ar
OBJS = time.o
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
@SET_MAKE@
SUBDIRS = isc
TARGETS =
......
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
@SET_MAKE@
@BIND9_VERSION@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
HEADERS = time.h
SUBDIRS =
......
SUBDIRS=
TARGETS=
@BIND9_MAKE_RULES@
clean::
rm -f rules
......@@ -2,10 +2,26 @@
### Common Makefile rules for BIND 9.
###
###
### Paths
###
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
includedir = @includedir@
libdir = @libdir@
@SET_MAKE@
###
### All
###
### Makefile must define:
### Makefile may define:
### TARGETS
all: ${SUBDIRS} ${TARGETS}
......@@ -13,16 +29,20 @@ all: ${SUBDIRS} ${TARGETS}
###
### Subdirectories
###
### Makefile may define:
### SUBDIRS
ALL_SUBDIRS = ${SUBDIRS} nulldir
${ALL_SUBDIRS}: FORCE
@echo "making all in `pwd`/$@"
@if [ "$@" != "nulldir" -a -d $@ ]; then \
(cd $@; ${MAKE} ${MAKEDEFS} all); \
fi
install depend clean distclean::
@for i in ${ALL_SUBDIRS}; do \
echo "making $@ in `pwd`/$$i"; \
if [ "$$i" != "nulldir" -a -d $$i ]; then \
(cd $$i; ${MAKE} ${MAKEDEFS} $@); \
fi \
......@@ -41,7 +61,11 @@ FORCE:
### CDEFINES
### CWARNINGS
# Program
CC = @CC@
CFLAGS = @CFLAGS@
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
.SUFFIXES:
.SUFFIXES: .c .o
......@@ -63,3 +87,18 @@ clean distclean::
distclean::
rm -f Makefile
###
### Libraries
###
AR = ar
RANLIB = @RANLIB@
###
### Installation
###
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment