NWGNUmakefile revision 036436f4f4cdcd76186c0058891216545967043b
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Declare the sub-directories to be built here
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUBDIRS = \
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg $(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
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# build this level's files
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These directories will be at the beginning of the include list, followed by
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg# INCDIRS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(NWOS) \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(APR)/include \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(AP_WORK)/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(APRUTIL)/include \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will come after CFLAGS
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXCFLAGS += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
b73cd3195994247cfba2842f4b794058384114cdfuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These defines will come after DEFINES
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These flags will be added to the link.opt file
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXLFLAGS += \
2b32c9f6c744852dcd34344add090be19d2f6fbbbnicholes $(EOLIST)
b3625b7b10590d60b077c1e1460c1394080c7cdefuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# These values will be appended to the correct variables based on the value of
c5ef27ed1cf15c6b6345335c51416d2ea36198bfbnicholes# RELEASE
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesifeq "$(RELEASE)" "debug"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXINCDIRS += \
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg $(EOLIST)
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
8492a2583e10c69f40de92f9d5da884b64d9f379fuankgXCFLAGS += \
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesXDEFINES += \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(EOLIST)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXLFLAGS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgendif
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifeq "$(RELEASE)" "noopt"
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXINCDIRS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
8492a2583e10c69f40de92f9d5da884b64d9f379fuankgXCFLAGS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXDEFINES += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXLFLAGS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgendif
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgifeq "$(RELEASE)" "release"
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXINCDIRS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXCFLAGS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankgXDEFINES += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgXLFLAGS += \
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg $(EOLIST)
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankgendif
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg#
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg# These are used by the link target if an NLM is being generated
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg# This is used by the link 'name' directive to name the nlm. If left blank
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg# TARGET_nlm (see below) will be used.
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_NAME = genchars
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This is used by the link '-desc ' directive.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If left blank, NLM_NAME will be used.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesNLM_DESCRIPTION = Generate Test Characters
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg#
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg# This is used by the '-threadname' directive. If left blank,
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg# NLM_NAME Thread will be used.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg#
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgNLM_THREAD_NAME = genchars
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg#
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg# If this is specified, it will override VERSION value in
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg# $(AP_WORK)\NWGNUNetWare.rul
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg#
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgNLM_VERSION = 1,0,0
b73cd3195994247cfba2842f4b794058384114cdfuankg
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg#
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg# If this is specified, it will override the default of 64K
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg#
34a74d61abaed4080bd369454c1f2f9730aeabaefuankgNLM_STACK_SIZE = 8192
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If this is specified it will be used by the link '-entry' directive
#
NLM_ENTRY_SYM =_LibCPrelude
#
# If this is specified it will be used by the link '-exit' directive
#
NLM_EXIT_SYM =_LibCPostlude
#
# If this is specified it will be used by the link '-check' directive
#
NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
NLM_FLAGS = PSEUDOPREEMPTION
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
# by setting APACHE_UNIPROC in the environment
#
XDCDATA =
#
# Declare all target files (you must add your files here)
#
#
# If there is an NLM target, put it here
#
TARGET_nlm = \
$(OBJDIR)/genchars.nlm \
$(EOLIST)
#
# If there is an LIB target, put it here
#
TARGET_lib = \
$(EOLIST)
#
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
#
FILES_nlm_objs = \
$(OBJDIR)/gen_test_char.o \
$(EOLIST)
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
#
FILES_nlm_libs = \
libcpre.o \
$(EOLIST)
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
Libc \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
@libc.imp \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place.
#
install :: nlms FORCE
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc