summaryrefslogtreecommitdiffstats
path: root/output/mysql/Makefile.in
diff options
context:
space:
mode:
authorlaforge <laforge>2004-07-23 02:31:40 +0000
committerlaforge <laforge>2004-07-23 02:31:40 +0000
commit8b5ffaf13de624a480c430f9340b4f0a6fb9da26 (patch)
tree4e9f2ed25567cd80211d9d2a3cd4e304eb2dd44d /output/mysql/Makefile.in
parent478eca4243d11329e1943323d6b1eab96d2d3df2 (diff)
start to reorganize tree for new architecture
Diffstat (limited to 'output/mysql/Makefile.in')
-rw-r--r--output/mysql/Makefile.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/output/mysql/Makefile.in b/output/mysql/Makefile.in
new file mode 100644
index 0000000..cbab843
--- /dev/null
+++ b/output/mysql/Makefile.in
@@ -0,0 +1,30 @@
+#
+
+# 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)