# $Id: Makefile.am 21949 2006-06-02 19:33:27Z pollux $

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

keyboard_plugindir = $(libdir)/xfce4/mcs-plugins
keyboard_plugin_LTLIBRARIES =						\
	keyboard_plugin.la

keyboard_plugin_la_SOURCES =						\
	keyboard_plugin.c						\
	shortcuts_plugin.c						\
	shortcuts_plugin.h						\
	keys_management.c						\
	keys_management.h

keyboard_plugin_la_CFLAGS =						\
	$(LIBX11_CFLAGS)						\
	$(XF86MISC_CFLAGS)						\
	$(LIBXFCEGUI4_CFLAGS)						\
	$(XFCE_MCS_MANAGER_CFLAGS)					\
	$(XKB_CFLAGS)							\
	$(PLATFORM_CFLAGS)

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

keyboard_plugin_la_LIBADD =						\
	$(top_builddir)/plugins/gtk_common/libgtkcommon.la		\
	$(LIBX11_LDFLAGS)						\
	$(XF86MISC_LIBS)						\
	$(XKB_LIBS)

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

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

defaultsdir = $(pkgdatadir)/shortcuts
defaults_DATA = default.xml

EXTRA_DIST =								\
	$(desktop_in_files)						\
	$(defaults_DATA)

DISTCLEANFILES =							\
	$(desktop_DATA)

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


syntax highlighted by Code2HTML, v. 0.9.1