GTK+ plugin: implementation of edit window. No save available yet, just look.
[lxde/lxhotkey.git] / plugins / Makefile.am
CommitLineData
4185d89e
AG
1## Process this file with automake to produce Makefile.in
2
3## common flags for all plugins
4AM_CPPFLAGS = \
b4cb61c9
AG
5 -I$(top_srcdir) \
6 -I$(top_srcdir)/src \
7 $(PACKAGE_CFLAGS)
4185d89e
AG
8
9AM_LDFLAGS = \
b4cb61c9 10 -module -avoid-version -shared -export-dynamic -no-undefined \
c6e7c29a 11 -rpath $(libdir)/lxhotkey $(PACKAGE_LIBS)
4185d89e
AG
12
13## modules list
c6e7c29a 14pkglibdir = $(libdir)/lxhotkey
35e537d9 15pkglib_LTLIBRARIES = ob.la
0cdc072f
AG
16if WITH_GTK
17pkglib_LTLIBRARIES += gtk.la
18endif
4185d89e
AG
19
20## Openbox module
6d55e2cc 21ob_la_SOURCES = openbox/openbox.c
601296b4
AG
22ob_la_LIBADD = -lfm-extra
23
1b4c5f1a 24# GTK module
7e60a2a7 25gtk_la_SOURCES = gtk/gtk.c gtk/edit.c
1b4c5f1a
AG
26gtk_la_CFLAGS = $(GTK_CFLAGS)
27gtk_la_LIBADD = $(GTK_LIBS)
28
29
30# .desktop files
31desktopdir=$(datadir)/applications
32desktop_in_files =
33if WITH_GTK
6d55e2cc 34desktop_in_files += gtk/lxhotkey-gtk.desktop.in
1b4c5f1a
AG
35endif
36desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
37@INTLTOOL_DESKTOP_RULE@
38
39EXTRA_DIST= \
7e60a2a7
AG
40 gtk/lxhotkey-gtk.desktop.in gtk/lxhotkey-gtk.desktop \
41 gtk/edit.h
1b4c5f1a 42
601296b4
AG
43install-exec-hook:
44 rm -f $(DESTDIR)$(pkglibdir)/*.la
45
46PLUGINS_INSTALLED = $(pkglib_LTLIBRARIES:.la=.so)
47uninstall-hook:
48 cd $(DESTDIR)$(pkglibdir) && rm -f $(PLUGINS_INSTALLED) || true