summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorlaforge <laforge>2005-10-02 17:52:13 +0000
committerlaforge <laforge>2005-10-02 17:52:13 +0000
commit936e615424b0b77c112a1e5c5fab1045f569bbf1 (patch)
tree435f9ac16d3fb45ef8ce401eddcead5d6388451d /Makefile.in
parent778a2f3ddcd69804ff5e948b8dd119609356501b (diff)
more work towards automake'ing
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in80
1 files changed, 0 insertions, 80 deletions
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 1661f72..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-include @top_srcdir@/Rules.make
-CFLAGS+=-I@top_srcdir@/libipulog/include -I@top_srcdir@/include
-
-SUBDIRS=conffile libipulog doc input/flow input/packet filter/raw2packet filter/packet2flow output
-
-ifeq (x@MYSQLINCLUDES@,x)
-else
-SUBDIRS+=output/mysql
-endif
-
-ifeq (x@PGSQLINCLUDES@,x)
-else
-SUBDIRS+=output/pgsql
-endif
-
-ifeq (x@HAVE_PCAP_H@,x)
-else
-SUBDIRS+=output/pcap
-endif
-
-
-ULOGD_VERSION=2.00
-OLD_ULOGD_VERSION=1.23
-
-# Normally You should not need to change anything below
-
-all: recurse ulogd
-
-.PHONY: distclean
-distclean: clean
- @for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
- rm -f Makefile config.cache config.log config.status Rules.make
-
-.PHONY: distrib
-distrib: check distclean delrelease $(RELEASE_DIR)/ulogd-$(ULOGD_VERSION).tar.bz2 diff md5sums
-
-.PHONY: check
-check:
- @if echo $(CFLAGS) | egrep -e '-g|-pg' > /dev/null; then echo Remove debugging flags; exit 1; else exit 0; fi
-
-.PHONY: delrelease
-delrelease:
- rm -f $(RELEASE_DIR)/ulogd-$(ULOGD_VERSION).tar.bz2
-
-$(RELEASE_DIR)/ulogd-$(ULOGD_VERSION).tar.bz2:
- cd .. & ln -sf ulogd ulogd-$(ULOGD_VERSION) && tar cvf - --exclude CVS --exclude .svn ulogd-$(ULOGD_VERSION)/. | bzip2 -9 > $@ && rm ulogd-$(ULOGD_VERSION)
-
-.PHONY: diff
-diff: $(RELEASE_DIR)/ulogd-$(ULOGD_VERSION).tar.bz2
- @mkdir /tmp/diffdir
- @cd /tmp/diffdir && tar -x --bzip2 -f $(RELEASE_DIR)/ulogd-$(ULOGD_VERSION).tar.bz2
- @set -e; cd /tmp/diffdir; tar -x --bzip2 -f $(RELEASE_DIR)/ulogd-$(OLD_ULOGD_VERSION).tar.bz2; echo Creating patch-ulogd-$(OLD_ULOGD_VERSION)-$(ULOGD_VERSION).bz2; diff -urN ulogd-$(OLD_ULOGD_VERSION) ulogd-$(ULOGD_VERSION) | bzip2 -9 > $(RELEASE_DIR)/patch-ulogd-$(OLD_ULOGD_VERSION)-$(ULOGD_VERSON).bz2
-
-recurse:
- @for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
-
-ulogd: ulogd.c select.c conffile/conffile.o
- $(CC) $(CFLAGS) -rdynamic $^ conffile/conffile.o -o $@ $(LIBS)
-
-edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'
-
-ulogd.conf: ulogd.conf.in
- $(edit) ulogd.conf.in > ulogd.conf
-
-clean:
-# rm -f ulogd *.o extensions/*.o extensions/*.so conffile/*.o
- rm -f ulogd ulogd.o ulogd.conf
- @for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
-
-install: all
- @for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
- @[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
- @INSTALL@ -D -m 755 ulogd $(DESTDIR)$(BINDIR)/ulogd
- @[ -d $(DESTDIR)$(ETCDIR) ] || mkdir -p $(DESTDIR)$(ETCDIR)
- @[ -f $(DESTDIR)$(ETCDIR)/ulogd.conf ] || @INSTALL@ -D -m 600 ulogd.conf $(DESTDIR)$(ETCDIR)/ulogd.conf
-
-doc:
- $(MAKE) -C $@