NWGNUmakefile revision ce22ce4743d79a889dca64df4459c598e2c188c7
1c6191318b2fc162240d88579d56125d1d306270wrowe# Declare the sub-directories to be built here
1c6191318b2fc162240d88579d56125d1d306270wrowe $(APR_WORK) \
1c6191318b2fc162240d88579d56125d1d306270wrowe# Get the 'head' of the build environment. This includes default targets and
1c6191318b2fc162240d88579d56125d1d306270wrowe# paths to tools
1c6191318b2fc162240d88579d56125d1d306270wroweinclude $(AP_WORK)\build\NWGNUhead.inc
1c6191318b2fc162240d88579d56125d1d306270wrowe# build this level's files
1c6191318b2fc162240d88579d56125d1d306270wrowe# Make sure all needed macro's are defined
1c6191318b2fc162240d88579d56125d1d306270wrowe# These directories will be at the beginning of the include list, followed by
1c6191318b2fc162240d88579d56125d1d306270wroweXINCDIRS += \
1c6191318b2fc162240d88579d56125d1d306270wrowe $(APR)/include \
1c6191318b2fc162240d88579d56125d1d306270wrowe $(APRUTIL)/include \
1c6191318b2fc162240d88579d56125d1d306270wrowe $(AP_WORK)/include \
1c6191318b2fc162240d88579d56125d1d306270wrowe# These flags will come after CFLAGS
1c6191318b2fc162240d88579d56125d1d306270wroweXCFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wrowe# These defines will come after DEFINES
1c6191318b2fc162240d88579d56125d1d306270wroweXDEFINES += \
1c6191318b2fc162240d88579d56125d1d306270wrowe# These flags will be added to the link.opt file
1c6191318b2fc162240d88579d56125d1d306270wroweXLFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wrowe# These values will be appended to the correct variables based on the value of
1c6191318b2fc162240d88579d56125d1d306270wroweifeq "$(RELEASE)" "debug"
1c6191318b2fc162240d88579d56125d1d306270wroweXINCDIRS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXCFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXDEFINES += \
1c6191318b2fc162240d88579d56125d1d306270wroweXLFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wroweifeq "$(RELEASE)" "noopt"
1c6191318b2fc162240d88579d56125d1d306270wroweXINCDIRS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXCFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXDEFINES += \
1c6191318b2fc162240d88579d56125d1d306270wroweXLFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wroweifeq "$(RELEASE)" "release"
1c6191318b2fc162240d88579d56125d1d306270wroweXINCDIRS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXCFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wroweXDEFINES += \
1c6191318b2fc162240d88579d56125d1d306270wroweXLFLAGS += \
1c6191318b2fc162240d88579d56125d1d306270wrowe# These are used by the link target if an NLM is being generated
1c6191318b2fc162240d88579d56125d1d306270wrowe# This is used by the link 'name' directive to name the nlm. If left blank
1c6191318b2fc162240d88579d56125d1d306270wrowe# TARGET_nlm (see below) will be used.
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_NAME = Apache2
1c6191318b2fc162240d88579d56125d1d306270wrowe# This is used by the link '-desc ' directive.
1c6191318b2fc162240d88579d56125d1d306270wrowe# If left blank, NLM_NAME will be used.
1c6191318b2fc162240d88579d56125d1d306270wroweifdef USE_STDSOCKETS
1c6191318b2fc162240d88579d56125d1d306270wroweVERSION_SKT = (BSDSOCK)
1c6191318b2fc162240d88579d56125d1d306270wroweVERSION_SKT = (WINSOCK)
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_DESCRIPTION = Apache Web Server $(VERSION_STR) $(VERSION_SKT)
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# This is used by the '-threadname' directive. If left blank,
1c6191318b2fc162240d88579d56125d1d306270wrowe# NLM_NAME Thread will be used.
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_THREAD_NAME = Apache
1c6191318b2fc162240d88579d56125d1d306270wrowe# This is used by the '-screenname' directive. If left blank,
1c6191318b2fc162240d88579d56125d1d306270wrowe# 'Apache for NetWare' Thread will be used.
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified, it will override VERSION value in
1c6191318b2fc162240d88579d56125d1d306270wrowe# $(AP_WORK)\build\NWGNUenvironment.inc
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_VERSION =
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified, it will override the default of 64K
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_STACK_SIZE = 65536
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified it will be used by the link '-entry' directive
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_ENTRY_SYM = _LibCPrelude
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified it will be used by the link '-exit' directive
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_EXIT_SYM = _LibCPostlude
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified it will be used by the link '-check' directive
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_CHECK_SYM = _LibCCheckUnload
1c6191318b2fc162240d88579d56125d1d306270wrowe# If these are specified it will be used by the link '-flags' directive
1c6191318b2fc162240d88579d56125d1d306270wroweNLM_FLAGS = PSEUDOPREEMPTION
1c6191318b2fc162240d88579d56125d1d306270wrowe# If this is specified it will be linked in with the XDCData option in the def
1c6191318b2fc162240d88579d56125d1d306270wrowe# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1c6191318b2fc162240d88579d56125d1d306270wrowe# by setting APACHE_UNIPROC in the environment
1c6191318b2fc162240d88579d56125d1d306270wrowe# If there is an NLM target, put it here
$(OBJDIR)/Apache2.nlm \
$(OBJDIR)/buildmark.o \
$(OBJDIR)/config.o \
$(OBJDIR)/connection.o \
$(OBJDIR)/core.o \
$(OBJDIR)/core_filters.o \
$(OBJDIR)/eoc_bucket.o \
$(OBJDIR)/eor_bucket.o \
$(OBJDIR)/error_bucket.o \
$(OBJDIR)/http_core.o \
$(OBJDIR)/http_protocol.o \
$(OBJDIR)/http_request.o \
$(OBJDIR)/byterange_filter.o \
$(OBJDIR)/chunk_filter.o \
$(OBJDIR)/http_etag.o \
$(OBJDIR)/http_filters.o \
$(OBJDIR)/listen.o \
$(OBJDIR)/log.o \
$(OBJDIR)/main.o \
$(OBJDIR)/mod_authn_core.o \
$(OBJDIR)/mod_authn_default.o \
$(OBJDIR)/mod_authz_core.o \
$(OBJDIR)/mod_authz_default.o \
$(OBJDIR)/mod_authz_host.o \
$(OBJDIR)/mod_alias.o \
$(OBJDIR)/mod_dir.o \
$(OBJDIR)/mod_env.o \
$(OBJDIR)/mod_include.o \
$(OBJDIR)/mod_log_config.o \
$(OBJDIR)/mod_mime.o \
$(OBJDIR)/mod_negotiation.o \
$(OBJDIR)/mod_netware.o \
$(OBJDIR)/mod_setenvif.o \
$(OBJDIR)/mod_so.o \
$(OBJDIR)/modules.o \
$(OBJDIR)/mpm_common.o \
$(OBJDIR)/mpm_netware.o \
$(OBJDIR)/pcre.o \
$(OBJDIR)/protocol.o \
$(OBJDIR)/provider.o \
$(OBJDIR)/request.o \
$(OBJDIR)/scoreboard.o \
$(OBJDIR)/util.o \
$(OBJDIR)/util_cfgtree.o \
$(OBJDIR)/util_charset.o \
$(OBJDIR)/util_debug.o \
$(OBJDIR)/util_filter.o \
$(OBJDIR)/util_md5.o \
$(OBJDIR)/util_mutex.o \
$(OBJDIR)/util_nw.o \
$(OBJDIR)/util_pcre.o \
$(OBJDIR)/util_script.o \
$(OBJDIR)/util_time.o \
$(OBJDIR)/util_xml.o \
$(OBJDIR)/vhost.o \
FILES_nlm_objs += $(OBJDIR)/mod_nw_ssl.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@netware.imp \
@$(APR)/aprlib.imp \
@libc.imp \
FILES_nlm_Ximports += @ws2nlm.imp \
@$(NWOS)/httpd.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
-copy $(OBJDIR)\Apache2.nlm $(INSTALL)\$(BASEDIR)\*.*
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\httpd.conf.in >$(INSTALL)\$(BASEDIR)\conf\httpd.conf
-awk -v BDIR=$(BASEDIR) -v SSL=1 -f build\mkconfnw.awk docs\conf\httpd.conf.in >$(INSTALL)\$(BASEDIR)\conf\httpd.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-autoindex.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-autoindex.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-dav.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-dav.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-default.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-default.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-info.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-info.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-languages.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-languages.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-manual.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-manual.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-mpm.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-mpm.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-multilang-errordoc.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-multilang-errordoc.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-ssl.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-ssl.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-userdir.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-userdir.conf
-awk -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-vhosts.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-vhosts.conf
-copy docs\cgi-examples\printenv $(INSTALL)\$(BASEDIR)\cgi-bin\printenv.pl
$(MAKE) -C srclib/pcre -f NWGNUMakefile
include $(AP_WORK)\build\NWGNUtail.inc