NWGNUmakefile revision 0662ed52e814f8f08ef0e09956413a792584eddf
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainen# Make sure all needed macro's are defined
85144b5f0bc763de14c7d87291a90ef74ac241a2Timo Sirainen# Get the 'head' of the build environment if necessary. This includes default
85144b5f0bc763de14c7d87291a90ef74ac241a2Timo Sirainen# targets and paths to tools
95a1a5195d56f3cf5d1e529aad668f87ad3b979bTimo Sirainenifndef EnvironmentDefined
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainen# These directories will be at the beginning of the include list, followed by
923eb3dde28e4d8841c14fd6b4a69635b7070c3eTimo Sirainen $(APR)/include \
923eb3dde28e4d8841c14fd6b4a69635b7070c3eTimo Sirainen $(APRUTIL)/include \
923eb3dde28e4d8841c14fd6b4a69635b7070c3eTimo Sirainen $(AP_WORK)/include \
923eb3dde28e4d8841c14fd6b4a69635b7070c3eTimo Sirainen $(LDAPSDK)/inc \
95a1a5195d56f3cf5d1e529aad668f87ad3b979bTimo Sirainen# These flags will come after CFLAGS
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainen# These defines will come after DEFINES
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainen#LDAP client requires the use of Winsock
ad48319996942463675b53877092ab7e13a7a75aTimo Sirainenifdef USE_STDSOCKETS
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo SirainenXDEFINES += -DUSE_WINSOCK \
7de1c472fd23ddac6b4dc5cbeee6fa6a8418b071Timo Sirainen# These flags will be added to the link.opt file
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainen# These values will be appended to the correct variables based on the value of
0ff139bf6c35ff615a2551e7e4f72a897e8a1341Timo Sirainenifeq "$(RELEASE)" "debug"
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/utilldap.nlm \
$(OBJDIR)/util_ldap.o \
$(OBJDIR)/util_ldap_cache.o \
$(OBJDIR)/util_ldap_cache_mgr.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 \
@$(NWOS)/httpd.imp \
@libc.imp \
@$(LDAPSDK)/imports/lldapsdk.imp \
@$(LDAPSDK)/imports/lldapssl.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc