summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 6ba049799e044d88f1ae8529cf2077bfb5bc1091 (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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102

SUBDIRS=wm-tester tools themes

INCLUDES=@METACITY_CFLAGS@ -DMETACITY_LIBEXECDIR=\"$(libexecdir)\" -DHOST_ALIAS=\"@HOST_ALIAS@\" -DMETACITY_LOCALEDIR=\"$(datadir)/locale\" -DMETACITY_PKGDATADIR=\"$(pkgdatadir)\"

metacity_SOURCES= 				\
	common.h				\
	core.c					\
	core.h					\
	display.c				\
	display.h				\
	effects.c				\
	effects.h				\
	errors.c				\
	errors.h				\
	eventqueue.c				\
	eventqueue.h				\
	fixedtip.c				\
	fixedtip.h				\
	frame.c					\
	frame.h					\
	frames.c				\
	frames.h				\
	gradient.c				\
	gradient.h				\
	inlinepixbufs.h				\
	keybindings.c				\
	keybindings.h				\
	main.c					\
	main.h					\
	menu.c					\
	menu.h					\
	place.c					\
	place.h					\
	prefs.c					\
	prefs.h					\
	screen.c				\
	screen.h				\
	session.c				\
	session.h				\
	stack.c					\
	stack.h					\
	tabpopup.c				\
	tabpopup.h				\
	theme.c					\
	theme.h					\
	theme-parser.c				\
	theme-parser.h				\
	themewidget.c				\
	themewidget.h				\
	ui.c					\
	ui.h					\
	util.c					\
	util.h					\
	window.c				\
	window.h				\
	workspace.c				\
	workspace.h				\
	xprops.c				\
	xprops.h

metacity_theme_viewer_SOURCES=  \
	gradient.c		\
	gradient.h		\
	theme.c			\
	theme.h			\
	theme-parser.c		\
	theme-parser.h		\
	theme-viewer.c		\
	util.c			\
	util.h	

bin_PROGRAMS=metacity metacity-theme-viewer

metacity_LDADD= @METACITY_LIBS@
metacity_theme_viewer_LDADD= @METACITY_LIBS@

testgradient_SOURCES=gradient.h gradient.c testgradient.c

noinst_PROGRAMS=testgradient

testgradient_LDADD= @METACITY_LIBS@

desktopfilesdir=$(datadir)/gnome/wm-properties
desktopfiles_DATA=metacity.desktop

schemadir   = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = metacity.schemas

install-data-local:
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)

IMAGES=default_icon.png
VARIABLES=default_icon_data $(srcdir)/default_icon.png

BUILT_SOURCES = inlinepixbufs.h
CLEANFILES += inlinepixbufs.h

inlinepixbufs.h: $(IMAGES)
	   $(GDK_PIXBUF_CSOURCE) --raw --build-list $(VARIABLES) >$(srcdir)/inlinepixbufs.h

EXTRA_DIST=$(desktopfiles_DATA) $(IMAGES) $(schema_DATA)