Makefile.am 5.18 KB
Newer Older
1
lib_LTLIBRARIES = libmetacity-private.la
rhp's avatar
...  
rhp committed
2

3
SUBDIRS = tools themes
4

5
AM_CPPFLAGS=-I$(srcdir)/include -DMETACITY_LIBEXECDIR=\"$(libexecdir)\" -DHOST_ALIAS=\"@HOST_ALIAS@\" -DMETACITY_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" -DMETACITY_PKGDATADIR=\"$(pkgdatadir)\" -DMETACITY_DATADIR=\"$(datadir)\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1 @METACITY_CFLAGS@
rhp's avatar
...  
rhp committed
6 7

metacity_SOURCES= 				\
8 9 10 11 12 13 14
	core/main.c				\
	include/main.h

# by setting libmetacity_private_la_CFLAGS, the files shared with
# metacity proper will be compiled with different names.
libmetacity_private_la_CFLAGS =
libmetacity_private_la_SOURCES=			\
15 16
	core/async-getprop.c			\
	core/async-getprop.h			\
17
	core/atomnames.h                        \
18 19 20 21
	core/bell.c				\
	core/bell.h				\
	core/boxes.c				\
	include/boxes.h				\
22 23 24
	compositor/compositor.c			\
	compositor/compositor-private.h		\
	compositor/compositor-xrender.c		\
25
	compositor/compositor-xrender.h		\
26
	include/compositor.h			\
27
	core/above-tab-keycode.c		\
28 29 30 31 32
	core/constraints.c			\
	core/constraints.h			\
	core/core.c				\
	core/delete.c				\
	core/display.c				\
33 34
	core/display-private.h			\
	include/display.h			\
35
	ui/draw-workspace.c			\
36
	ui/draw-workspace.h			\
37 38 39 40 41
	core/edge-resistance.c			\
	core/edge-resistance.h			\
	core/effects.c				\
	core/effects.h				\
	core/errors.c				\
42
	include/errors.h			\
43 44 45
	core/eventqueue.c			\
	core/eventqueue.h			\
	core/frame.c				\
46 47
	core/frame-private.h			\
	include/frame.h				\
48 49 50 51 52 53 54 55 56 57 58 59
	ui/gradient.c				\
	ui/gradient.h				\
	core/group-private.h			\
	core/group-props.c			\
	core/group-props.h			\
	core/group.c				\
	core/group.h				\
	core/iconcache.c			\
	core/iconcache.h			\
	core/keybindings.c			\
	core/keybindings.h			\
	core/main.c				\
60
	include/main.h				\
61 62 63 64
	core/metacity-Xatomtype.h		\
	core/place.c				\
	core/place.h				\
	core/prefs.c				\
65
	include/prefs.h				\
66
	core/screen.c				\
67 68
	core/screen-private.h			\
	include/screen.h			\
69
	include/types.h                         \
70 71 72 73 74 75 76 77 78
	core/session.c				\
	core/session.h				\
	core/stack.c				\
	core/stack.h				\
	core/util.c				\
	include/util.h				\
	core/window-props.c			\
	core/window-props.h			\
	core/window.c				\
79 80
	core/window-private.h			\
	include/window.h			\
81 82 83
	core/workspace.c			\
	core/workspace.h			\
	core/xprops.c				\
84
	include/xprops.h			\
85 86 87 88 89 90 91 92 93 94 95
	include/common.h			\
	include/core.h				\
	include/ui.h				\
	ui/fixedtip.c				\
	ui/fixedtip.h				\
	ui/frames.c				\
	ui/frames.h				\
	ui/menu.c				\
	ui/menu.h				\
	ui/metaaccellabel.c			\
	ui/metaaccellabel.h			\
96 97
	ui/preview-widget.c                     \
	ui/preview-widget.h                     \
98 99 100
	ui/resizepopup.c			\
	include/resizepopup.h			\
	ui/tabpopup.c				\
101 102 103 104 105 106 107
	include/tabpopup.h			\
	ui/select-image.c			\
	ui/select-image.h			\
	ui/select-workspace.c			\
	ui/select-workspace.h			\
	ui/tile-preview.c			\
	include/tile-preview.h			\
108 109 110 111
	ui/theme-parser.c			\
	ui/theme-parser.h			\
	ui/theme.c				\
	ui/theme.h				\
112
	ui/ui.c
rhp's avatar
...  
rhp committed
113

114
libmetacity_private_la_LDFLAGS = -no-undefined -version-info 3:0:0
115
libmetacity_private_la_LIBADD  = @METACITY_LIBS@
Masahiro Sakai's avatar
Masahiro Sakai committed
116

117
libmetacityincludedir = $(includedir)/metacity/metacity-private
118

119 120 121 122 123 124 125 126
libmetacityinclude_HEADERS =			\
	include/boxes.h				\
	ui/gradient.h				\
	include/util.h				\
	include/common.h			\
	ui/preview-widget.h			\
	ui/theme-parser.h			\
	ui/theme.h
127 128

metacity_theme_viewer_SOURCES=  \
129
	ui/theme-viewer.c
130

131 132 133
gsettings_SCHEMAS = org.gnome.metacity.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
134

135
convertdir = $(datadir)/GConf/gsettings/
136
convert_DATA = metacity-schemas.convert
137

138
bin_PROGRAMS=metacity metacity-theme-viewer
rhp's avatar
...  
rhp committed
139

140
metacity_LDADD=@METACITY_LIBS@ libmetacity-private.la
141
metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la
Havoc Pennington's avatar
Havoc Pennington committed
142

143 144 145
testboxes_SOURCES=include/util.h core/util.c include/boxes.h core/boxes.c core/testboxes.c
testgradient_SOURCES=ui/gradient.h ui/gradient.c ui/testgradient.c
testasyncgetprop_SOURCES=core/async-getprop.h core/async-getprop.c core/testasyncgetprop.c
146

147
noinst_PROGRAMS=testboxes testgradient testasyncgetprop
148

149
testboxes_LDADD= @METACITY_LIBS@
150
testgradient_LDADD= @METACITY_LIBS@
151
testasyncgetprop_LDADD= @METACITY_LIBS@
152

153 154
@INTLTOOL_DESKTOP_RULE@

155
desktopfilesdir=$(datadir)/applications
Kjartan Maraas's avatar
Kjartan Maraas committed
156
desktopfiles_in_files=metacity.desktop.in
157 158
desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
desktopfiles_DATA = $(desktopfiles_files)
159

160 161 162 163
wmpropertiesdir=$(datadir)/gnome/wm-properties
wmproperties_in_files=metacity-wm.desktop.in
wmproperties_files=$(wmproperties_in_files:.desktop.in=.desktop)
wmproperties_DATA = $(wmproperties_files)
Havoc Pennington's avatar
Havoc Pennington committed
164

165
xmldir       = @GNOME_KEYBINDINGS_KEYSDIR@
William Jon McCann's avatar
William Jon McCann committed
166 167 168 169 170
xml_in_files = \
	50-metacity-navigation.xml.in	\
	50-metacity-system.xml.in	\
	50-metacity-windows.xml.in

171 172
xml_DATA     = $(xml_in_files:.xml.in=.xml)

Kjartan Maraas's avatar
Kjartan Maraas committed
173
@INTLTOOL_SCHEMAS_RULE@
174

175 176
CLEANFILES = \
	metacity.desktop metacity-wm.desktop org.gnome.metacity.gschema.xml 50-metacity-launchers.xml 50-metacity-navigation.xml 50-metacity-screenshot.xml 50-metacity-system.xml 50-metacity-windows.xml
177

178 179 180 181
pkgconfigdir = $(libdir)/pkgconfig

pkgconfig_DATA = libmetacity-private.pc

182 183 184 185 186
EXTRA_DIST=$(desktopfiles_files)	 	\
	$(wmproperties_files)			\
	$(IMAGES)		 		\
	$(desktopfiles_in_files)		\
	$(wmproperties_in_files)		\
187
	metacity-schemas.convert		\
188 189
	org.gnome.metacity.gschema.xml.in	\
	$(xml_in_files)				\
190
	libmetacity-private.pc.in
191

Alberts Muktupāvels's avatar
Alberts Muktupāvels committed
192
-include $(top_srcdir)/git.mk