summaryrefslogtreecommitdiff
path: root/src/backend-event/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend-event/Makefile.am')
-rw-r--r--src/backend-event/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backend-event/Makefile.am b/src/backend-event/Makefile.am
new file mode 100644
index 0000000..a8ffe57
--- /dev/null
+++ b/src/backend-event/Makefile.am
@@ -0,0 +1,16 @@
+AM_CFLAGS=-I$(srcdir)/../core
+
+install_libs=
+install_headers=
+
+if BUILD_EVENT
+install_libs += libevcon-event.la
+install_headers += evcon-event.h
+libevcon_event_la_CPPFLAGS = $(GLIB_CFLAGS) $(LIBEVENT_CFLAGS)
+libevcon_event_la_LDFLAGS = -export-dynamic -no-undefined $(GLIB_LIBS) $(LIBEVENT_LIBS)
+libevcon_event_la_SOURCES = event-backend.c
+libevcon_event_la_LIBADD = ../core/libevcon.la
+endif
+
+lib_LTLIBRARIES = $(install_libs)
+include_HEADERS = $(install_headers)