NWGNUmakefile revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# Declare the sub-directories to be built here
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# Get the 'head' of the build environment. This includes default targets and
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# paths to tools
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# build this level's files
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# Make sure all needed macro's are defined
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# These directories will be at the beginning of the include list, followed by
d6697ad2479099b816203fd2c36f593c72c73c76Christian Maeder $(APR)/include \
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder $(APRUTIL)/include \
16e124196c6b204769042028c74f533509c9b5d3Christian Maeder $(AP_WORK)/include \
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder $(LUASRC)/src \
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder# These flags will come after CFLAGS
f9e0b18852b238ddb649d341194e05d7200d1bbeChristian Maeder -opt nointrinsics \
# These flags will be added to the link.opt file
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/lua.lib \
$(OBJDIR)/mod_lua.o \
$(OBJDIR)/lua_apr.o \
$(OBJDIR)/lua_config.o \
$(OBJDIR)/lua_request.o \
$(OBJDIR)/lua_vmprep.o \
# These will be added as a library command in the link.opt file.
$(OBJDIR)/lua.lib \
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@aprlib.imp \
@httpd.imp \
@libc.imp \
$(patsubst $(LUASRC)/src/%.c,$(OBJDIR)/%.o, $(filter-out $(UNWANTED), $(wildcard $(LUASRC)/src/*.c))) \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc