NWGNUmakefile revision 084aee5bd4093a1b5e9b51d1ccfafc3948fa4109
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes srclib\apr \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes build \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes support \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes modules \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Get the 'head' of the build environment. This includes default targets and
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paths to tools
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(AP_WORK)\build\NWGNUhead.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# build this level's files
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Make sure all needed macro's are defined
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These directories will be at the beginning of the include list, followed by
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# INCDIRS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/srclib/apr/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/srclib/include/arch/NetWare \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/srclib/apr-util/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/filters/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/generators/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/http/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/loggers/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/mappers/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/modules/proxy/ \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/os/NetWare \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/server/mpm/NetWare \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/srclib/pcre \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(NWOS) \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will come after CFLAGS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These defines will come after DEFINES
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will be added to the link.opt file
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These values will be appended to the correct variables based on the value of
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# RELEASE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "debug"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "noopt"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "release"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are used by the link target if an NLM is being generated
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# TARGET_nlm (see below) will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_NAME = Apache2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the link '-desc ' directive.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If left blank, NLM_NAME will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_DESCRIPTION = Apache Web Server
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the '-threadname' directive. If left blank,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# NLM_NAME Thread will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_THREAD_NAME = Apache
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override VERSION value in
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# $(AP_WORK)\build\NWGNUenvironment.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_VERSION =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override the default of 64K
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_STACK_SIZE = 65536
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-entry' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_ENTRY_SYM = _LibCPrelude
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-exit' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_EXIT_SYM = _LibCPostlude
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-check' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_CHECK_SYM = _LibCCheckUnload
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If these are specified it will be used by the link '-flags' directive
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_FLAGS = PSEUDOPREEMPTION
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be linked in with the XDCData option in the def
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# by setting APACHE_UNIPROC in the environment
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDCDATA =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If there is an NLM target, put it here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARGET_nlm = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/Apache2.nlm \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If there is an LIB target, put it here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARGET_lib = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the OBJ files needed to create the NLM target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Paths must all use the '/' character
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_objs = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/buildmark.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/config.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/connection.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/core.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/error_bucket.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_core.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_protocol.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_request.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/listen.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/log.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/main.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_access.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_actions.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_alias.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_asis.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_auth.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_autoindex.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_dir.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_env.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_imap.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_include.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_log_config.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_mime.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_negotiation.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_nw_ssl.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_setenvif.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_so.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_userdir.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/modules.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mpm_common.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mpm_netware.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/pcre.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/pcreposix.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/protocol.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/request.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/rfc1413.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/scoreboard.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_cfgtree.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_charset.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_filter.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_md5.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_nw.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_script.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_time.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_xml.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/vhost.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the LIB files needed to create the NLM target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These will be added as a library command in the link.opt file.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_libs = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes libcpre.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the modules that the above NLM target depends on to load.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These will be added as a module command in the link.opt file.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_modules = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes aprlib \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes Libc \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If the nlm has a msg file, put it's path here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_msg =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If the nlm has a hlp file put it's path here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_hlp =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILE_nlm_copyright =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any additional imports go here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_Ximports = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @netware.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @$(APR)/aprlib.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @libc.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @ws2nlm.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes GetCurrentAddressSpace \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any symbols exported to here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_exports = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @$(NWOS)/httpd.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the OBJ files needed to create the LIB target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Paths must all use the '/' character
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_lib_objs = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# implement targets and dependancies (leave this section alone)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesnlms :: libs $(TARGET_nlm)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Updated this target to create necessary directories and copy files to the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall :: nlms FORCE
2e3a086879b1ac9681ea9ccf458096236f500dccbnicholes -copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy ABOUT_APACHE $(INSTALL)\Apache2\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy README $(INSTALL)\Apache2\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy STATUS $(INSTALL)\Apache2\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy LICENSE $(INSTALL)\Apache2\*.*
2e3a086879b1ac9681ea9ccf458096236f500dccbnicholes -copy CHANGES $(INSTALL)\Apache2\*.*
084aee5bd4093a1b5e9b51d1ccfafc3948fa4109bnicholes -copy support\dbmmanage.in $(INSTALL)\Apache2\bin\dbmmanage.pl
084aee5bd4093a1b5e9b51d1ccfafc3948fa4109bnicholes -copy support\logresolve.pl.in $(INSTALL)\Apache2\bin\logresolve.pl
be55fc5a54dc0e7c127e56e689e24714681276e8bnicholes -awk -f build\mkconfnw.awk docs\conf\httpd-std.conf.in >$(INSTALL)\Apache2\conf\httpd.conf
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy docs\conf\magic $(INSTALL)\Apache2\conf\magic
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy docs\conf\mime.types $(INSTALL)\Apache2\conf\mime.types
2e3a086879b1ac9681ea9ccf458096236f500dccbnicholes -copy docs\cgi-examples\printenv $(INSTALL)\Apache2\cgi-bin\printenv.pl
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo rem copying the docs directories > xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo xcopy docs\error $(INSTALL)\Apache2\error /E >> xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo xcopy docs\docroot $(INSTALL)\Apache2\htdocs /E >> xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo xcopy docs\icons $(INSTALL)\Apache2\icons /E >> xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo xcopy docs\man $(INSTALL)\Apache2\man /E >> xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes @echo xcopy docs\manual $(INSTALL)\Apache2\manual /E >> xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes $(CMD) xc.bat
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstalldev :: FORCE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(NWOS))\include\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\Apache2\lib\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(APR))\arch\netware\include\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\Apache2\include\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes -copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any specialized rules here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: server/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/arch/netware/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/http/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/aaa/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/mappers/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/generators/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/metadata/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/filters/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: modules/loggers/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: os/netware/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: server/mpm/netware/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(OBJDIR)/%.o: srclib/pcre/%.c $(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @echo compiling $<
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include the 'tail' makefile that has targets that depend on variables defined
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# in this makefile
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(AP_WORK)\build\NWGNUtail.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes