NWGNUmakefile revision eefba6d462b3c921c593f68bb4778f072a269c2b
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Declare the sub-directories to be built here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeSUBDIRS = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome srclib\apr \
199767f8919635c4928607450d9e0abb932109ceToomas Soome build \
199767f8919635c4928607450d9e0abb932109ceToomas Soome support \
199767f8919635c4928607450d9e0abb932109ceToomas Soome modules \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Get the 'head' of the build environment. This includes default targets and
199767f8919635c4928607450d9e0abb932109ceToomas Soome# paths to tools
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(AP_WORK)\build\NWGNUhead.inc
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# build this level's files
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Make sure all needed macro's are defined
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These directories will be at the beginning of the include list, followed by
199767f8919635c4928607450d9e0abb932109ceToomas Soome# INCDIRS
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXINCDIRS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/srclib/apr/include \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/srclib/include/arch/NetWare \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/srclib/apr-util/include \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/include \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/filters/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/generators/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/http/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/loggers/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/mappers/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/modules/proxy/ \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/os/NetWare \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/server/mpm/NetWare \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(AP_WORK)/srclib/pcre \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(NWOS) \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These flags will come after CFLAGS
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXCFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These defines will come after DEFINES
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXDEFINES += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These flags will be added to the link.opt file
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXLFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These values will be appended to the correct variables based on the value of
199767f8919635c4928607450d9e0abb932109ceToomas Soome# RELEASE
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soomeifeq "$(RELEASE)" "debug"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXINCDIRS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXCFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXDEFINES += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXLFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soomeendif
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeifeq "$(RELEASE)" "noopt"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXINCDIRS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXCFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXDEFINES += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXLFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soomeendif
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeifeq "$(RELEASE)" "release"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXINCDIRS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXCFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXDEFINES += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXLFLAGS += \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soomeendif
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These are used by the link target if an NLM is being generated
199767f8919635c4928607450d9e0abb932109ceToomas Soome# This is used by the link 'name' directive to name the nlm. If left blank
199767f8919635c4928607450d9e0abb932109ceToomas Soome# TARGET_nlm (see below) will be used.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_NAME = Apache2
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# This is used by the link '-desc ' directive.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If left blank, NLM_NAME will be used.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_DESCRIPTION = Apache Web Server
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# This is used by the '-threadname' directive. If left blank,
199767f8919635c4928607450d9e0abb932109ceToomas Soome# NLM_NAME Thread will be used.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_THREAD_NAME = Apache
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified, it will override VERSION value in
199767f8919635c4928607450d9e0abb932109ceToomas Soome# $(AP_WORK)\build\NWGNUenvironment.inc
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_VERSION =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified, it will override the default of 64K
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_STACK_SIZE = 65536
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified it will be used by the link '-entry' directive
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_ENTRY_SYM = _LibCPrelude
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified it will be used by the link '-exit' directive
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_EXIT_SYM = _LibCPostlude
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified it will be used by the link '-check' directive
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_CHECK_SYM = _LibCCheckUnload
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If these are specified it will be used by the link '-flags' directive
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeNLM_FLAGS = PSEUDOPREEMPTION
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified it will be linked in with the XDCData option in the def
199767f8919635c4928607450d9e0abb932109ceToomas Soome# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
199767f8919635c4928607450d9e0abb932109ceToomas Soome# by setting APACHE_UNIPROC in the environment
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeXDCDATA =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If there is an NLM target, put it here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTARGET_nlm = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/Apache2.nlm \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If there is an LIB target, put it here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeTARGET_lib = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These are the OBJ files needed to create the NLM target above.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Paths must all use the '/' character
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_nlm_objs = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/buildmark.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/config.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/connection.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/core.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/error_bucket.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/http_core.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/http_protocol.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/http_request.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/listen.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/log.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/main.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_access.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_actions.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_alias.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_asis.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_auth.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_autoindex.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_dir.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_env.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_imap.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_include.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_log_config.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_mime.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_negotiation.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_nw_ssl.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_setenvif.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_so.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mod_userdir.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/modules.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mpm_common.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/mpm_netware.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/pcre.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/pcreposix.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/protocol.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/request.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/rfc1413.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/scoreboard.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_cfgtree.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_charset.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_filter.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_md5.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_nw.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_script.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_time.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/util_xml.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(OBJDIR)/vhost.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These are the LIB files needed to create the NLM target above.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These will be added as a library command in the link.opt file.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_nlm_libs = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome libcpre.o \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These are the modules that the above NLM target depends on to load.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These will be added as a module command in the link.opt file.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_nlm_modules = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome aprlib \
199767f8919635c4928607450d9e0abb932109ceToomas Soome Libc \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If the nlm has a msg file, put it's path here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILE_nlm_msg =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If the nlm has a hlp file put it's path here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILE_nlm_hlp =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If this is specified, it will override $(NWOS)\copyright.txt.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILE_nlm_copyright =
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Any additional imports go here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_nlm_Ximports = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome @netware.imp \
199767f8919635c4928607450d9e0abb932109ceToomas Soome @$(APR)/aprlib.imp \
199767f8919635c4928607450d9e0abb932109ceToomas Soome @libc.imp \
199767f8919635c4928607450d9e0abb932109ceToomas Soome @ws2nlm.imp \
199767f8919635c4928607450d9e0abb932109ceToomas Soome GetCurrentAddressSpace \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Any symbols exported to here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_nlm_exports = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome @$(NWOS)/httpd.imp \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# These are the OBJ files needed to create the LIB target above.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Paths must all use the '/' character
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas SoomeFILES_lib_objs = \
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(EOLIST)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# implement targets and dependancies (leave this section alone)
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomelibs :: $(OBJDIR) $(TARGET_lib)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomenlms :: libs $(TARGET_nlm)
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Updated this target to create necessary directories and copy files to the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinstall :: nlms FORCE
199767f8919635c4928607450d9e0abb932109ceToomas Soome copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy ABOUT_APACHE $(INSTALL)\Apache2\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy README $(INSTALL)\Apache2\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy STATUS $(INSTALL)\Apache2\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy LICENSE $(INSTALL)\Apache2\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\cgi-examples\*. $(INSTALL)\Apache2\cgi-examples\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -awk -f build\mkconfnw.awk docs\conf\httpd-std.conf >$(INSTALL)\Apache2\conf\httpd.conf
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\conf\magic $(INSTALL)\Apache2\conf\magic
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\conf\mime.types $(INSTALL)\Apache2\conf\mime.types
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\error\*.* $(INSTALL)\Apache2\error\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\error\include\*.* $(INSTALL)\Apache2\error\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\docroot\*.* $(INSTALL)\Apache2\htdocs\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\icons\*.* $(INSTALL)\Apache2\icons\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\icons\small\*.* $(INSTALL)\Apache2\icons\small\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\man\*.* $(INSTALL)\Apache2\man\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\*.* $(INSTALL)\Apache2\manual\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\developer\*.* $(INSTALL)\Apache2\manual\developer
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\faq\*.* $(INSTALL)\Apache2\manual\faq
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\howto\*.* $(INSTALL)\Apache2\manual\howto
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\images\*.* $(INSTALL)\Apache2\manual\images
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\misc\*.* $(INSTALL)\Apache2\manual\misc
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\mod\*.* $(INSTALL)\Apache2\manual\mod
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\platform\*.* $(INSTALL)\Apache2\manual\platform
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\programs\*.* $(INSTALL)\Apache2\manual\programs
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\search\*.* $(INSTALL)\Apache2\manual\search
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy docs\manual\vhosts\*.* $(INSTALL)\Apache2\manual\vhosts
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinstalldev :: FORCE
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(NWOS))\include\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\Apache2\lib\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(APR))\arch\netware\include\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\Apache2\include\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome -copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Any specialized rules here
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: server/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/arch/netware/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/http/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/aaa/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/mappers/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/generators/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/metadata/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/filters/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: modules/loggers/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: os/netware/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: server/mpm/netware/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome$(OBJDIR)/%.o: srclib/pcre/%.c $(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome @echo compiling $<
199767f8919635c4928607450d9e0abb932109ceToomas Soome $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Include the 'tail' makefile that has targets that depend on variables defined
199767f8919635c4928607450d9e0abb932109ceToomas Soome# in this makefile
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soomeinclude $(AP_WORK)\build\NWGNUtail.inc
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome