NWGNUmakefile revision 609ef720afd62ca63391c9fdb415cd2faf29aa46
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# Declare the sub-directories to be built here
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# Get the 'head' of the build environment. This includes default targets and
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# paths to tools
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smithinclude $(AP_WORK)\build\NWGNUhead.inc
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# build this level's files
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# Make sure all needed macro's are defined
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# These directories will be at the beginning of the include list, followed by
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke SmithXINCDIRS += \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith $(APR)/include \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith $(APRUTIL)/include \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith $(AP_WORK)/include \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# These flags will come after CFLAGS
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# These defines will come after DEFINES
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke SmithXDEFINES += \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# These flags will be added to the link.opt file
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smith# These values will be appended to the correct variables based on the value of
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke Smithifeq "$(RELEASE)" "debug"
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke SmithXINCDIRS += \
021383d5b6e57dcc00cc55f7a4d715b3e8720ba2Luke SmithXDEFINES += \
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smithifeq "$(RELEASE)" "noopt"
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke SmithXINCDIRS += \
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke SmithXDEFINES += \
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smithifeq "$(RELEASE)" "release"
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke SmithXINCDIRS += \
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke SmithXDEFINES += \
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# These are used by the link target if an NLM is being generated
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# This is used by the link 'name' directive to name the nlm. If left blank
e7eae9b3ca0194e8c08f10b485269a2cdb28b450Luke Smith# TARGET_nlm (see below) will be used.
# $(AP_WORK)\build\NWGNUenvironment.inc
$(OBJDIR)/moddavfs.nlm \
$(OBJDIR)/mod_dav_fs.o \
$(OBJDIR)/dbm.o \
$(OBJDIR)/lock.o \
$(OBJDIR)/repos.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.
@libc.imp \
@$(APR)/aprlib.imp \
@httpd.imp \
@../main/dav.imp \
FILES_nlm_Ximports += @ws2nlm.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
copy $(OBJDIR)\moddavfs.nlm $(INSTALL)\Apache2\modules
vpath %.c ../../arch/netware
include $(AP_WORK)\build\NWGNUtail.inc