File: Makefile.am

package info (click to toggle)
xfswitch-plugin 0.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,468 kB
  • ctags: 94
  • sloc: sh: 9,748; ansic: 121; makefile: 45
file content (37 lines) | stat: -rw-r--r-- 920 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugindir = $(libexecdir)/xfce4/panel-plugins

plugin_PROGRAMS = xfswitch-plugin

xfswitch_plugin_SOURCES =								\
	main.c

xfswitch_plugin_CFLAGS =								\
	@LIBXFCE4PANEL_CFLAGS@								\
	@GTK_CFLAGS@									\
	@LIBXFCEGUI4_CFLAGS@								\
	@LIBXFCE4UTIL_CFLAGS@								\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"

xfswitch_plugin_LDADD = 								\
	@LIBXFCE4PANEL_LIBS@								\
	@GTK_LIBS@									\
	@LIBXFCEGUI4_LIBS@								\
	@LIBXFCE4UTIL_LIBS@

#
# Desktop file
#
desktopdir = $(datadir)/xfce4/panel-plugins
desktop_in_in_files = xfswitch-plugin.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
%.desktop.in: %.desktop.in.in
	sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST =								\
	$(desktop_in_in_files)

CLEANFILES =								\
	$(desktop_in_files)						\
	$(desktop_DATA)