From 00780f574164565d372cb9bcefcca3829279a5cf Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Fri, 7 Jan 2011 12:09:45 -0600 Subject: new aport: testing/apache-mod-backtrace A module which uses system functions to format a backtrace to show what code did the dirty deed. http://people.apache.org/~trawick/exception_hook.html --- testing/apache-mod-backtrace/Makefile.in | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/apache-mod-backtrace/Makefile.in (limited to 'testing/apache-mod-backtrace/Makefile.in') diff --git a/testing/apache-mod-backtrace/Makefile.in b/testing/apache-mod-backtrace/Makefile.in new file mode 100644 index 0000000000..0f55fcc5e3 --- /dev/null +++ b/testing/apache-mod-backtrace/Makefile.in @@ -0,0 +1,35 @@ +# +# Makefile for mod_backtrace +# +# Based off of Makefile for mod_auth_ntlm_winbind by +# Matt Smith , 2011/01/04 +# + +# Programs + +APXS = @APXS@ +APXS_FLAGS = @APXS_FLAGS@ +SODIR = @SODIR@ +APXSLIBDIR=$(DESTDIR)/$(shell $(APXS) -q LIBEXECDIR) + +# Build the dso +MOD_BACKTRACE_SRC = mod_backtrace.c + +$(SODIR)mod_backtrace.so: $(MOD_BACKTRACE_SRC) + $(APXS) $(APXS_FLAGS) -Wc,-Wall -c -lexecinfo $(MOD_BACKTRACE_SRC) + +install: $(SODIR)mod_backtrace.so + $(APXS) $(APXS_FLAGS) -S LIBEXECDIR=$(APXSLIBDIR) -n backtrace -i $(SODIR)mod_backtrace.so + +# Clean targets +clean: + @rm -f *~ $(MOD_BACKTRACE_SRC:.c=.{la,lo,o,slo}) + @rm -rf $(SODIR) + +realclean: clean + @rm -f config.log + +distclean: realclean + @rm -f config.h Makefile \ + config.status config.cache + @rm -rf autom4te.cache -- cgit v1.2.3