NWGNUproxy revision 0662ed52e814f8f08ef0e09956413a792584eddf
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith# Make sure all needed macro's are defined
830942dd35b8923359649312679641a5de751291Luke Smith# Get the 'head' of the build environment if necessary. This includes default
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith# targets and paths to tools
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smithifndef EnvironmentDefined
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smithinclude $(AP_WORK)/build/NWGNUhead.inc
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith# These directories will be at the beginning of the include list, followed by
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXINCDIRS += \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith $(APR)/include \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith $(APRUTIL)/include \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith $(AP_WORK)/include \
16479f9c396537f36d0d9c5633b24df618eee1e6Luke Smith# These flags will come after CFLAGS
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith# These defines will come after DEFINES
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXDEFINES += \
830942dd35b8923359649312679641a5de751291Luke Smith# These flags will be added to the link.opt file
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smith# These values will be appended to the correct variables based on the value of
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smithifeq "$(RELEASE)" "debug"
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXINCDIRS += \
ed51daad3a3ab15255ca10edef69d5f703d69adbLuke SmithXDEFINES += \
c31ae0e3c3d2726907b1876b5fe81cfd94527d5dLuke Smithifeq "$(RELEASE)" "noopt"
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXINCDIRS += \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXDEFINES += \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke Smithifeq "$(RELEASE)" "release"
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXINCDIRS += \
dffa577a92ada48777e8e79f5d38dff47cb150c4Luke SmithXDEFINES += \
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/proxy.nlm \
$(OBJDIR)/mod_proxy.o \
$(OBJDIR)/proxy_util.o \
$(OBJDIR)/libprews.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 \
FILES_nlm_Ximports += @ws2nlm.imp \
@$(OBJDIR)/mod_proxy.imp \
nlms :: libs $(OBJDIR)/mod_proxy.imp $(TARGET_nlm)
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
vpath %.c ../arch/netware
$(OBJDIR)/mod_proxy.imp:
include $(APBUILD)/NWGNUtail.inc