NWGNUsession_crypto revision 8ffac2c334103c0336602aaede650cb578611151
181e56d8b348d301d615ccf5465ae600fee2867berikabele# Make sure all needed macro's are defined
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# Get the 'head' of the build environment if necessary. This includes default
5a58787efeb02a1c3f06569d019ad81fd2efa06end# targets and paths to tools
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimifndef EnvironmentDefined
7add1372edb1ee95a2c4d1314df4c7567bda7c62jiminclude $(AP_WORK)/build/NWGNUhead.inc
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz# These directories will be at the beginning of the include list, followed by
5a58787efeb02a1c3f06569d019ad81fd2efa06endXINCDIRS += \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim $(APR)/include \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd $(APRUTIL)/include \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim $(AP_WORK)/include \
654d8eb036bedc99e90e11910ee02d3421417697rbowen# These flags will come after CFLAGS
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimXCFLAGS += \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# These defines will come after DEFINES
5a58787efeb02a1c3f06569d019ad81fd2efa06endXDEFINES += \
aaf7b7f4cc1be050310c3d7f48bce0ec67e174e4nd# These flags will be added to the link.opt file
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowenXLFLAGS += \
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# These values will be appended to the correct variables based on the value of
59c15ce2922cf16717326159168f26f628345a82rbowenifeq "$(RELEASE)" "debug"
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXINCDIRS += \
59c15ce2922cf16717326159168f26f628345a82rbowenXCFLAGS += \
59c15ce2922cf16717326159168f26f628345a82rbowenXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXLFLAGS += \
59c15ce2922cf16717326159168f26f628345a82rbowenifeq "$(RELEASE)" "noopt"
59c15ce2922cf16717326159168f26f628345a82rbowenXINCDIRS += \
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowenXCFLAGS += \
181e56d8b348d301d615ccf5465ae600fee2867berikabeleXDEFINES += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveifeq "$(RELEASE)" "release"
181e56d8b348d301d615ccf5465ae600fee2867berikabeleXINCDIRS += \
b442af56a5e2104663b84fb345c070ce185d4ab3sliveXDEFINES += \
5383fa753e1bcd3a04ec34ba9810d671302380f2colmXLFLAGS += \
b442af56a5e2104663b84fb345c070ce185d4ab3slive# These are used by the link target if an NLM is being generated
b442af56a5e2104663b84fb345c070ce185d4ab3slive# This is used by the link 'name' directive to name the nlm. If left blank
20189240503ef2c8f5dc6e2248b57faab4b23b5and# TARGET_nlm (see below) will be used.
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowenNLM_NAME = session_crypto
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowen# This is used by the link '-desc ' directive.
4566c682d671cfda9cfcb77ea3f8e3fb8a265010trawick# If left blank, NLM_NAME will be used.
4566c682d671cfda9cfcb77ea3f8e3fb8a265010trawickNLM_DESCRIPTION = Apache $(VERSION_STR) Session Crypto Module
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# This is used by the '-threadname' directive. If left blank,
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# NLM_NAME Thread will be used.
4566c682d671cfda9cfcb77ea3f8e3fb8a265010trawickNLM_THREAD_NAME = SessionCrypto Module
59c15ce2922cf16717326159168f26f628345a82rbowen# If this is specified, it will override VERSION value in
ef26e16090b1b00e96bb5eb1bee6f9cee4651466jwoolleyNLM_VERSION =
4566c682d671cfda9cfcb77ea3f8e3fb8a265010trawick# If this is specified, it will override the default of 64K
c0c6c6e1fc6d75274623ec07b635725c5ffaaa20rbowenNLM_STACK_SIZE = 8192
b442af56a5e2104663b84fb345c070ce185d4ab3slive# If this is specified it will be used by the link '-entry' directive
b4600e71d7e8201b3c14c67f4ef873cadd4c1d17trawickNLM_ENTRY_SYM =
b442af56a5e2104663b84fb345c070ce185d4ab3slive# If this is specified it will be used by the link '-exit' directive
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemNLM_EXIT_SYM =
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# If this is specified it will be used by the link '-check' directive
5a58787efeb02a1c3f06569d019ad81fd2efa06endNLM_CHECK_SYM =
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# If these are specified it will be used by the link '-flags' directive
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# If this is specified it will be linked in with the XDCData option in the def
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki# by setting APACHE_UNIPROC in the environment
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# If there is an NLM target, put it here
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimTARGET_nlm = \
b1ced323143ade589985456a78f3f64d6a6580c5yoshiki $(OBJDIR)/$(NLM_NAME).nlm \
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim# If there is an LIB target, put it here
7add1372edb1ee95a2c4d1314df4c7567bda7c62jimTARGET_lib = \
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# These are the OBJ files needed to create the NLM target above.
50039065d571fe01fd458a3f031c995a1fd53c22rbowen# Paths must all use the '/' character
5a58787efeb02a1c3f06569d019ad81fd2efa06endFILES_nlm_objs = \
$(OBJDIR)/mod_session_crypto.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
vpath %.c ../arch/netware
include $(APBUILD)/NWGNUtail.inc