]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
add automake makefile
authorlaforge <laforge>
Sat, 15 Oct 2005 22:45:13 +0000 (22:45 +0000)
committerlaforge <laforge>
Sat, 15 Oct 2005 22:45:13 +0000 (22:45 +0000)
output/mysql/Makefile.am [new file with mode: 0644]
output/mysql/Makefile.in [deleted file]

diff --git a/output/mysql/Makefile.am b/output/mysql/Makefile.am
new file mode 100644 (file)
index 0000000..2efeda8
--- /dev/null
@@ -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 (file)
index cbab843..0000000
+++ /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)