diff options
Diffstat (limited to 'output')
-rw-r--r-- | output/Makefile.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/output/Makefile.in b/output/Makefile.in new file mode 100644 index 0000000..6641e6a --- /dev/null +++ b/output/Makefile.in @@ -0,0 +1,30 @@ +# +include @top_srcdir@/Rules.make + +CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include +SH_CFLAGS:=$(CFLAGS) -fPIC + +# Normally You should not need to change anything below +# + +SHARED_LIBS=ulogd_output_LOGEMU.so + +all: $(SHARED_LIBS) + +distrib: + +$(SHARED_LIBS): %.so: %_sh.o + $(LD) -shared -o $@ $< -lc -lpcap + +%_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) |