summaryrefslogtreecommitdiff
path: root/gedit/smclient/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 16:46:58 -0300
committerPerberos <[email protected]>2011-11-07 16:46:58 -0300
commit528c1e5ff51e213936e800fc5a9a25da99c0bdf2 (patch)
tree77f8aa456b09367ba81f04d4562fc935f898a951 /gedit/smclient/Makefile.am
downloadpluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.bz2
pluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.xz
initial
Diffstat (limited to 'gedit/smclient/Makefile.am')
-rwxr-xr-xgedit/smclient/Makefile.am52
1 files changed, 52 insertions, 0 deletions
diff --git a/gedit/smclient/Makefile.am b/gedit/smclient/Makefile.am
new file mode 100755
index 00000000..8ec0ef71
--- /dev/null
+++ b/gedit/smclient/Makefile.am
@@ -0,0 +1,52 @@
+if OS_WIN32
+platform_sources = eggsmclient-win32.c
+platform_logout_test_ldflags = -mwindows
+else
+if OS_OSX
+platform_defines = -xobjective-c
+platform_ldflags = -framework Carbon
+platform_sources = eggsmclient-osx.c
+else
+platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP
+platform_libs = libeggdesktopfile.la
+platform_ltlibraries = libeggdesktopfile.la
+platform_sources = eggsmclient-xsmp.c
+endif
+endif
+
+INCLUDES = \
+ -DG_LOG_DOMAIN=\""EggSMClient"\" \
+ $(GEDIT_CFLAGS) \
+ $(platform_defines) \
+ $(EGG_SMCLIENT_CFLAGS)
+
+noinst_LTLIBRARIES = \
+ libeggsmclient.la \
+ $(platform_ltlibraries)
+
+libeggsmclient_la_LIBADD = \
+ $(EGG_SMCLIENT_LIBS) \
+ $(platform_libs)
+
+libeggsmclient_la_LDFLAGS = \
+ $(platform_ldflags)
+
+libeggsmclient_la_SOURCES = \
+ eggsmclient.c \
+ eggsmclient.h \
+ eggsmclient-private.h \
+ $(platform_sources)
+
+libeggdesktopfile_la_LIBADD = \
+ $(EGG_LIBS)
+
+libeggdesktopfile_la_SOURCES = \
+ eggdesktopfile.c \
+ eggdesktopfile.h
+
+EXTRA_DIST = \
+ eggsmclient-osx.c \
+ eggsmclient-win32.c \
+ eggsmclient-xsmp.c
+
+-include $(top_srcdir)/git.mk