📄 makefile
字号:
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")# Copyright (C) 1998-2003 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 ISC DISCLAIMS ALL WARRANTIES WITH# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY# AND FITNESS. IN NO EVENT SHALL ISC 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.# $Id: Makefile.in,v 1.113.2.1.8.7 2004/07/20 07:01:50 marka Exp $srcdir = .top_srcdir = ../..# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")# Copyright (C) 1999-2001 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 ISC DISCLAIMS ALL WARRANTIES WITH# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY# AND FITNESS. IN NO EVENT SHALL ISC 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.# $Id: includes.in,v 1.15.12.3 2004/03/08 09:05:14 marka Exp $# Search for machine-generated header files in the build tree,# and for normal headers in the source tree (${top_srcdir}).# We only need to look in OS-specific subdirectories for the# latter case, because there are no machine-generated OS-specific# headers.ISC_INCLUDES = -I/root/bind-9.3.0/lib/isc/include \ -I${top_srcdir}/lib/isc \ -I${top_srcdir}/lib/isc/include \ -I${top_srcdir}/lib/isc/unix/include \ -I${top_srcdir}/lib/isc/nothreads/includeISCCC_INCLUDES = -I/root/bind-9.3.0/lib/isccc/include \ -I${top_srcdir}/lib/isccc/includeISCCFG_INCLUDES = -I/root/bind-9.3.0/lib/isccfg/include \ -I${top_srcdir}/lib/isccfg/includeDNS_INCLUDES = -I/root/bind-9.3.0/lib/dns/include \ -I${top_srcdir}/lib/dns/include \ -I${top_srcdir}/lib/dns/sec/dst/includeLWRES_INCLUDES = -I/root/bind-9.3.0/lib/lwres/include \ -I${top_srcdir}/lib/lwres/unix/include \ -I${top_srcdir}/lib/lwres/includeBIND9_INCLUDES = -I/root/bind-9.3.0/lib/bind9/include \ -I${top_srcdir}/lib/bind9/includeTEST_INCLUDES = \ -I${top_srcdir}/lib/tests/includeCINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES} ${ISCCFG_INCLUDES} \ ${LWRES_INCLUDES} ${OMAPI_INCLUDES}CDEFINES =CWARNINGS =DNSLIBS = ../../lib/dns/libdns.a -L/usr/local/openssl/lib -lcrypto -ldl ISCLIBS = ../../lib/isc/libisc.aISCCFGLIBS = ../../lib/isccfg/libisccfg.aLWRESLIBS = ../../lib/lwres/liblwres.aDNSDEPLIBS = ../../lib/dns/libdns.aISCDEPLIBS = ../../lib/isc/libisc.aISCCFGDEPLIBS = ../../lib/isccfg/libisccfg.aLWRESDEPLIBS = ../../lib/lwres/liblwres.aLIBS = -lnsl SUBDIRS = db dst master mem names net rbt sockaddr tasks timers system# A few of the test programs are built by default:# cfg_test is needed for regenerating doc/misc/options;# genrandom is needed by the system tests# AlphabeticallyTARGETS = cfg_test \ genrandom# All the other tests are optional and not built by default.# AlphabeticallyXTARGETS = adb_test \ byaddr_test \ byname_test \ compress_test \ db_test \ entropy_test \ entropy2_test \ gxba_test \ gxbn_test \ hash_test \ fsaccess_test \ inter_test \ journalprint \ keyboard_test \ lex_test \ lfsr_test \ log_test \ lwres_test \ lwresconf_test \ master_test \ mempool_test \ name_test \ nsecify \ ratelimiter_test \ rbt_test \ rdata_test \ rwlock_test \ serial_test \ shutdown_test \ sig0_test \ sock_test \ sym_test \ task_test \ timer_test \ wire_test \ zone_test# AlphabeticallySRCS = adb_test.c \ byaddr_test.c \ byname_test.c \ compress_test.c \ db_test.c \ entropy_test.c \ entropy2_test.c \ gxba_test.c \ gxbn_test.c \ hash_test.c \ fsaccess_test.c \ inter_test.c \ journalprint.c \ keyboard_test.c \ lex_test.c \ lfsr_test.c \ log_test.c \ lwres_test.c \ lwresconf_test.c \ master_test.c \ mempool_test.c \ name_test.c \ nsecify.c \ printmsg.c \ ratelimiter_test.c \ rbt_test.c \ rdata_test.c \ rwlock_test.c \ serial_test.c \ shutdown_test.c \ sig0_test.c \ sock_test.c \ sym_test.c \ task_test.c \ timer_test.c \ wire_test.c \ zone_test.c# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")# Copyright (C) 1998-2003 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 ISC DISCLAIMS ALL WARRANTIES WITH# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY# AND FITNESS. IN NO EVENT SHALL ISC 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.# $Id: rules.in,v 1.40.2.5.4.4 2004/07/20 07:02:00 marka Exp $###### Common Makefile rules for BIND 9.######### Paths###### Note: paths that vary by Makefile MUST NOT be listed### here, or they won't get expanded correctly.prefix = /usr/local/namedexec_prefix = ${prefix}bindir = ${exec_prefix}/binsbindir = ${exec_prefix}/sbinincludedir = ${prefix}/includelibdir = ${exec_prefix}/libsysconfdir = ${prefix}/etclocalstatedir = ${prefix}/varmandir = ${prefix}/manDESTDIR =top_builddir = /root/bind-9.3.0###### All###### Makefile may define:### TARGETSall: subdirs ${TARGETS}###### Subdirectories###### Makefile may define:### SUBDIRSALL_SUBDIRS = ${SUBDIRS} nulldir## We use a single-colon rule so that additional dependencies of# subdirectories can be specified after the inclusion of this file.# The "depend" target is treated the same way.#subdirs: @for i in ${ALL_SUBDIRS}; do \ if [ "$$i" != "nulldir" -a -d $$i ]; then \ echo "making all in `pwd`/$$i"; \ (cd $$i; ${MAKE} ${MAKEDEFS} DESTDIR="${DESTDIR}" all) || exit 1; \ fi; \ doneinstall:: allinstall clean distclean maintainer-clean doc docclean man manclean:: @for i in ${ALL_SUBDIRS}; do \ if [ "$$i" != "nulldir" -a -d $$i ]; then \ echo "making $@ in `pwd`/$$i"; \ (cd $$i; ${MAKE} ${MAKEDEFS} DESTDIR="${DESTDIR}" $@) || exit 1; \ fi; \ done###### C Programs###### Makefile must define### CC### Makefile may define### CFLAGS### LDFLAGS### CINCLUDES### CDEFINES### CWARNINGS### User may define externally### EXT_CFLAGSCC = gccCFLAGS = -g -O2LDFLAGS = STD_CINCLUDES = STD_CDEFINES = STD_CWARNINGS = -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat.SUFFIXES:.SUFFIXES: .c .oALWAYS_INCLUDES = -I${top_builddir}ALWAYS_DEFINES = ALWAYS_WARNINGS =
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -