summaryrefslogtreecommitdiffstats
path: root/plugins/omlibdbi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omlibdbi/Makefile.am')
-rw-r--r--plugins/omlibdbi/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/omlibdbi/Makefile.am b/plugins/omlibdbi/Makefile.am
new file mode 100644
index 0000000..144dd66
--- /dev/null
+++ b/plugins/omlibdbi/Makefile.am
@@ -0,0 +1,12 @@
+pkglib_LTLIBRARIES = omlibdbi.la
+
+if LIBDBI_USE_DUMMY
+omlibdbi_la_SOURCES = dummy.c
+omlibdbi_la_CPPFLAGS = -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS) -D MODNAME=omlibdbi
+omlibdbi_la_LDFLAGS = -module -avoid-version
+else
+omlibdbi_la_SOURCES = omlibdbi.c
+omlibdbi_la_CPPFLAGS = -I$(top_srcdir) $(LIBDBI_CFLAGS) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
+omlibdbi_la_LDFLAGS = -module -avoid-version
+omlibdbi_la_LIBADD = $(LIBDBI_LIBS)
+endif