summaryrefslogtreecommitdiff
path: root/libxfsm/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libxfsm/Makefile.am')
-rw-r--r--libxfsm/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/libxfsm/Makefile.am b/libxfsm/Makefile.am
new file mode 100644
index 0000000..0de0261
--- /dev/null
+++ b/libxfsm/Makefile.am
@@ -0,0 +1,26 @@
+AM_CPPFLAGS = \
+ -I$(top_srcdir)
+
+noinst_LTLIBRARIES = libxfsm.la
+
+libxfsm_la_SOURCES = \
+ xfsm-util.h \
+ xfsm-util.c \
+ xfsm-shutdown-common.h
+
+libxfsm_la_CFLAGS = \
+ $(LIBX11_CFLAGS) \
+ $(LIBXFCE4UI_CFLAGS) \
+ $(LIBXFCE4UTIL_CFLAGS) \
+ $(XFCONF_CFLAGS)
+
+if HAVE_OS_CYGWIN
+libxfsm_la_LDFLAGS = \
+ -no-undefined
+endif
+
+libxfsm_la_LIBADD = \
+ $(LIBX11_LIBS) \
+ $(LIBXFCE4UI_LIBS) \
+ $(LIBXFCE4UTIL_LIBS) \
+ $(XFCONF_LIBS)