]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blob - panel-plugin/Makefile.am
Don't remove hdaps.desktop.in on `make clean`.
[xfce4-hdaps.git] / panel-plugin / Makefile.am
1 #
2 # xfce4-hdaps, an XFCE4 panel plugin for the HDAPS system.
3 #
4 # Copyright Michael Orlitzky
5 #
6 # http://michael.orlitzky.com/
7 #
8 # This program is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # http://www.fsf.org/licensing/licenses/gpl.html
19 #
20
21 INCLUDES = \
22 -I$(top_srcdir) \
23 -DG_LOG_DOMAIN=\"xfce4-hdaps\" \
24 -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
25 $(PLATFORM_CPPFLAGS)
26
27 #
28 # HDAPS plugin
29 #
30 plugin_LTLIBRARIES = libhdaps.la
31
32 plugindir = $(libdir)/xfce4/panel/plugins
33
34 libhdaps_la_SOURCES = \
35 hdaps.c \
36 hdaps.h \
37 xfce4-hdaps.c \
38 xfce4-hdaps.h \
39 xfce4-hdaps-dialogs.c \
40 xfce4-hdaps-dialogs.h
41
42 libhdaps_la_CFLAGS = \
43 $(LIBXFCE4UTIL_CFLAGS) \
44 $(LIBXFCE4UI_CFLAGS) \
45 $(LIBXFCE4PANEL_CFLAGS) \
46 $(PLATFORM_CFLAGS)
47
48 libhdaps_la_LDFLAGS = \
49 -avoid-version \
50 -module \
51 -no-undefined \
52 -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
53 $(PLATFORM_LDFLAGS)
54
55 libhdaps_la_LIBADD = \
56 $(LIBXFCE4UTIL_LIBS) \
57 $(LIBXFCE4UI_LIBS) \
58 $(LIBXFCE4PANEL_LIBS)
59
60 #
61 # Desktop file
62 #
63 desktopdir = $(datadir)/xfce4/panel/plugins
64
65 desktop_in_files = hdaps.desktop.in
66
67 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
68
69 @INTLTOOL_DESKTOP_RULE@
70
71 EXTRA_DIST = $(desktop_in_files)
72
73 CLEANFILES = \
74 $(desktop_DATA)
75
76 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: