]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blob - panel-plugin/Makefile.am
Fixed build with --enable-debug=full thanks to Evgeni Golov.
[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_PROGRAMS = \
31 xfce4-hdaps
32
33 plugindir = \
34 $(libexecdir)/xfce4/panel-plugins
35
36 xfce4_hdaps_SOURCES = \
37 hdaps.c \
38 hdaps.h \
39 xfce4-hdaps.c \
40 xfce4-hdaps.h \
41 xfce4-hdaps-dialogs.c \
42 xfce4-hdaps-dialogs.h
43
44 xfce4_hdaps_CFLAGS = \
45 $(LIBXFCE4UTIL_CFLAGS) \
46 $(LIBXFCEGUI4_CFLAGS) \
47 $(LIBXFCE4PANEL_CFLAGS) \
48 $(PLATFORM_CFLAGS)
49
50 xfce4_hdaps_LDADD = \
51 $(LIBXFCE4UTIL_LIBS) \
52 $(LIBXFCEGUI4_LIBS) \
53 $(LIBXFCE4PANEL_LIBS)
54
55 #
56 # Desktop file
57 #
58 desktopdir = \
59 $(datadir)/xfce4/panel-plugins
60
61 desktop_in_in_files = \
62 xfce4-hdaps.desktop.in.in
63
64 desktop_in_files = \
65 $(desktop_in_in_files:.desktop.in.in=.desktop.in)
66
67 %.desktop.in: %.desktop.in.in
68 sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
69
70 desktop_DATA = \
71 $(desktop_in_files:.desktop.in=.desktop)
72
73 @INTLTOOL_DESKTOP_RULE@
74
75 EXTRA_DIST = \
76 $(desktop_in_in_files)
77
78 CLEANFILES = \
79 $(desktop_in_files) \
80 $(desktop_DATA)
81
82 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: