summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2001-05-20 15:25:38 +0000
committerlaforge <laforge>2001-05-20 15:25:38 +0000
commitf607a4ed8aafd218ec987ff8b4c316423e8ca542 (patch)
tree8c949ebea795da1812bea288f1d68841220cc839 /ulogd
parent793f100e10423de032ff00cdec30fddc465bb87d (diff)
moved doc-generation to distribution-time, not compile-time
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/Makefile.in6
-rw-r--r--ulogd/conffile/Makefile.in2
-rw-r--r--ulogd/doc/Makefile.in9
-rw-r--r--ulogd/extensions/Makefile.in3
-rw-r--r--ulogd/libipulog/Makefile.in2
-rw-r--r--ulogd/mysql/Makefile.in2
6 files changed, 20 insertions, 4 deletions
diff --git a/ulogd/Makefile.in b/ulogd/Makefile.in
index ec93a5b..4a71406 100644
--- a/ulogd/Makefile.in
+++ b/ulogd/Makefile.in
@@ -14,6 +14,10 @@ endif
all: recurse ulogd
+distrib:
+ @for d in $(SUBDIRS); do if ! make -C $$d distrib; then exit 1; fi; done
+ @make distclean
+
recurse:
@for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
@@ -27,7 +31,7 @@ clean:
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 configure
+ rm -f Makefile config.cache config.log config.status Rules.make
install: all
@for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
diff --git a/ulogd/conffile/Makefile.in b/ulogd/conffile/Makefile.in
index 746a46b..85b9733 100644
--- a/ulogd/conffile/Makefile.in
+++ b/ulogd/conffile/Makefile.in
@@ -6,6 +6,8 @@ include @top_srcdir@/Rules.make
all: conffile.o
+distrib:
+
conffile.o: conffile.c
$(CC) $(CFLAGS) -c $< -o $@
diff --git a/ulogd/doc/Makefile.in b/ulogd/doc/Makefile.in
index fd7b711..e6c71a9 100644
--- a/ulogd/doc/Makefile.in
+++ b/ulogd/doc/Makefile.in
@@ -1,4 +1,5 @@
#! /usr/bin/make
+# this file is shamelessly stolen from the iptables CVS tree
LANG_DIRS:=
@@ -13,7 +14,9 @@ PSUS_HOWTOS:=$(HOWTOS:.sgml=.letter.ps)
HOWTO_FLAGS_it/=-c latin -l it
HOWTO_FLAGS_fr/=-c latin -l fr
-interesting_howtos: $(TXT_HOWTOS) $(PSA4_HOWTOS)
+user_calls_make:
+
+distrib: $(TXT_HOWTOS) $(PSA4_HOWTOS) $(HTML_HOWTOS)
HOWTOs: $(TXT_HOWTOS) $(HTML_HOWTOS) $(PSA4_HOWTOS) $(PSUS_HOWTOS)
@@ -37,10 +40,10 @@ $(TXT_HOWTOS) $(HTML_HOWTOS) $(PSA4_HOWTOS) $(PSUS_HOWTOS): Makefile
@dvips -t letter -o $@ $<
%.html: %.sgml
- @echo Making $@: && cd `dirname $<` && sgml2html $(HOWTO_FLAGS_$(dir $<)) `basename $<` 2>&1 | sed "s?^<standard input>:\([0-9]*\):[^ ]* ?$<:\1:?"
+ @echo Making $@: && cd `dirname $<` && sgml2html -s 0 $(HOWTO_FLAGS_$(dir $<)) `basename $<` 2>&1 | sed "s?^<standard input>:\([0-9]*\):[^ ]* ?$<:\1:?"
clean:
- for d in . $(LANG_DIRS); do rm -f $$d/*.html $$d/*.ps $$d/*.aux $$d/*.log $$d/*.txt $$d/*~; done
+# for d in . $(LANG_DIRS); do rm -f $$d/*.html $$d/*.ps $$d/*.aux $$d/*.log $$d/*.txt $$d/*~; done
distclean:
rm -f Makefile
diff --git a/ulogd/extensions/Makefile.in b/ulogd/extensions/Makefile.in
index f89312a..9c7e9eb 100644
--- a/ulogd/extensions/Makefile.in
+++ b/ulogd/extensions/Makefile.in
@@ -9,8 +9,11 @@ SH_CFLAGS:=$(CFLAGS) -fPIC
SHARED_LIBS+=$(foreach T,$(ULOGD_SL),ulogd_$(T).so)
+
all: $(SHARED_LIBS)
+distrib:
+
$(SHARED_LIBS): %.so: %_sh.o
ld -shared -o $@ $<
diff --git a/ulogd/libipulog/Makefile.in b/ulogd/libipulog/Makefile.in
index 973c63e..f5e416e 100644
--- a/ulogd/libipulog/Makefile.in
+++ b/ulogd/libipulog/Makefile.in
@@ -6,6 +6,8 @@ CFLAGS+=-Iinclude -I/usr/src/linux/include
libipulog.a: libipulog.o
ld -i $< -o $@
+distrib:
+
ulog_test: ulog_test.c libipulog.a
$(CC) $(CFLAGS) ulog_test.c libipulog.a -o ulog_test
diff --git a/ulogd/mysql/Makefile.in b/ulogd/mysql/Makefile.in
index 49e1f87..e716bb3 100644
--- a/ulogd/mysql/Makefile.in
+++ b/ulogd/mysql/Makefile.in
@@ -11,6 +11,8 @@ SHARED_LIBS=ulogd_MYSQL.so
all: $(SHARED_LIBS)
+distrib:
+
$(SHARED_LIBS): %.so: %_sh.o
ld -shared $(MYSQL_LDFLAGS) -o $@ $<