e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This Makefile requires the environment var OSSLSDK
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# pointing to the base directory of your OpenSSL SDK.
16b55a35cff91315d261d1baa776138af465c4e4fuankg# If you want to use the Novell NTLS SDK instead then
16b55a35cff91315d261d1baa776138af465c4e4fuankg# define NTLSSDK pointing to the base directory of the
16b55a35cff91315d261d1baa776138af465c4e4fuankg# SDK, and also set USE_NTLS=1
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Declare the sub-directories to be built here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesSUBDIRS = \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Get the 'head' of the build environment. This includes default targets and
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# paths to tools
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(AP_WORK)/build/NWGNUhead.inc
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# build this level's files
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Make sure all needed macro's are defined
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
16b55a35cff91315d261d1baa776138af465c4e4fuankgifeq "$(USE_NTLS)" "1"
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_INC = $(NTLSSDK)/inc
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_LIB = $(NTLSSDK)/imp
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_BIN = $(NTLSSDK)/bin
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_APP = $(NTLSSDK)/apps
16b55a35cff91315d261d1baa776138af465c4e4fuankgifneq "$(wildcard $(SSL_INC)/openssl/opensslv.h)" "$(SSL_INC)/openssl/opensslv.h"
16b55a35cff91315d261d1baa776138af465c4e4fuankg$(error '$(NTLSSDK)' does NOT point to a valid NTLS SDK!)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
16b55a35cff91315d261d1baa776138af465c4e4fuankgelse
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_INC = $(OSSLSDK)/outinc_nw_libc
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_LIB = $(OSSLSDK)/out_nw_libc
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_BIN = $(OSSLSDK)/out_nw_libc
16b55a35cff91315d261d1baa776138af465c4e4fuankgSSL_APP = $(OSSLSDK)/apps
16b55a35cff91315d261d1baa776138af465c4e4fuankgifneq "$(wildcard $(SSL_INC)/openssl/opensslv.h)" "$(SSL_INC)/openssl/opensslv.h"
16b55a35cff91315d261d1baa776138af465c4e4fuankg$(error '$(OSSLSDK)' does NOT point to a valid OpenSSL SDK!)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These directories will be at the beginning of the include list, followed by
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# INCDIRS
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXINCDIRS += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(SSL_INC) \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APR)/include \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(APRUTIL)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SRC)/include \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(STDMOD)/cache \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(STDMOD)/generators \
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg $(SERVER)/mpm/NetWare \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(NWOS) \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These flags will come after CFLAGS
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXCFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These defines will come after DEFINES
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXDEFINES += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes -DHAVE_OPENSSL \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These flags will be added to the link.opt file
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXLFLAGS += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg -l $(SSL_LIB) \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These values will be appended to the correct variables based on the value of
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# RELEASE
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesifeq "$(RELEASE)" "debug"
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXINCDIRS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXCFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXDEFINES += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXLFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesendif
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesifeq "$(RELEASE)" "noopt"
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXINCDIRS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXCFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXDEFINES += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXLFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesendif
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesifeq "$(RELEASE)" "release"
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXINCDIRS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXCFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXDEFINES += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesXLFLAGS += \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesendif
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These are used by the link target if an NLM is being generated
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# This is used by the link 'name' directive to name the nlm. If left blank
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# TARGET_nlm (see below) will be used.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesNLM_NAME = mod_ssl
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# This is used by the link '-desc ' directive.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If left blank, NLM_NAME will be used.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
16b55a35cff91315d261d1baa776138af465c4e4fuankgifeq "$(USE_NTLS)" "1"
16b55a35cff91315d261d1baa776138af465c4e4fuankgNLM_DESCRIPTION = Apache $(VERSION_STR) SSL module (NTLS)
16b55a35cff91315d261d1baa776138af465c4e4fuankgelse
b387b9d37fc71c534f4718777454a8f5a1169017fuankgNLM_DESCRIPTION = Apache $(VERSION_STR) SSL module (OpenSSL)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# This is used by the '-threadname' directive. If left blank,
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# NLM_NAME Thread will be used.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
0b2a6b63977ab27352a0b525bdad1e1982a1c0b1bnicholesNLM_THREAD_NAME = $(NLM_NAME)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified, it will override VERSION value in
0662ed52e814f8f08ef0e09956413a792584eddffuankg# $(AP_WORK)/build/NWGNUenvironment.inc
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgNLM_VERSION =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified, it will override the default of 64K
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesNLM_STACK_SIZE = 8192
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified it will be used by the link '-entry' directive
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_ENTRY_SYM =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified it will be used by the link '-exit' directive
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_EXIT_SYM =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified it will be used by the link '-check' directive
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesNLM_CHECK_SYM =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified it will be used by the link '-flags' directive
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
0662ed52e814f8f08ef0e09956413a792584eddffuankgNLM_FLAGS =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# If this is specified it will be linked in with the XDCData option in the def
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# by setting APACHE_UNIPROC in the environment
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgXDCDATA =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Declare all target files (you must add your files here)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If there is an NLM target, put it here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesTARGET_nlm = \
0b2a6b63977ab27352a0b525bdad1e1982a1c0b1bnicholes $(OBJDIR)/$(NLM_NAME).nlm \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If there is an LIB target, put it here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesTARGET_lib = \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These are the OBJ files needed to create the NLM target above.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Paths must all use the '/' character
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
38a5d7d5966cc1b30d0a1cdac9cea0023eabd6f8fuankgFILES_nlm_objs := $(patsubst %.c,$(OBJDIR)/%.o,$(filter-out $(wildcard *ssl_ct*.c),$(wildcard *.c)))
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These are the LIB files needed to create the NLM target above.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These will be added as a library command in the link.opt file.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_nlm_libs = \
cf7ca2f9eaa6523fefcccba4287b91637391fb51fuankg $(PRELUDE) \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
16b55a35cff91315d261d1baa776138af465c4e4fuankgifneq "$(USE_NTLS)" "1"
16b55a35cff91315d261d1baa776138af465c4e4fuankgFILES_nlm_libs += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(SSL_LIB)/crypto.lib \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(SSL_LIB)/ssl.lib \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(EOLIST)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
16b55a35cff91315d261d1baa776138af465c4e4fuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These are the modules that the above NLM target depends on to load.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These will be added as a module command in the link.opt file.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_nlm_modules = \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes Apache2 \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes Libc \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
16b55a35cff91315d261d1baa776138af465c4e4fuankgifeq "$(USE_NTLS)" "1"
16b55a35cff91315d261d1baa776138af465c4e4fuankgFILES_nlm_modules += ntls \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(EOLIST)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
16b55a35cff91315d261d1baa776138af465c4e4fuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If the nlm has a msg file, put it's path here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILE_nlm_msg =
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If the nlm has a hlp file put it's path here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILE_nlm_hlp =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILE_nlm_copyright =
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Any additional imports go here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_nlm_Ximports = \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes @libc.imp \
8ffac2c334103c0336602aaede650cb578611151fuankg @aprlib.imp \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes @httpd.imp \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Don't link with Winsock if standard sockets are being used
16b55a35cff91315d261d1baa776138af465c4e4fuankgifneq "$(USE_STDSOCKETS)" "1"
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_nlm_Ximports += @ws2nlm.imp \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesendif
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
16b55a35cff91315d261d1baa776138af465c4e4fuankgifeq "$(USE_NTLS)" "1"
16b55a35cff91315d261d1baa776138af465c4e4fuankgFILES_nlm_Ximports += @ntls.imp \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(EOLIST)
16b55a35cff91315d261d1baa776138af465c4e4fuankgelse
16b55a35cff91315d261d1baa776138af465c4e4fuankgFILES_nlm_Ximports += \
16b55a35cff91315d261d1baa776138af465c4e4fuankg GetProcessSwitchCount \
16b55a35cff91315d261d1baa776138af465c4e4fuankg RunningProcess \
16b55a35cff91315d261d1baa776138af465c4e4fuankg GetSuperHighResolutionTimer \
16b55a35cff91315d261d1baa776138af465c4e4fuankg $(EOLIST)
16b55a35cff91315d261d1baa776138af465c4e4fuankgendif
16b55a35cff91315d261d1baa776138af465c4e4fuankg
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Any symbols exported to here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_nlm_exports = \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes ssl_module \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# These are the OBJ files needed to create the LIB target above.
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Paths must all use the '/' character
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesFILES_lib_objs = \
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes $(EOLIST)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# implement targets and dependancies (leave this section alone)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholeslibs :: $(OBJDIR) $(TARGET_lib)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesnlms :: libs $(TARGET_nlm)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Updated this target to create necessary directories and copy files to the
0662ed52e814f8f08ef0e09956413a792584eddffuankg# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholesinstall :: nlms FORCE
00d1c0c914426a97022d8205a875c48b211001c2fuankg $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
00d1c0c914426a97022d8205a875c48b211001c2fuankg $(call COPY,$(SSL_BIN)/openssl.nlm, $(INSTALLBASE)/bin/)
00d1c0c914426a97022d8205a875c48b211001c2fuankg $(call COPY,$(SSL_APP)/openssl.cnf, $(INSTALLBASE)/bin/)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Any specialized rules here
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankgvpath %.c $(STDMOD)/arch/netware
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# Include the 'tail' makefile that has targets that depend on variables defined
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes# in this makefile
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes#
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
0662ed52e814f8f08ef0e09956413a792584eddffuankginclude $(APBUILD)/NWGNUtail.inc
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes
e76fdcdfb8994ad70776526f50fa013b3e9a6033bnicholes