NWGNUforensic revision 00d1c0c914426a97022d8205a875c48b211001c2
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# Declare the sub-directories to be built here
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# Get the 'head' of the build environment. This includes default targets and
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# paths to tools
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# build this level's files
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# Make sure all needed macro's are defined
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# These directories will be at the beginning of the include list, followed by
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina $(APR)/include \
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina $(APRUTIL)/include \
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina $(AP_WORK)/include \
c3a225d4d735d3a01883125592dda7a030a64e00Jakub Hrozek# These flags will come after CFLAGS
c3a225d4d735d3a01883125592dda7a030a64e00Jakub Hrozek# These defines will come after DEFINES
c3a225d4d735d3a01883125592dda7a030a64e00Jakub HrozekXDEFINES += \
c3a225d4d735d3a01883125592dda7a030a64e00Jakub Hrozek# These flags will be added to the link.opt file
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# These values will be appended to the correct variables based on the value of
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncioifeq "$(RELEASE)" "debug"
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březinaifeq "$(RELEASE)" "noopt"
c3a225d4d735d3a01883125592dda7a030a64e00Jakub HrozekXINCDIRS += \
c3a225d4d735d3a01883125592dda7a030a64e00Jakub HrozekXDEFINES += \
c3a225d4d735d3a01883125592dda7a030a64e00Jakub Hrozekifeq "$(RELEASE)" "release"
c3a225d4d735d3a01883125592dda7a030a64e00Jakub HrozekXINCDIRS += \
c3a225d4d735d3a01883125592dda7a030a64e00Jakub HrozekXDEFINES += \
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# These are used by the link target if an NLM is being generated
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# This is used by the link 'name' directive to name the nlm. If left blank
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# TARGET_nlm (see below) will be used.
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel BřezinaNLM_NAME = forensic
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# This is used by the link '-desc ' directive.
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# If left blank, NLM_NAME will be used.
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel BřezinaNLM_DESCRIPTION = Apache $(VERSION_STR) Forensic Logging Module
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# This is used by the '-threadname' directive. If left blank,
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# NLM_NAME Thread will be used.
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano FidêncioNLM_THREAD_NAME = Forensic Module
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# If this is specified, it will override VERSION value in
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano Fidêncio# If this is specified, it will override the default of 64K
851d31264c826d7e1bca38bb6d49e66b446707e7Fabiano FidêncioNLM_STACK_SIZE = 8192
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# If this is specified it will be used by the link '-entry' directive
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel BřezinaNLM_ENTRY_SYM =
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# If this is specified it will be used by the link '-exit' directive
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel BřezinaNLM_EXIT_SYM =
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# If this is specified it will be used by the link '-check' directive
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel BřezinaNLM_CHECK_SYM =
04e870d99e72aa3160bdb6ab05d986fb4005c3edPavel Březina# If these are specified it will be used by the link '-flags' directive
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/forensic.nlm \
$(OBJDIR)/mod_log_forensic.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.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc