File: Makefile.am

package info (click to toggle)
xfce4-datetime-plugin 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,844 kB
  • ctags: 110
  • sloc: sh: 9,310; ansic: 1,044; makefile: 57
file content (50 lines) | stat: -rw-r--r-- 1,056 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
38
39
40
41
42
43
44
45
46
47
48
49
50
plugindir = $(libdir)/xfce4/panel-plugins/

plugin_LTLIBRARIES = 				\
	libdatetime.la

libdatetime_la_SOURCES = 			\
	datetime.h				\
	datetime.c				\
	datetime-dialog.h			\
	datetime-dialog.c

libdatetime_la_CFLAGS = 			\
	-I$(top_srcdir)				\
	-DLOCALEDIR=\"$(localedir)\"		\
	$(GTK_CFLAGS)				\
	$(LIBXFCE4PANEL_CFLAGS)			\
	$(LIBXFCEGUI4_CFLAGS)			\
	$(LIBXFCE4UTIL_CFLAGS)

libdatetime_la_LDFLAGS = 			\
	-avoid-version				\
	-module

if HAVE_CYGWIN
libdatetime_la_LDFLAGS += 			\
	-no-undefined
endif

libdatetime_la_LIBADD = 			\
	$(GTK_LIBS)				\
	$(LIBXFCE4PANEL_LIBS)			\
	$(LIBXFCEGUI4_LIBS)			\
	$(LIBXFCE4UTIL_LIBS)

desktopdir = $(datadir)/xfce4/panel-plugins
desktop_in_in_files = datetime.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
%.desktop.in: %.desktop.in.in
	sed -e "s,\@libdir\@,$(libdir),g" < $< > $@
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@


EXTRA_DIST =					\
	$(desktop_in_in_files)

DISTCLEANFILES =				\
	$(desktop_DATA)				\
	$(desktop_in_files)