From bbb97afe32b049af50f410f02431237df2f9cb9d Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 15 Oct 2005 22:45:13 +0000 Subject: add automake makefile --- output/mysql/Makefile.am | 9 +++++++++ output/mysql/Makefile.in | 30 ------------------------------ 2 files changed, 9 insertions(+), 30 deletions(-) create mode 100644 output/mysql/Makefile.am delete mode 100644 output/mysql/Makefile.in (limited to 'output') 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) -- cgit v1.2.3