NWGNUhtdbm revision 0662ed52e814f8f08ef0e09956413a792584eddf
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Make sure all needed macro's are defined
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Get the 'head' of the build environment if necessary. This includes default
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# targets and paths to tools
8804fd9936acd703073c4a75072852c38738a990Brian Wellingtonifndef EnvironmentDefined
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# These directories will be at the beginning of the include list, followed by
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark AndrewsXINCDIRS += \
f8020519b3170daf05fd37a6503468274ae57fedAndreas Gustafsson $(APR)/include \
d362465c77b375be2707bc83cebc731d0645d12dAutomatic Updater $(APRUTIL)/include \
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# These flags will come after CFLAGS
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# These defines will come after DEFINES
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# These flags will be added to the link.opt file
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# These values will be appended to the correct variables based on the value of
8804fd9936acd703073c4a75072852c38738a990Brian Wellingtonifeq "$(RELEASE)" "debug"
e3e3bafa138a20558a2253470effc01702fc6dfdBrian Wellingtonifeq "$(RELEASE)" "noopt"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeinifeq "$(RELEASE)" "release"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# These are used by the link target if an NLM is being generated
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# This is used by the link 'name' directive to name the nlm. If left blank
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# TARGET_nlm (see below) will be used.
8804fd9936acd703073c4a75072852c38738a990Brian WellingtonNLM_NAME = htdbm
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# This is used by the link '-desc ' directive.
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# If left blank, NLM_NAME will be used.
8804fd9936acd703073c4a75072852c38738a990Brian WellingtonNLM_DESCRIPTION = Apache $(VERSION_STR) HT Database Management Utility for NetWare
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# This is used by the '-threadname' directive. If left blank,
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# NLM_NAME Thread will be used.
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinNLM_THREAD_NAME = htdbm
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# This is used by the '-screenname' directive. If left blank,
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# 'Apache for NetWare' Thread will be used.
8804fd9936acd703073c4a75072852c38738a990Brian WellingtonNLM_SCREEN_NAME = htdbm Password Management
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# If this is specified, it will override VERSION value in
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinNLM_VERSION =
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# If this is specified, it will override the default of 64K
ab023a65562e62b85a824509d829b6fad87e00b1Rob AusteinNLM_STACK_SIZE = 8192
8804fd9936acd703073c4a75072852c38738a990Brian Wellington# If this is specified it will be used by the link '-entry' directive
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/htdbm.nlm \
$(OBJDIR)/htdbm.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.
@$(APR)/aprlib.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc