[Xfce4-commits] r25075 - xfce4-panel/trunk/mcs-plugin

Nick Schermer nick at xfce.org
Sat Mar 3 20:03:27 CET 2007


Author: nick
Date: 2007-03-03 19:03:26 +0000 (Sat, 03 Mar 2007)
New Revision: 25075

Modified:
   xfce4-panel/trunk/mcs-plugin/Makefile.am
Log:
Check if this works

Modified: xfce4-panel/trunk/mcs-plugin/Makefile.am
===================================================================
--- xfce4-panel/trunk/mcs-plugin/Makefile.am	2007-03-03 14:26:41 UTC (rev 25074)
+++ xfce4-panel/trunk/mcs-plugin/Makefile.am	2007-03-03 19:03:26 UTC (rev 25075)
@@ -1,42 +1,55 @@
-plugindir = $(libdir)/xfce4/mcs-plugins
+# $Id: Makefile.am 24264 2007-01-04 10:42:01Z nick $
 
-plugin_LTLIBRARIES = libxfce4settings.la
+INCLUDES = 								\
+	-I$(top_srcdir)							\
+	-DBINDIR=\"$(bindir)\"						\
+	-DDATADIR=\"$(datadir)\"					\
+	-DG_LOG_DOMAIN=\"panel-mcs-plugin\"				\
+	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
+	$(PLATFORM_CPPFLAGS)
 
-libxfce4settings_la_LDFLAGS =						\
-	-avoid-version							\
-	-module
+#
+# build mcs wrapper plugin if xfce-mcs-manager is present.
+#
+if HAVE_XFCE_MCS_MANAGER
+plugindir =								\
+	$(libdir)/xfce4/mcs-plugins
 
-if HAVE_CYGWIN
-libxfce4settings_la_LDFLAGS +=                                          \
-	-no-undefined                                                   \
-	-export-symbols $(datadir)/xfce4/devel/mcs-manager.def
-endif
+plugin_LTLIBRARIES =							\
+	libxfce4settings.la
 
 libxfce4settings_la_SOURCES =						\
-	plugin.c
+	mcs_plugin.c
 
 libxfce4settings_la_CFLAGS =						\
-	-I$(top_srcdir)							\
-	-DLOCALEDIR=\"$(localedir)\"					\
-	@LIBXFCEGUI4_CFLAGS@						\
-	@XFCE_MCS_MANAGER_CFLAGS@
+	$(LIBXFCEGUI4_CFLAGS)						\
+	$(XFCE_MCS_MANAGER_CFLAGS)					\
+	$(PLATFORM_CFLAGS)
 
+libxfce4settings_la_LDFLAGS =						\
+	-avoid-version							\
+	-no-undefined							\
+	-module								\
+	$(PLATFORM_LDFLAGS)
+
 libxfce4settings_la_LIBADD =						\
-	@XFCE_MCS_MANAGER_LIBS@
+	$(LIBXFCEGUI4_LIBS)						\
+	$(XFCE_MCS_MANAGER_LIBS)
+endif
 
+#
 # .desktop file
 #
-desktop_in_files = xfce4-panel-manager.desktop.in
-desktop_files = $(desktop_in_files:.desktop.in=.desktop)
-	
 desktopdir = $(datadir)/applications
-desktop_DATA = $(desktop_files)
-
+desktop_in_files =							\
+	xfce4-panel-manager.desktop.in
+desktop_DATA =								\
+	$(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
-EXTRA_DIST = 								\
+CLEANFILES =								\
+	$(desktop_DATA)
+
+EXTRA_DIST =								\
 	$(desktop_in_files)
 
-DISTCLEANFILES =							\
-	$(desktop_files)
-	



More information about the Xfce4-commits mailing list