2008-10-08 11:19:08 +00:00
|
|
|
lib_LTLIBRARIES = libmetacity-private.la
|
2001-06-02 04:14:18 +00:00
|
|
|
|
2002-02-07 03:07:56 +00:00
|
|
|
SUBDIRS=wm-tester tools themes
|
2001-08-03 04:20:27 +00:00
|
|
|
|
2008-09-18 15:09:11 +00:00
|
|
|
if WITH_CLUTTER
|
2008-10-16 11:50:01 +00:00
|
|
|
SUBDIRS += compositor/mutter/plugins
|
2008-09-18 15:09:11 +00:00
|
|
|
endif
|
|
|
|
|
2008-10-29 10:28:48 +00:00
|
|
|
INCLUDES=@METACITY_CFLAGS@ -I $(srcdir)/include -I$(srcdir)/compositor -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 -DMETACITY_MAJOR_VERSION=$(METACITY_MAJOR_VERSION) -DMETACITY_MINOR_VERSION=$(METACITY_MINOR_VERSION) -DMETACITY_MICRO_VERSION=$(METACITY_MICRO_VERSION) -DMETACITY_CLUTTER_PLUGIN_API_VERSION=$(METACITY_CLUTTER_PLUGIN_API_VERSION) -DMETACITY_PKGLIBDIR=\"$(pkglibdir)\" -DMUTTER_PLUGIN_DIR=\"@MUTTER_PLUGIN_DIR@\"
|
2001-06-02 04:14:18 +00:00
|
|
|
|
2008-10-08 11:19:08 +00:00
|
|
|
metacity_SOURCES= \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/async-getprop.c \
|
|
|
|
core/async-getprop.h \
|
2008-05-02 18:49:01 +00:00
|
|
|
core/atomnames.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/bell.c \
|
|
|
|
core/bell.h \
|
|
|
|
core/boxes.c \
|
|
|
|
include/boxes.h \
|
2008-05-19 00:00:09 +00:00
|
|
|
compositor/compositor.c \
|
|
|
|
compositor/compositor-private.h \
|
2008-09-17 15:39:32 +00:00
|
|
|
compositor/compositor-xrender.c \
|
|
|
|
compositor/compositor-xrender.h \
|
2008-05-19 00:00:09 +00:00
|
|
|
include/compositor.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/constraints.c \
|
|
|
|
core/constraints.h \
|
|
|
|
core/core.c \
|
|
|
|
core/delete.c \
|
|
|
|
core/display.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/display-private.h \
|
|
|
|
include/display.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/draw-workspace.c \
|
2008-02-02 21:35:23 +00:00
|
|
|
ui/draw-workspace.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/edge-resistance.c \
|
|
|
|
core/edge-resistance.h \
|
|
|
|
core/effects.c \
|
|
|
|
core/effects.h \
|
|
|
|
core/errors.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
include/errors.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/eventqueue.c \
|
|
|
|
core/eventqueue.h \
|
|
|
|
core/frame.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/frame-private.h \
|
|
|
|
include/frame.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/gradient.c \
|
|
|
|
ui/gradient.h \
|
|
|
|
core/group-private.h \
|
|
|
|
core/group-props.c \
|
|
|
|
core/group-props.h \
|
|
|
|
core/group.c \
|
2009-01-15 15:37:48 +00:00
|
|
|
include/group.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/iconcache.c \
|
|
|
|
core/iconcache.h \
|
|
|
|
core/keybindings.c \
|
2009-01-29 15:14:25 +00:00
|
|
|
core/keybindings-private.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/main.c \
|
2008-02-03 04:25:38 +00:00
|
|
|
include/main.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/metacity-Xatomtype.h \
|
|
|
|
core/place.c \
|
|
|
|
core/place.h \
|
|
|
|
core/prefs.c \
|
2008-02-03 05:53:18 +00:00
|
|
|
include/prefs.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/screen.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/screen-private.h \
|
|
|
|
include/screen.h \
|
2008-05-26 21:45:43 +00:00
|
|
|
include/types.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
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 \
|
2008-05-19 00:00:09 +00:00
|
|
|
core/window-private.h \
|
|
|
|
include/window.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
core/workspace.c \
|
|
|
|
core/workspace.h \
|
|
|
|
core/xprops.c \
|
2008-05-19 00:00:09 +00:00
|
|
|
include/xprops.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
include/common.h \
|
|
|
|
include/core.h \
|
|
|
|
include/ui.h \
|
2001-09-21 19:20:56 +00:00
|
|
|
inlinepixbufs.h \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/fixedtip.c \
|
|
|
|
ui/fixedtip.h \
|
|
|
|
ui/frames.c \
|
|
|
|
ui/frames.h \
|
|
|
|
ui/menu.c \
|
|
|
|
ui/menu.h \
|
|
|
|
ui/metaaccellabel.c \
|
|
|
|
ui/metaaccellabel.h \
|
|
|
|
ui/resizepopup.c \
|
|
|
|
include/resizepopup.h \
|
|
|
|
ui/tabpopup.c \
|
|
|
|
include/tabpopup.h \
|
|
|
|
ui/theme-parser.c \
|
|
|
|
ui/theme-parser.h \
|
|
|
|
ui/theme.c \
|
|
|
|
ui/theme.h \
|
|
|
|
ui/themewidget.c \
|
|
|
|
ui/themewidget.h \
|
2008-10-22 13:08:44 +00:00
|
|
|
ui/ui.c \
|
2008-11-22 19:02:54 +00:00
|
|
|
include/all-keybindings.h
|
2001-06-02 04:14:18 +00:00
|
|
|
|
2008-08-20 09:31:10 +00:00
|
|
|
if WITH_CLUTTER
|
2008-10-16 11:50:01 +00:00
|
|
|
metacity_SOURCES += \
|
|
|
|
compositor/mutter/compositor-mutter.c \
|
|
|
|
compositor/mutter/compositor-mutter.h \
|
|
|
|
compositor/mutter/mutter-shaped-texture.c \
|
|
|
|
compositor/mutter/mutter-shaped-texture.h \
|
|
|
|
compositor/mutter/mutter-plugin-manager.c \
|
|
|
|
compositor/mutter/mutter-plugin-manager.h \
|
|
|
|
compositor/mutter/tidy/tidy-texture-frame.c \
|
|
|
|
compositor/mutter/tidy/tidy-texture-frame.h \
|
2008-12-17 09:33:56 +00:00
|
|
|
compositor/mutter/mutter-module.c \
|
|
|
|
compositor/mutter/mutter-module.h \
|
|
|
|
compositor/mutter/mutter-plugin.c \
|
2008-10-16 11:50:01 +00:00
|
|
|
include/mutter-plugin.h
|
2008-08-20 09:31:10 +00:00
|
|
|
endif
|
|
|
|
|
2004-11-10 07:59:38 +00:00
|
|
|
# by setting libmetacity_private_la_CFLAGS, the files shared with
|
|
|
|
# metacity proper will be compiled with different names.
|
|
|
|
libmetacity_private_la_CFLAGS =
|
2007-12-19 21:17:50 +00:00
|
|
|
libmetacity_private_la_SOURCES= \
|
|
|
|
core/boxes.c \
|
|
|
|
include/boxes.h \
|
|
|
|
ui/gradient.c \
|
|
|
|
ui/gradient.h \
|
|
|
|
core/util.c \
|
|
|
|
include/util.h \
|
|
|
|
include/common.h \
|
|
|
|
ui/preview-widget.c \
|
|
|
|
ui/preview-widget.h \
|
|
|
|
ui/theme-parser.c \
|
|
|
|
ui/theme-parser.h \
|
|
|
|
ui/theme.c \
|
|
|
|
ui/theme.h
|
2002-01-28 02:09:12 +00:00
|
|
|
|
2003-04-19 07:19:04 +00:00
|
|
|
libmetacity_private_la_LDFLAGS = -no-undefined
|
2003-04-21 23:37:42 +00:00
|
|
|
libmetacity_private_la_LIBADD = @METACITY_LIBS@
|
2003-04-19 07:19:04 +00:00
|
|
|
|
2002-11-07 22:09:59 +00:00
|
|
|
libmetacityincludedir = $(includedir)/metacity-1/metacity-private
|
|
|
|
|
2007-12-19 21:17:50 +00:00
|
|
|
libmetacityinclude_HEADERS = \
|
|
|
|
include/boxes.h \
|
|
|
|
ui/gradient.h \
|
|
|
|
include/util.h \
|
|
|
|
include/common.h \
|
|
|
|
ui/preview-widget.h \
|
|
|
|
ui/theme-parser.h \
|
2008-10-28 10:45:45 +00:00
|
|
|
ui/theme.h \
|
2008-11-24 11:25:12 +00:00
|
|
|
include/atomnames.h \
|
2008-10-28 10:45:45 +00:00
|
|
|
include/prefs.h \
|
|
|
|
include/window.h \
|
|
|
|
include/workspace.h \
|
|
|
|
include/compositor.h \
|
|
|
|
include/compositor-mutter.h \
|
|
|
|
include/types.h \
|
|
|
|
include/screen.h \
|
|
|
|
include/display.h \
|
2009-01-15 15:37:48 +00:00
|
|
|
include/group.h \
|
2009-01-29 15:14:25 +00:00
|
|
|
include/keybindings.h \
|
2008-10-28 10:45:45 +00:00
|
|
|
include/mutter-plugin.h
|
2002-11-07 22:09:59 +00:00
|
|
|
|
|
|
|
metacity_theme_viewer_SOURCES= \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/theme-viewer.c
|
2002-11-07 22:09:59 +00:00
|
|
|
|
2002-04-12 23:00:46 +00:00
|
|
|
metacity_dialog_SOURCES= \
|
2007-12-19 21:17:50 +00:00
|
|
|
ui/metacity-dialog.c
|
2002-04-12 23:00:46 +00:00
|
|
|
|
2008-10-12 23:29:09 +00:00
|
|
|
schema_bindings_SOURCES = \
|
2008-10-23 04:02:48 +00:00
|
|
|
core/schema-bindings.c \
|
|
|
|
metacity.schemas.in.in
|
2008-10-12 23:29:09 +00:00
|
|
|
|
|
|
|
schema_bindings_LDADD = @METACITY_LIBS@
|
2008-10-23 04:02:48 +00:00
|
|
|
metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in
|
|
|
|
@echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in
|
|
|
|
${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in
|
2008-10-12 23:29:09 +00:00
|
|
|
|
2002-01-28 02:09:12 +00:00
|
|
|
bin_PROGRAMS=metacity metacity-theme-viewer
|
2002-04-12 23:00:46 +00:00
|
|
|
libexec_PROGRAMS=metacity-dialog
|
2001-06-02 04:14:18 +00:00
|
|
|
|
2002-11-13 04:11:52 +00:00
|
|
|
EFENCE=
|
2008-10-08 11:19:08 +00:00
|
|
|
metacity_LDADD=@METACITY_LIBS@ $(EFENCE)
|
2008-10-08 11:28:20 +00:00
|
|
|
metacity_LDFLAGS=-export-dynamic
|
2002-11-07 22:09:59 +00:00
|
|
|
metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la
|
2002-04-12 23:00:46 +00:00
|
|
|
metacity_dialog_LDADD=@METACITY_LIBS@
|
2001-09-05 03:57:45 +00:00
|
|
|
|
2008-10-08 11:19:08 +00:00
|
|
|
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
|
2002-01-06 17:52:21 +00:00
|
|
|
|
2008-10-12 23:29:09 +00:00
|
|
|
noinst_PROGRAMS=testboxes testgradient testasyncgetprop schema_bindings
|
2002-01-06 17:52:21 +00:00
|
|
|
|
2008-10-08 11:19:08 +00:00
|
|
|
testboxes_LDADD= @METACITY_LIBS@
|
|
|
|
testgradient_LDADD= @METACITY_LIBS@
|
|
|
|
testasyncgetprop_LDADD= @METACITY_LIBS@
|
2002-01-06 17:52:21 +00:00
|
|
|
|
2008-09-12 04:05:17 +00:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
2008-09-02 18:49:11 +00:00
|
|
|
desktopfilesdir=$(datadir)/applications
|
2002-05-27 15:51:41 +00:00
|
|
|
desktopfiles_in_files=metacity.desktop.in
|
2003-01-10 20:43:47 +00:00
|
|
|
desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
|
|
|
|
desktopfiles_DATA = $(desktopfiles_files)
|
2008-03-30 00:01:18 +00:00
|
|
|
|
2008-09-12 04:05:17 +00:00
|
|
|
wmpropertiesdir=$(datadir)/gnome/wm-properties
|
|
|
|
wmproperties_in_files=metacity-wm.desktop.in
|
|
|
|
wmproperties_files=$(wmproperties_in_files:.desktop.in=.desktop)
|
|
|
|
wmproperties_DATA = $(wmproperties_files)
|
2001-09-05 03:57:45 +00:00
|
|
|
|
2001-12-09 22:41:12 +00:00
|
|
|
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
2002-05-27 15:51:41 +00:00
|
|
|
schema_in_files = metacity.schemas.in
|
|
|
|
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
|
|
|
|
|
2007-04-05 09:22:19 +00:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
|
|
|
|
2007-07-24 02:41:33 +00:00
|
|
|
xmldir = @GNOME_KEYBINDINGS_KEYSDIR@
|
2007-04-05 09:22:19 +00:00
|
|
|
xml_in_files = 50-metacity-desktop-key.xml.in 50-metacity-key.xml.in
|
|
|
|
xml_DATA = $(xml_in_files:.xml.in=.xml)
|
|
|
|
|
2002-05-27 15:51:41 +00:00
|
|
|
@INTLTOOL_SCHEMAS_RULE@
|
2001-12-09 22:41:12 +00:00
|
|
|
|
2003-06-12 17:41:38 +00:00
|
|
|
if GCONF_SCHEMAS_INSTALL
|
2001-12-09 22:41:12 +00:00
|
|
|
install-data-local:
|
2005-01-03 23:50:10 +00:00
|
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
|
2003-06-12 17:41:38 +00:00
|
|
|
else
|
|
|
|
install-data-local:
|
|
|
|
endif
|
2001-12-09 22:41:12 +00:00
|
|
|
|
2008-08-14 14:01:51 +00:00
|
|
|
IMAGES=stock_maximize.png stock_minimize.png stock_delete.png
|
|
|
|
VARIABLES=stock_maximize_data $(srcdir)/stock_maximize.png \
|
2002-08-10 16:47:43 +00:00
|
|
|
stock_minimize_data $(srcdir)/stock_minimize.png \
|
|
|
|
stock_delete_data $(srcdir)/stock_delete.png
|
2001-09-05 03:57:45 +00:00
|
|
|
|
2001-10-13 04:00:08 +00:00
|
|
|
BUILT_SOURCES = inlinepixbufs.h
|
2008-10-22 13:08:44 +00:00
|
|
|
CLEANFILES = inlinepixbufs.h metacity.desktop metacity-wm.desktop metacity.schemas metacity.schemas.in 50-metacity-desktop-key.xml 50-metacity-key.xml
|
2001-09-17 04:42:37 +00:00
|
|
|
|
|
|
|
inlinepixbufs.h: $(IMAGES)
|
2007-12-19 21:17:50 +00:00
|
|
|
$(GDK_PIXBUF_CSOURCE) --raw --build-list $(VARIABLES) >$(srcdir)/inlinepixbufs.h
|
2001-09-17 04:42:37 +00:00
|
|
|
|
2002-11-07 22:09:59 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2008-10-28 10:45:45 +00:00
|
|
|
pkgconfig_DATA = libmetacity-private.pc metacity-plugins.pc
|
2002-11-07 22:09:59 +00:00
|
|
|
|
2003-01-10 20:43:47 +00:00
|
|
|
EXTRA_DIST=$(desktopfiles_files) \
|
2008-10-28 10:45:45 +00:00
|
|
|
$(wmproperties_files) \
|
2002-11-07 22:09:59 +00:00
|
|
|
$(IMAGES) $(schema_DATA) \
|
|
|
|
$(desktopfiles_in_files) \
|
2008-09-12 04:05:17 +00:00
|
|
|
$(wmproperties_in_files) \
|
2002-11-07 22:09:59 +00:00
|
|
|
$(schema_in_files) \
|
2007-04-05 09:22:19 +00:00
|
|
|
$(xml_in_files) \
|
2008-10-28 10:45:45 +00:00
|
|
|
libmetacity-private.pc.in \
|
|
|
|
metacity-plugins.pc.in
|
2007-04-05 09:22:19 +00:00
|
|
|
|