NWGNUmakefile revision 7190e58eec40192c9719d2f2593471eda14e7e7c
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg# Define our required macro's if not already done.
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg#
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifndef AP_WORK
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgexport AP_WORK = $(CURDIR)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifndef APR_WORK
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifeq "$(wildcard $(AP_WORK)/srclib/apr)" "$(AP_WORK)/srclib/apr"
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgexport APR_WORK = $(AP_WORK)/srclib/apr
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifneq "$(wildcard $(APR_WORK)/include/apr_version.h)" "$(APR_WORK)/include/apr_version.h"
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg$(error APR_WORK does not point to a valid APR source tree)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifndef APU_WORK
7190e58eec40192c9719d2f2593471eda14e7e7cfuankgifeq "$(wildcard $(AP_WORK)/srclib/apr-util)" "$(AP_WORK)/srclib/apr-util"
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgexport APU_WORK = $(AP_WORK)/srclib/apr-util
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifndef APU_WORK
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifeq "$(wildcard $(APR_WORK)/include/apu_version.h)" "$(APR_WORK)/include/apu_version.h"
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgexport APU_WORK = $(APR_WORK)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgifneq "$(wildcard $(APU_WORK)/include/apu_version.h)" "$(APU_WORK)/include/apu_version.h"
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg$(error APU_WORK does not point to a valid APU source tree)
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankgendif
95ca7cc2aa11b41497ffab3a1003bc09d24b6bc1fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APR_WORK) \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes build \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes support \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes modules \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(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 += \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APR)/include \
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes $(APRUTIL)/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(AP_WORK)/include \
f7d723f1ad88ed006c6caf4c2c6604b7c59dd172bnicholes $(AP_WORK)/modules/aaa/ \
f300a833b20ab4dee4839f186ebb01a488c59752fuankg $(AP_WORK)/modules/core \
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 \
148d643cf7bf8b3067f3d949e3e01e27d4c8b4fcbnicholes $(PCRESDK) \
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 += \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesendif
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "noopt"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(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#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgNLM_NAME = Apache2
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg# This is used by the link '-desc ' directive.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If left blank, NLM_NAME will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
6c080a25f5991f40225209541c989d7e76c4a39dbnicholesNLM_DESCRIPTION = Apache Web Server $(VERSION_STR) $(VERSION_SKT)
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
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes#
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes# This is used by the '-screenname' directive. If left blank,
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes# 'Apache for NetWare' Thread will be used.
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes#
036436f4f4cdcd76186c0058891216545967043bbnicholesNLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes
41022996c916eb4ab2ec3204eb491b64779eb100bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg# If this is specified, it will override VERSION value in
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# $(AP_WORK)\build\NWGNUenvironment.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgNLM_VERSION =
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified, it will override the default of 64K
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_STACK_SIZE = 65536
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
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#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgNLM_FLAGS = PSEUDOPREEMPTION
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg# 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#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankgXDCDATA =
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 \
56ab8639aed4d3b2f031d9c1160c5f40af01bdebjerenkrantz $(OBJDIR)/core_filters.o \
286fed73f9d1474652034465d4048247c6e7341fbnicholes $(OBJDIR)/eoc_bucket.o \
be88e49281c5becee364ab9c6a0576f9b9844e0fbnicholes $(OBJDIR)/eor_bucket.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/error_bucket.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_core.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_protocol.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/http_request.o \
56ab8639aed4d3b2f031d9c1160c5f40af01bdebjerenkrantz $(OBJDIR)/byterange_filter.o \
56ab8639aed4d3b2f031d9c1160c5f40af01bdebjerenkrantz $(OBJDIR)/chunk_filter.o \
56ab8639aed4d3b2f031d9c1160c5f40af01bdebjerenkrantz $(OBJDIR)/http_etag.o \
56ab8639aed4d3b2f031d9c1160c5f40af01bdebjerenkrantz $(OBJDIR)/http_filters.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/listen.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/log.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/main.o \
f7d723f1ad88ed006c6caf4c2c6604b7c59dd172bnicholes $(OBJDIR)/mod_authn_core.o \
f7d723f1ad88ed006c6caf4c2c6604b7c59dd172bnicholes $(OBJDIR)/mod_authz_core.o \
4f935de4900dc064a1e145be5e48f6af77ac24fcbnicholes $(OBJDIR)/mod_authz_host.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_alias.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_dir.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_env.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_include.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_log_config.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_mime.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_negotiation.o \
e961abd49ab1b184b356f63591d37083a5651451bnicholes $(OBJDIR)/mod_netware.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_setenvif.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mod_so.o \
5f2aaa2483c4526d7930df4a0e5844c1b7b6c9c0fuankg $(OBJDIR)/mod_watchdog.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/modules.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mpm_common.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/mpm_netware.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/pcre.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/protocol.o \
440cda576ca9ff6476e4a04bdb253c5023da15eejerenkrantz $(OBJDIR)/provider.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/request.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/scoreboard.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_cfgtree.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_charset.o \
4a59e9d628fb857a45d516ad1cdc2a3499427e97fuankg $(OBJDIR)/util_cookies.o \
6f2fa094a76c27135a9825ca9492f9db0a1a3bc9bnicholes $(OBJDIR)/util_debug.o \
78a20a6e7ad3a0229900ee54c7d11a65f647b663niq $(OBJDIR)/util_expr.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_filter.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_md5.o \
91f672664302529bb620e3265cccd861661d258cbnicholes $(OBJDIR)/util_mutex.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_nw.o \
3163ad7b2076b0f6961dc1a1ddaa06b240eecb7cjorton $(OBJDIR)/util_pcre.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_script.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_time.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/util_xml.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(OBJDIR)/vhost.o \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes# Build in mod_nw_ssl if Winsock is being used
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesifndef USE_STDSOCKETS
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesFILES_nlm_objs += $(OBJDIR)/mod_nw_ssl.o \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(EOLIST)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesendif
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
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 = \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg 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 =
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
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 GetCurrentAddressSpace \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Don't link with Winsock if standard sockets are being used
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesifndef USE_STDSOCKETS
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesFILES_nlm_Ximports += @ws2nlm.imp \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(EOLIST)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesendif
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any symbols exported to here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_nlm_exports = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @$(NWOS)/httpd.imp \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These are the OBJ files needed to create the LIB target above.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Paths must all use the '/' character
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFILES_lib_objs = \
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg $(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#
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg# Updated this target to create necessary directories and copy files to the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
25b3aa26ee94824bb1e9ff2631aa1588b37e5f72fuankginstall :: nlms instscripts FORCE
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(OBJDIR)\Apache2.nlm $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy ABOUT_APACHE $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy README $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy STATUS $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy LICENSE $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy CHANGES $(INSTALL)\$(BASEDIR)\*.*
03ff116275bf4439816b8af6ea3ddabd469f8365fuankg -copy VERSIONING $(INSTALL)\$(BASEDIR)\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy support\dbmmanage.in $(INSTALL)\$(BASEDIR)\bin\dbmmanage.pl
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy support\logresolve.pl.in $(INSTALL)\$(BASEDIR)\bin\logresolve.pl
03ff116275bf4439816b8af6ea3ddabd469f8365fuankg -copy support\split-logfile.in $(INSTALL)\$(BASEDIR)\bin\split-logfile.pl
4883fd339815130dbe680e816ef00256e10b844ffuankg -$(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
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes $(CHKNOT) $(INSTALL)\$(BASEDIR)\conf\extra\nul mkdir $(INSTALL)\$(BASEDIR)\conf\extra
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-autoindex.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-autoindex.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-dav.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-dav.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-default.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-default.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-info.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-info.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-languages.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-languages.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-manual.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-manual.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-mpm.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-mpm.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-multilang-errordoc.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-multilang-errordoc.conf
755d7c84cbdd7bad94beede1d6b5a6526d3a1ccdfuankg -$(AWK) -v BDIR=$(BASEDIR) -f build\mkconfnw.awk docs\conf\extra\httpd-userdir.conf.in >$(INSTALL)\$(BASEDIR)\conf\extra\httpd-userdir.conf
4883fd339815130dbe680e816ef00256e10b844ffuankg -$(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
4883fd339815130dbe680e816ef00256e10b844ffuankg -$(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
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy docs\conf\magic $(INSTALL)\$(BASEDIR)\conf\magic
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy docs\conf\mime.types $(INSTALL)\$(BASEDIR)\conf\mime.types
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy docs\conf\charset.conv $(INSTALL)\$(BASEDIR)\conf\charset.conv
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy docs\cgi-examples\printenv $(INSTALL)\$(BASEDIR)\cgi-bin\printenv.pl
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg @xcopy $(XCOPYSW) docs\error $(INSTALL)\$(BASEDIR)\error
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg @xcopy $(XCOPYSW) docs\docroot $(INSTALL)\$(BASEDIR)\htdocs
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg @xcopy $(XCOPYSW) docs\icons $(INSTALL)\$(BASEDIR)\icons
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg @xcopy $(XCOPYSW) docs\man $(INSTALL)\$(BASEDIR)\man
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg @xcopy $(XCOPYSW) docs\manual $(INSTALL)\$(BASEDIR)\manual
0f7cc4b1d3c42262bcdced99f682778963e83ea7bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstalldev :: FORCE
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\$(BASEDIR)\include\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\$(BASEDIR)\include\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\$(BASEDIR)\lib\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\$(BASEDIR)\include\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\$(BASEDIR)\include\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(APR))\*.imp $(INSTALL)\$(BASEDIR)\lib\*.*
f2f3f241c00a7a4bd597e57a19023940e072918abnicholes -copy $(subst /,\,$(NWOS))\*.xdc $(INSTALL)\$(BASEDIR)\lib\*.*
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg
273e1eccdc9e5b94f1e3e13e3ffca7360b6f461fbnicholesprebuild :: FORCE
273e1eccdc9e5b94f1e3e13e3ffca7360b6f461fbnicholes $(MAKE) -C server -f NWGNUMakefile
148d643cf7bf8b3067f3d949e3e01e27d4c8b4fcbnicholes $(MAKE) -C $(PCRESDK) -f NWGNUMakefile
273e1eccdc9e5b94f1e3e13e3ffca7360b6f461fbnicholes $(CHKNOT) $(PREBUILD_INST)\nul mkdir $(PREBUILD_INST)
273e1eccdc9e5b94f1e3e13e3ffca7360b6f461fbnicholes -copy $(AP_WORK)\server\$(OBJDIR)\*.nlm $(PREBUILD_INST)\*.*
148d643cf7bf8b3067f3d949e3e01e27d4c8b4fcbnicholes -copy $(PCRESDK)\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
273e1eccdc9e5b94f1e3e13e3ffca7360b6f461fbnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Any specialized rules here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
8410c53aaf5e0372a19d5f4d2bc696b9c609ce3cbnicholesvpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers
8410c53aaf5e0372a19d5f4d2bc696b9c609ce3cbnicholesvpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers
f300a833b20ab4dee4839f186ebb01a488c59752fuankgvpath %.c modules/core:os/netware:server/mpm/netware:$(PCRESDK)
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
25b3aa26ee94824bb1e9ff2631aa1588b37e5f72fuankginclude $(AP_WORK)\build\NWGNUscripts.inc
25b3aa26ee94824bb1e9ff2631aa1588b37e5f72fuankg
ce22ce4743d79a889dca64df4459c598e2c188c7fuankg