diff options
author | Patrick McHardy <kaber@trash.net> | 2008-05-18 18:35:35 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-05-18 18:35:35 +0200 |
commit | 835110044bd970518e10b28348ce6619818ce363 (patch) | |
tree | 76abdc04a3b9b8a29e3daded34cb2779a939df9b /extensions/Makefile.in | |
parent | dce17ab4526920f1930f1fee4245ea66c33093ec (diff) |
Remove obsolete patches and files and move ulogd to repository top-level directory
Diffstat (limited to 'extensions/Makefile.in')
-rw-r--r-- | extensions/Makefile.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extensions/Makefile.in b/extensions/Makefile.in new file mode 100644 index 0000000..589bf7b --- /dev/null +++ b/extensions/Makefile.in @@ -0,0 +1,37 @@ +# + +# Normally You should not need to change anything below +# +include @top_srcdir@/Rules.make + +CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include +SH_CFLAGS:=$(CFLAGS) -fPIC + +SHARED_LIBS+=$(foreach T,$(ULOGD_SL),ulogd_$(T).so) + + +all: $(SHARED_LIBS) + +distrib: + +printpkt.o: printpkt.c + $(CC) $(SH_CFLAGS) -o $@ -c $< + +$(SHARED_LIBS): %.so: %_sh.o + $(LD) -shared -o $@ $< -lc + +ulogd_SYSLOG.so: printpkt.o ulogd_SYSLOG_sh.o + $(LD) -shared -o $@ $^ -lc + +%_sh.o: %.c + $(CC) $(SH_CFLAGS) -o $@ -c $< + +clean: + $(RM) $(SHARED_LIBS) *.o + +distclean: + $(RM) Makefile + +install: all + $(INSTALL) -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH) + $(INSTALL) -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH) |