]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blob - panel-plugin/Makefile.am
cf794a0d69e1692f7f6723c98fefd20467c56feb
[xfce4-hdaps.git] / panel-plugin / Makefile.am
1 # $Id$
2
3 INCLUDES = \
4 -I$(top_srcdir) \
5 -DG_LOG_DOMAIN=\"xfce4-hdaps\" \
6 -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
7 $(PLATFORM_CPPFLAGS)
8
9 #
10 # HDAPS plugin
11 #
12 plugin_PROGRAMS = \
13 xfce4-hdaps
14
15 plugindir = \
16 $(libexecdir)/xfce4/panel-plugins
17
18 xfce4_hdaps_SOURCES = \
19 hdaps.c \
20 hdaps.h \
21 xfce4-hdaps.c \
22 xfce4-hdaps.h \
23 xfce4-hdaps-dialogs.c \
24 xfcd4-hdaps-dialogs.h
25
26 xfce4_hdaps_CFLAGS = \
27 $(LIBXFCE4UTIL_CFLAGS) \
28 $(LIBXFCEGUI4_CFLAGS) \
29 $(LIBXFCE4PANEL_CFLAGS) \
30 $(PLATFORM_CFLAGS)
31
32 xfce4_hdaps_LDADD = \
33 $(LIBXFCE4UTIL_LIBS) \
34 $(LIBXFCEGUI4_LIBS) \
35 $(LIBXFCE4PANEL_LIBS)
36
37 #
38 # Desktop file
39 #
40 desktopdir = \
41 $(datadir)/xfce4/panel-plugins
42
43 desktop_in_in_files = \
44 xfce4-hdaps.desktop.in.in
45
46 desktop_in_files = \
47 $(desktop_in_in_files:.desktop.in.in=.desktop.in)
48
49 %.desktop.in: %.desktop.in.in
50 sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
51
52 desktop_DATA = \
53 $(desktop_in_files:.desktop.in=.desktop)
54
55 @INTLTOOL_DESKTOP_RULE@
56
57 EXTRA_DIST = \
58 $(desktop_in_in_files)
59
60 CLEANFILES = \
61 $(desktop_in_files) \
62 $(desktop_DATA)
63
64 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: