Makefile.in revision 3f1bfc7b542e90e72c712e2aa065bb3b5a611867
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversCLEAN_TARGETS = gen_test_char test_char.h gen_uri_delims uri_delims.h \
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversDISTCLEAN_TARGETS = httpd.exp
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversEXTRACLEAN_TARGETS = export_files exports.c export_vars.h
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversSUBDIRS = mpm
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversLTLIBRARY_NAME = libmain.la
0f59fe5171b5564fc6fb58f3281fbc259c45f7d0Kay SieversLTLIBRARY_SOURCES = \
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay Sievers util_script.c util_md5.c util_cfgtree.c util_ebcdic.c util_time.c \
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay Sievers mpm_common.c util_charset.c util_debug.c util_xml.c \
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay Sievers scoreboard.c error_bucket.c protocol.c core.c request.c provider.c
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversTARGETS = delete-exports $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay SieversPHONY_TARGETS = $(srcdir)/buildmark.c
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay Sieversinclude $(top_builddir)/build/rules.mk
ad8bc9ea508740074cead005aa3cfd1ba10a5dacTom Gunderseninclude $(top_srcdir)/build/library.mk
ad8bc9ea508740074cead005aa3cfd1ba10a5dacTom Gundersen cp $(srcdir)/buildmark.c $@
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidtgen_test_char_OBJECTS = gen_test_char.lo util_debug.lo
e6c253e363dee77ef7e5c5f44c4ca55cded3fd47Michal Schmidtgen_test_char: $(gen_test_char_OBJECTS)
8f27a2212ee8d6311c88ef4358953ad0d7bfa851Kay Sievers $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)
./gen_test_char > test_char.h
EXPORT_DIRS = $(top_srcdir)/include $(top_srcdir)/os/$(OS_DIR) $(APR_INCLUDEDIR) $(APU_INCLUDEDIR) $(top_srcdir)/modules/http
# when exports.c is generated, make will not detect that export_files is no
@if test -f exports.c; then \
headers="`find $$files -newer exports.c`"; \
echo Found newer headers. Will rebuild exports.c.; \
echo rm -f exports.c export_files; \
rm -f exports.c export_files; \
rm -f exports.c; \
tmp=export_files_unsorted.txt; \
exports.c: export_files
$(AWK) -f $(top_srcdir)/build/make_exports.awk `cat $?` > $@
export_vars.h: export_files
$(AWK) -f $(top_srcdir)/build/make_var_export.awk `cat $?` > $@
cat $(top_srcdir)/os/$(OS_DIR)/core_header.def > $@
$(CPP) $< $(ALL_CPPFLAGS) $(ALL_INCLUDES) | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/ "\1"/' >> $@
$(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | grep "^[a-z]" | sed -e 's/^\(.*\)$$/ "\1"/' >> $@
$(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@
$(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@