File: Makefile.am

package info (click to toggle)
mango-lassi 001%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,212 kB
  • ctags: 288
  • sloc: sh: 4,435; ansic: 2,563; makefile: 48
file content (76 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This file is part of Mango Lassi.
#
# Copyright 207 Lennart Poettering
#
# Mango Lassi is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Mango Lassi is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Mango Lassi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

localedir = $(datadir)/locale

CLEANFILES=$(BUILT_SOURCES)

SUBDIRS = po

bin_PROGRAMS = \
	mango-lassi

nodist_mango_lassi_SOURCES=paths.h
mango_lassi_SOURCES = \
	src/lassi-server.c src/lassi-server.h \
	src/lassi-grab.c src/lassi-grab.h \
	src/lassi-osd.c src/lassi-osd.h \
	src/lassi-order.c src/lassi-order.h \
	src/lassi-clipboard.c src/lassi-clipboard.h \
	src/lassi-avahi.c src/lassi-avahi.h \
	src/lassi-tray.c src/lassi-tray.h \
	src/lassi-prefs.c src/lassi-prefs.h

BUILT_SOURCES=$(nodist_mango_lassi_SOURCES)

mango_lassi_LDADD = \
	$(AM_LDADD) \
	$(AVAHI_LIBS) \
	$(DBUS_LIBS) \
	$(GTK_LIBS) \
	$(XTEST_LIBS) \
	$(AVAHI_LIBS) \
	$(AVAHI_UI_LIBS) \
	$(LIBNOTIFY_LIBS) \
	$(NULL)

mango_lassi_CFLAGS = \
	$(AM_CFLAGS) \
	$(AVAHI_CFLAGS) \
	$(DBUS_CFLAGS) \
	$(GTK_CFLAGS) \
	$(XTEST_CFLAGS) \
	$(AVAHI_CFLAGS) \
	$(AVAHI_UI_CFLAGS) \
	$(LIBNOTIFY_CFLAGS) \
	$(NULL)

paths.h: Makefile
	$(AM_V_GEN) echo "#define UI_FILE \"$(pkgdatadir)/mango-lassi.ui\"" > $@; \
	echo "#define LOCALEDIR \"$(localedir)\"" >> $@

pkgdata_DATA = src/mango-lassi.ui

EXTRA_DIST = $(pkgdata_DATA)

ACLOCAL_AMFLAGS = -I m4

include data/Makefile.inc
include icons/Makefile.inc