# $Id: Makefile.am 23059 2006-09-02 21:58:29Z olivier $

INCLUDES =								\
	-I$(top_srcdir)							\
	-I$(top_srcdir)/plugins/gtk_common				\
	-I$(top_builddir)						\
	-DLOCALEDIR=\""$(localedir)"\"					\
	$(PLATFORM_CPPFLAGS)

mouse_plugindir = $(libdir)/xfce4/mcs-plugins
mouse_plugin_LTLIBRARIES =						\
	mouse_plugin.la

mouse_plugin_la_SOURCES =						\
	mouse_plugin.c							\
	mouse-plugin-internal.h						\
	mouse-cursor-settings.c

mouse_plugin_la_CFLAGS =						\
	$(LIBX11_CFLAGS)						\
	$(LIBXFCEGUI4_CFLAGS)						\
	$(XFCE_MCS_MANAGER_CFLAGS)					\
	$(XKB_CFLAGS)							\
	$(PLATFORM_CFLAGS)

mouse_plugin_la_LDFLAGS =						\
	-avoid-version							\
	-module								\
	-no-undefined							\
	$(LIBX11_LDFLAGS)						\
	$(PLATFORM_LDFLAGS)

mouse_plugin_la_LIBADD =						\
	$(LIBX11_LIBS)							\
	$(XCURSOR_LIBS)                                                 \
	$(XKB_LIBS)

if HAVE_CYGWIN
mouse_plugin_la_LDFLAGS +=						\
	-export-symbols $(datadir)/xfce4/devel/mcs-manager.def		\
	$(XFCE_MCS_MANAGER_LDFLAGS)
mouse_plugin_la_LIBADD +=						\
	$(XFCE_MCS_MANAGER_LIBS)					\
	$(LIBX11_LIBS)
endif

desktopdir = $(datadir)/applications
desktop_in_files = xfce-mouse-settings.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST =								\
	$(desktop_in_files)

DISTCLEANFILES =							\
	$(desktop_DATA)

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:


syntax highlighted by Code2HTML, v. 0.9.1