NWGNUmakefile revision 03ff116275bf4439816b8af6ea3ddabd469f8365
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Declare the sub-directories to be built here
4496171313bed39e96f21bc2f9faf2868e267ae3girish $(APR_WORK) \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Get the 'head' of the build environment. This includes default targets and
4496171313bed39e96f21bc2f9faf2868e267ae3girish# paths to tools
4496171313bed39e96f21bc2f9faf2868e267ae3girishinclude $(AP_WORK)\build\NWGNUhead.inc
4496171313bed39e96f21bc2f9faf2868e267ae3girish# build this level's files
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Make sure all needed macro's are defined
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These directories will be at the beginning of the include list, followed by
4496171313bed39e96f21bc2f9faf2868e267ae3girishXINCDIRS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girish $(APR)/include \
4496171313bed39e96f21bc2f9faf2868e267ae3girish $(APRUTIL)/include \
4496171313bed39e96f21bc2f9faf2868e267ae3girish $(AP_WORK)/include \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These flags will come after CFLAGS
4496171313bed39e96f21bc2f9faf2868e267ae3girishXCFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These defines will come after DEFINES
4496171313bed39e96f21bc2f9faf2868e267ae3girishXDEFINES += \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These flags will be added to the link.opt file
4496171313bed39e96f21bc2f9faf2868e267ae3girishXLFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These values will be appended to the correct variables based on the value of
4496171313bed39e96f21bc2f9faf2868e267ae3girishifeq "$(RELEASE)" "debug"
4496171313bed39e96f21bc2f9faf2868e267ae3girishXINCDIRS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXCFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXDEFINES += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXLFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishifeq "$(RELEASE)" "noopt"
4496171313bed39e96f21bc2f9faf2868e267ae3girishXINCDIRS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXCFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXDEFINES += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXLFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishifeq "$(RELEASE)" "release"
4496171313bed39e96f21bc2f9faf2868e267ae3girishXINCDIRS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXCFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXDEFINES += \
4496171313bed39e96f21bc2f9faf2868e267ae3girishXLFLAGS += \
4496171313bed39e96f21bc2f9faf2868e267ae3girish# These are used by the link target if an NLM is being generated
4496171313bed39e96f21bc2f9faf2868e267ae3girish# This is used by the link 'name' directive to name the nlm. If left blank
4496171313bed39e96f21bc2f9faf2868e267ae3girish# TARGET_nlm (see below) will be used.
4496171313bed39e96f21bc2f9faf2868e267ae3girishNLM_NAME = Apache2
4496171313bed39e96f21bc2f9faf2868e267ae3girish# This is used by the link '-desc ' directive.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# If left blank, NLM_NAME will be used.
4496171313bed39e96f21bc2f9faf2868e267ae3girishNLM_DESCRIPTION = Apache Web Server $(VERSION_STR) $(VERSION_SKT)
4496171313bed39e96f21bc2f9faf2868e267ae3girish# This is used by the '-threadname' directive. If left blank,
4496171313bed39e96f21bc2f9faf2868e267ae3girish# NLM_NAME Thread will be used.
4496171313bed39e96f21bc2f9faf2868e267ae3girishNLM_THREAD_NAME = Apache
4496171313bed39e96f21bc2f9faf2868e267ae3girish# This is used by the '-screenname' directive. If left blank,
4496171313bed39e96f21bc2f9faf2868e267ae3girish# 'Apache for NetWare' Thread will be used.
4496171313bed39e96f21bc2f9faf2868e267ae3girishNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
4496171313bed39e96f21bc2f9faf2868e267ae3girish# If this is specified, it will override VERSION value in
4496171313bed39e96f21bc2f9faf2868e267ae3girish# $(AP_WORK)\build\NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(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) -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
-$(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-userdir.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-userdir.conf
-$(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
-$(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
-copy docs\cgi-examples\printenv $(INSTALL)\$(BASEDIR)\cgi-bin\printenv.pl
$(MAKE) -C srclib/pcre -f NWGNUMakefile
include $(AP_WORK)\build\NWGNUtail.inc