summaryrefslogtreecommitdiffstats
path: root/testing/apache-mod-backtrace/Makefile.in
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-01-07 12:09:45 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-09 11:50:24 +0000
commit00780f574164565d372cb9bcefcca3829279a5cf (patch)
treea5236d3ad3ee20341ccd2bd7681cdf02f0718529 /testing/apache-mod-backtrace/Makefile.in
parent2b3d0c1781a7f013366eb9e35bb0b9334cba8569 (diff)
downloadaports-00780f574164565d372cb9bcefcca3829279a5cf.tar.bz2
aports-00780f574164565d372cb9bcefcca3829279a5cf.tar.xz
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
Diffstat (limited to 'testing/apache-mod-backtrace/Makefile.in')
-rw-r--r--testing/apache-mod-backtrace/Makefile.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/apache-mod-backtrace/Makefile.in b/testing/apache-mod-backtrace/Makefile.in
new file mode 100644
index 000000000..0f55fcc5e
--- /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 <mcs@darkregion.net>, 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