NWGNUmakefile revision b8022feeb260e31994600a65c2193278838a4802
c7814cf6e1240a519cbec0441e033d0e2470ed00vboxsync# Declare the sub-directories to be built here
92a27575521748a392dcd1b996fce55b87411a00vboxsync# Get the 'head' of the build environment. This includes default targets and
92a27575521748a392dcd1b996fce55b87411a00vboxsync# paths to tools
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncinclude $(AP_WORK)\build\NWGNUhead.inc
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# build this level's files
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# Make sure all needed macro's are defined
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# These directories will be at the beginning of the include list, followed by
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncXINCDIRS += \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync $(AP_WORK)/include \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# These flags will come after CFLAGS
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncXCFLAGS += \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# These defines will come after DEFINES
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncXDEFINES += \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# These flags will be added to the link.opt file
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncXLFLAGS += \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync XDCData $(NWOS)\apache.xdc \
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsync# These values will be appended to the correct variables based on the value of
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncifeq "$(RELEASE)" "debug"
db3dbd0ed7eb69f804a8921fa23a1267ea01f46evboxsyncXINCDIRS += \
# $(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 \
@ws2nlm.imp \
@../main/dav.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
copy $(OBJDIR)\moddavfs.nlm $(INSTALL)\Apache2\modules
$(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
include $(AP_WORK)\build\NWGNUtail.inc