From: laforge Date: Sat, 15 Oct 2005 22:45:13 +0000 (+0000) Subject: add automake makefile X-Git-Tag: ulogd-2.0.0beta2~290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb97afe32b049af50f410f02431237df2f9cb9d;p=thirdparty%2Fulogd2.git add automake makefile --- diff --git a/output/mysql/Makefile.am b/output/mysql/Makefile.am new file mode 100644 index 0000000..2efeda8 --- /dev/null +++ b/output/mysql/Makefile.am @@ -0,0 +1,9 @@ + +INCLUDES = $(all_includes) -I$(top_srcdir)/include +LIBS= + +pkglib_LTLIBRARIES = ulogd_output_MYSQL.la + +ulogd_output_MYSQL_la_SOURCES = ulogd_output_MYSQL.c +ulogd_output_MYSQL_la_LDFLAGS = -module + diff --git a/output/mysql/Makefile.in b/output/mysql/Makefile.in deleted file mode 100644 index cbab843..0000000 --- a/output/mysql/Makefile.in +++ /dev/null @@ -1,30 +0,0 @@ -# - -# 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=ulogd_MYSQL.so - -all: $(SHARED_LIBS) - -distrib: - -$(SHARED_LIBS): %.so: %_sh.o - $(LD) -shared $(MYSQL_LDFLAGS) -o $@ $< -lc - -%_sh.o: %.c - $(CC) $(MYSQL_CFLAGS) $(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)