NWGNUmakefile revision d824ece73de87ad67b2cf48ba67bf5d61102edf7
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Define our required macro's if not already done.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifndef AP_WORK
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekexport AP_WORK = $(CURDIR)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifndef APR_WORK
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(wildcard $(AP_WORK)/srclib/apr)" "$(AP_WORK)/srclib/apr"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekexport APR_WORK = $(AP_WORK)/srclib/apr
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifneq "$(wildcard $(APR_WORK)/include/apr_version.h)" "$(APR_WORK)/include/apr_version.h"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek$(error APR_WORK does not point to a valid APR source tree)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifndef APU_WORK
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(wildcard $(AP_WORK)/srclib/apr-util)" "$(AP_WORK)/srclib/apr-util"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekexport APU_WORK = $(AP_WORK)/srclib/apr-util
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifndef APU_WORK
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(wildcard $(APR_WORK)/include/apu_version.h)" "$(APR_WORK)/include/apu_version.h"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekexport APU_WORK = $(APR_WORK)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifneq "$(wildcard $(APU_WORK)/include/apu_version.h)" "$(APU_WORK)/include/apu_version.h"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek$(error APU_WORK does not point to a valid APU source tree)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Declare the sub-directories to be built here
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(APR_WORK) \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Get the 'head' of the build environment. This includes default targets and
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# paths to tools
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekinclude $(AP_WORK)/build/NWGNUhead.inc
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# build this level's files
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Make sure all needed macro's are defined
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These directories will be at the beginning of the include list, followed by
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXINCDIRS += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(APR)/include \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(APRUTIL)/include \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(AP_WORK)/include \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/aaa \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/core \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/filters \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/generators \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/http \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/loggers \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/mappers \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/proxy \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(STDMOD)/ssl \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(AP_WORK)/server \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These flags will come after CFLAGS
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -DHAVE_CONFIG_H \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These defines will come after DEFINES
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXDEFINES += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These flags will be added to the link.opt file
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These values will be appended to the correct variables based on the value of
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(RELEASE)" "debug"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXINCDIRS += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXDEFINES += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(RELEASE)" "noopt"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXINCDIRS += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXDEFINES += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifeq "$(RELEASE)" "release"
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXINCDIRS += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekXDEFINES += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These are used by the link target if an NLM is being generated
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# This is used by the link 'name' directive to name the nlm. If left blank
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# TARGET_nlm (see below) will be used.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_NAME = Apache2
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# This is used by the link '-desc ' directive.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If left blank, NLM_NAME will be used.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_DESCRIPTION = Apache Web Server $(VERSION_STR) $(VERSION_SKT)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# This is used by the '-threadname' directive. If left blank,
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# NLM_NAME Thread will be used.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_THREAD_NAME = $(NLM_NAME)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# This is used by the '-screenname' directive. If left blank,
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# 'Apache for NetWare' Thread will be used.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If this is specified, it will override VERSION value in
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_VERSION =
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If this is specified, it will override the default of 64K
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_STACK_SIZE = 65536
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If this is specified it will be used by the link '-entry' directive
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_ENTRY_SYM =
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# If this is specified it will be used by the link '-exit' directive
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_EXIT_SYM =
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If this is specified it will be used by the link '-check' directive
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_CHECK_SYM = _LibCCheckUnload
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If these are specified it will be used by the link '-flags' directive
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekNLM_FLAGS = PSEUDOPREEMPTION
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# If this is specified it will be linked in with the XDCData option in the def
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# by setting APACHE_UNIPROC in the environment
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If there is an NLM target, put it here
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekTARGET_nlm = \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(OBJDIR)/$(NLM_NAME).nlm \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If there is an LIB target, put it here
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekTARGET_lib = \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# These are the OBJ files needed to create the NLM target above.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Paths must all use the '/' character
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekFILES_nlm_objs = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# Build in mod_nw_ssl if Winsock is being used
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozekifndef USE_STDSOCKETS
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_nlm_objs += $(OBJDIR)/mod_nw_ssl.o \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# These are the LIB files needed to create the NLM target above.
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# These will be added as a library command in the link.opt file.
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_nlm_libs = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek $(PCRELIB) \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# These are the modules that the above NLM target depends on to load.
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# These will be added as a module command in the link.opt file.
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_nlm_modules = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# If the nlm has a msg file, put it's path here
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILE_nlm_msg =
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# If the nlm has a hlp file put it's path here
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILE_nlm_hlp =
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# If this is specified, it will override $(NWOS)\copyright.txt.
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekFILE_nlm_copyright =
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Any additional imports go here
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_nlm_Ximports = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek GetCurrentAddressSpace \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Don't link with Winsock if standard sockets are being used
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekifndef USE_STDSOCKETS
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekFILES_nlm_Ximports += @ws2nlm.imp \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# Any symbols exported to here
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_nlm_exports = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# These are the OBJ files needed to create the LIB target above.
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozek# Paths must all use the '/' character
7f5de490e24f1389501b939b742a9e5675f1c41dJakub Hrozekifeq "$(wildcard $(PCRE)/pcre.c)" "$(PCRE)/pcre.c"
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_lib_objs = \
7f5de490e24f1389501b939b742a9e5675f1c41dJakub HrozekFILES_lib_objs = \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub HrozekFILES_lib_objs += \
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# implement targets and dependancies (leave this section alone)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozeklibs :: $(OBJDIR) $(TARGET_lib)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozeknlms :: libs $(TARGET_nlm)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Updated this target to create necessary directories and copy files to the
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekinstall :: nlms instscripts FORCE
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(OBJDIR)/$(NLM_NAME).nlm, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,ABOUT_APACHE, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,CHANGES, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,LICENSE, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,README, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,VERSIONING, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,STATUS, $(INSTALL)/$(BASEDIR)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,support/dbmmanage.in, $(INSTALL)/$(BASEDIR)/bin/dbmmanage.pl)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,support/logresolve.pl.in, $(INSTALL)/$(BASEDIR)/bin/logresolve.pl)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,support/split-logfile.in, $(INSTALL)/$(BASEDIR)/bin/split-logfile.pl)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,support/check_forensic, $(INSTALL)/$(BASEDIR)/bin/check_forensic.sh)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,docs/conf/magic, $(INSTALL)/$(BASEDIR)/conf/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,docs/conf/mime.types, $(INSTALL)/$(BASEDIR)/conf/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,docs/conf/charset.conv, $(INSTALL)/$(BASEDIR)/conf/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,docs/cgi-examples/printenv, $(INSTALL)/$(BASEDIR)/cgi-bin/printenv.pl)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -v PORT=$(PORT) -v SSLPORT=$(SSLPORT) -v MODSSL=$(WITH_MOD_SSL) -v BSDSKT=$(USE_STDSOCKETS) -f build/mkconfNW.awk docs/conf/httpd.conf.in >$(INSTALL)/$(BASEDIR)/conf\httpd.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call MKDIR,$(INSTALL)/$(BASEDIR)/conf/extra)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-autoindex.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-autoindex.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-dav.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-dav.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-default.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-default.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-info.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-info.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-languages.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-languages.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-manual.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-manual.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-mpm.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-mpm.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-multilang-errordoc.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-multilang-errordoc.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -f build/mkconfNW.awk docs/conf/extra/httpd-userdir.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-userdir.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -v PORT=$(PORT) -f build/mkconfNW.awk docs/conf/extra/httpd-vhosts.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-vhosts.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek -$(AWK) -v BDIR=$(BASEDIR) -v SSLPORT=$(SSLPORT) -f build/mkconfNW.awk docs/conf/extra/httpd-ssl.conf.in >$(INSTALL)/$(BASEDIR)/conf/extra/httpd-ssl.conf
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPYR,docs/docroot, $(INSTALL)/$(BASEDIR)/htdocs)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPYR,docs/error, $(INSTALL)/$(BASEDIR)/error)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPYR,docs/icons, $(INSTALL)/$(BASEDIR)/icons)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPYR,docs/man, $(INSTALL)/$(BASEDIR)/man)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPYR,docs/manual, $(INSTALL)/$(BASEDIR)/manual)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekinstalldev :: FORCE
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(SRC)/include/*.h, $(INSTALL)/$(BASEDIR)/include/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(NWOS)/*.h, $(INSTALL)/$(BASEDIR)/include/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(APR)/include/*.h, $(INSTALL)/$(BASEDIR)/include/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(APRUTIL)/include/*.h, $(INSTALL)/$(BASEDIR)/include/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(APR)/*.imp, $(INSTALL)/$(BASEDIR)/lib/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(NWOS)/*.imp, $(INSTALL)/$(BASEDIR)/lib/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(NWOS)/*.xdc, $(INSTALL)/$(BASEDIR)/lib/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekprebuild :: FORCE
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(MAKE) -C $(SERVER) -f NWGNUmakefile
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(MAKE) -C $(PCRE) -f NWGNUmakefile
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call MKDIR,$(PREBUILD_INST))
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(SERVER)/$(OBJDIR)/*.nlm, $(PREBUILD_INST)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek $(call COPY,$(PCRE)/$(OBJDIR)/*.nlm, $(PREBUILD_INST)/)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Any specialized rules here
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekvpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekvpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekvpath %.c modules/core:os/netware:server/mpm/netware:$(PCRE)
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# Include the 'tail' makefile that has targets that depend on variables defined
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozek# in this makefile
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekinclude $(APBUILD)/NWGNUtail.inc
cc84fd46f356c4a36a721ab135a33ec77c93e34dJakub Hrozekinclude $(APBUILD)/NWGNUscripts.inc