summaryrefslogtreecommitdiffstats
path: root/output
diff options
context:
space:
mode:
authorlaforge <laforge>2005-10-15 22:45:13 +0000
committerlaforge <laforge>2005-10-15 22:45:13 +0000
commitbbb97afe32b049af50f410f02431237df2f9cb9d (patch)
tree795e34bd77b0b0d34602d1f4cabdce0f2b0bbc7d /output
parent3ebf985c9020aae4eb6b84768c94ba46d6dc17fc (diff)
add automake makefile
Diffstat (limited to 'output')
-rw-r--r--output/mysql/Makefile.am9
-rw-r--r--output/mysql/Makefile.in30
2 files changed, 9 insertions, 30 deletions
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)