Makefile.am 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. AM_CPPFLAGS = \
  2. -I$(top_srcdir) \
  3. -DG_LOG_DOMAIN=\"xfce4-wckbuttons-plugin\" \
  4. -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
  5. $(PLATFORM_CPPFLAGS)
  6. #
  7. # Windowck Buttons plugin
  8. #
  9. plugin_LTLIBRARIES = \
  10. libwckbuttons.la
  11. plugindir = \
  12. $(libdir)/xfce4/panel/plugins
  13. libwindowck_built_sources = \
  14. wckbuttons-dialogs_ui.h
  15. libwckbuttons_la_SOURCES = \
  16. $(libwckbuttons_built_sources) \
  17. wckbuttons.c \
  18. wckbuttons.h \
  19. wckbuttons-theme.c \
  20. wckbuttons-theme.h \
  21. wckbuttons-dialogs.c \
  22. wckbuttons-dialogs.h
  23. libwckbuttons_la_CFLAGS = \
  24. $(GTK_CFLAGS) \
  25. $(LIBXFCE4UTIL_CFLAGS) \
  26. $(LIBXFCE4UI_CFLAGS) \
  27. $(LIBXFCE4PANEL_CFLAGS) \
  28. $(LIBWNCK_CFLAGS) \
  29. $(XFCONF_CFLAGS) \
  30. $(PLATFORM_CFLAGS) \
  31. -DDATADIR=\"$(datadir)\"
  32. libwckbuttons_la_LDFLAGS = \
  33. -avoid-version \
  34. -module \
  35. -no-undefined \
  36. -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
  37. $(PLATFORM_LDFLAGS)
  38. libwckbuttons_la_LIBADD = \
  39. $(top_builddir)/common/libwck-common.la \
  40. $(GTK_LIBS) \
  41. $(LIBXFCE4UTIL_LIBS) \
  42. $(LIBXFCE4UI_LIBS) \
  43. $(LIBWNCK_LIBS) \
  44. $(LIBXFCE4PANEL_LIBS) \
  45. $(XFCONF_LIBS)
  46. libwckbuttons_la_DEPENDENCIES = \
  47. $(top_builddir)/common/libwck-common.la
  48. #
  49. # Desktop file
  50. #
  51. desktopdir = \
  52. $(datadir)/xfce4/panel/plugins
  53. desktop_DATA = \
  54. wckbuttons.desktop
  55. @INTLTOOL_DESKTOP_RULE@
  56. EXTRA_DIST = \
  57. wckbuttons-dialogs.glade \
  58. wckbuttons.desktop.in
  59. CLEANFILES = \
  60. $(desktop_DATA)
  61. BUILT_SOURCES = \
  62. $(libwindowck_built_sources)
  63. CLEANFILES += \
  64. $(libwindowck_built_sources)
  65. wckbuttons-dialogs_ui.h: wckbuttons-dialogs.glade
  66. $(AM_V_GEN) exo-csource --static --strip-comments --strip-content --name=wckbuttons_dialogs_ui $< >$@
  67. # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: