summaryrefslogtreecommitdiff
path: root/src/tools/Makefile.am
blob: 9973db85309212cbdf2b52c6f85ef3962b0283fa (plain)
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
@INTLTOOL_DESKTOP_RULE@

icondir=$(pkgdatadir)/icons
icon_DATA=metacity-window-demo.png

INCLUDES=@METACITY_WINDOW_DEMO_CFLAGS@ @METACITY_MESSAGE_CFLAGS@ \
	@METACITY_PROPS_CFLAGS@  -DMETACITY_ICON_DIR=\"$(pkgdatadir)/icons\" \
	-DMETACITY_PROPS_GLADEDIR=\"$(pkgdatadir)/glade\" \
	-DMETACITY_PROPS_ICON_DIR=\"$(datadir)/pixmaps\" \
	-DMETACITY_LOCALEDIR=\"$(datadir)/locale\"

metacity_message_SOURCES= 				\
	metacity-message.c

metacity_window_demo_SOURCES=				\
	metacity-window-demo.c

metacity_mag_SOURCES=					\
	metacity-mag.c

metacity_grayscale_SOURCES=				\
	metacity-grayscale.c

metacity_properties_SOURCES=				\
	metacity-properties.c

metacity_properties_LDFLAGS = -export-dynamic

uidir=$(pkgdatadir)/glade
ui_DATA=metacity-properties.glade

propicondir=$(datadir)/pixmaps
propicon_DATA=metacity-properties.png

desktopdir=$(datadir)/control-center-2.0/capplets
Desktop_in_files=metacity-properties.desktop.in
desktop_DATA=$(Desktop_in_files:.desktop.in=.desktop)

bin_PROGRAMS=metacity-message metacity-window-demo metacity-properties

## cheesy hacks I use, don't really have any business existing. ;-)
noinst_PROGRAMS=metacity-mag metacity-grayscale

metacity_message_LDADD= @METACITY_MESSAGE_LIBS@
metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@
metacity_properties_LDADD= @METACITY_PROPS_LIBS@
metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@
metacity_grayscale_LDADD = @METACITY_WINDOW_DEMO_LIBS@

EXTRA_DIST=$(icon_DATA) $(ui_DATA) $(propicon_DATA) $(Desktop_in_files)