2008-10-08 07:19:08 -04:00
|
|
|
lib_LTLIBRARIES = libmetacity-private.la
|
2001-06-02 00:14:18 -04:00
|
|
|
|
2002-02-06 22:07:56 -05:00
|
|
|
SUBDIRS=wm-tester tools themes
|
2001-08-03 00:20:27 -04:00
|
|
|
|
2008-09-18 11:09:11 -04:00
|
|
|
if WITH_CLUTTER
|
2008-10-16 07:50:01 -04:00
|
|
|
SUBDIRS += compositor/mutter/plugins
|
2008-09-18 11:09:11 -04:00
|
|
|
endif
|
|
|
|
|
2008-10-29 06:28:48 -04: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 00:14:18 -04:00
|
|
|
|
2008-10-08 07:19:08 -04:00
|
|
|
metacity_SOURCES= \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/async-getprop.c \
|
|
|
|
core/async-getprop.h \
|
|
|
|
core/bell.c \
|
|
|
|
core/bell.h \
|
|
|
|
core/boxes.c \
|
|
|
|
include/boxes.h \
|
2008-05-18 20:00:09 -04:00
|
|
|
compositor/compositor.c \
|
|
|
|
compositor/compositor-private.h \
|
2008-09-17 11:39:32 -04:00
|
|
|
compositor/compositor-xrender.c \
|
|
|
|
compositor/compositor-xrender.h \
|
2008-05-18 20:00:09 -04:00
|
|
|
include/compositor.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/constraints.c \
|
|
|
|
core/constraints.h \
|
|
|
|
core/core.c \
|
|
|
|
core/delete.c \
|
|
|
|
core/display.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/display-private.h \
|
|
|
|
include/display.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/draw-workspace.c \
|
2008-02-02 16:35:23 -05:00
|
|
|
ui/draw-workspace.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/edge-resistance.c \
|
|
|
|
core/edge-resistance.h \
|
|
|
|
core/effects.c \
|
|
|
|
core/effects.h \
|
|
|
|
core/errors.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
include/errors.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/eventqueue.c \
|
|
|
|
core/eventqueue.h \
|
|
|
|
core/frame.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/frame-private.h \
|
|
|
|
include/frame.h \
|
2007-12-19 16:17:50 -05: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 10:37:48 -05:00
|
|
|
include/group.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/iconcache.c \
|
|
|
|
core/iconcache.h \
|
|
|
|
core/keybindings.c \
|
2009-01-29 10:14:25 -05:00
|
|
|
core/keybindings-private.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/main.c \
|
2008-02-02 23:25:38 -05:00
|
|
|
include/main.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/metacity-Xatomtype.h \
|
|
|
|
core/place.c \
|
|
|
|
core/place.h \
|
|
|
|
core/prefs.c \
|
2008-02-03 00:53:18 -05:00
|
|
|
include/prefs.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/screen.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
core/screen-private.h \
|
|
|
|
include/screen.h \
|
2008-05-26 17:45:43 -04:00
|
|
|
include/types.h \
|
2007-12-19 16:17:50 -05: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-18 20:00:09 -04:00
|
|
|
core/window-private.h \
|
|
|
|
include/window.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/workspace.c \
|
2009-02-12 05:48:59 -05:00
|
|
|
core/workspace-private.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
core/xprops.c \
|
2008-05-18 20:00:09 -04:00
|
|
|
include/xprops.h \
|
2007-12-19 16:17:50 -05:00
|
|
|
include/common.h \
|
|
|
|
include/core.h \
|
|
|
|
include/ui.h \
|
2001-09-21 15:20:56 -04:00
|
|
|
inlinepixbufs.h \
|
2007-12-19 16:17:50 -05: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 09:08:44 -04:00
|
|
|
ui/ui.c \
|
2008-11-22 14:02:54 -05:00
|
|
|
include/all-keybindings.h
|
2001-06-02 00:14:18 -04:00
|
|
|
|
2008-08-20 05:31:10 -04:00
|
|
|
if WITH_CLUTTER
|
2008-10-16 07:50:01 -04:00
|
|
|
metacity_SOURCES += \
|
|
|
|
compositor/mutter/compositor-mutter.c \
|
|
|
|
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 04:33:56 -05:00
|
|
|
compositor/mutter/mutter-module.c \
|
|
|
|
compositor/mutter/mutter-module.h \
|
|
|
|
compositor/mutter/mutter-plugin.c \
|
2009-02-12 05:48:59 -05:00
|
|
|
include/mutter-plugin.h \
|
|
|
|
include/compositor-mutter.h
|
2008-08-20 05:31:10 -04:00
|
|
|
endif
|
|
|
|
|
2004-11-10 02:59:38 -05: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 16:17:50 -05: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-27 21:09:12 -05:00
|
|
|
|
2003-04-19 03:19:04 -04:00
|
|
|
libmetacity_private_la_LDFLAGS = -no-undefined
|
2003-04-21 19:37:42 -04:00
|
|
|
libmetacity_private_la_LIBADD = @METACITY_LIBS@
|
2003-04-19 03:19:04 -04:00
|
|
|
|
2002-11-07 17:09:59 -05:00
|
|
|
libmetacityincludedir = $(includedir)/metacity-1/metacity-private
|
|
|
|
|
2007-12-19 16:17:50 -05: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 06:45:45 -04:00
|
|
|
ui/theme.h \
|
2008-11-24 06:25:12 -05:00
|
|
|
include/atomnames.h \
|
2008-10-28 06:45:45 -04: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 10:37:48 -05:00
|
|
|
include/group.h \
|
2009-01-29 10:14:25 -05:00
|
|
|
include/keybindings.h \
|
2008-10-28 06:45:45 -04:00
|
|
|
include/mutter-plugin.h
|
2002-11-07 17:09:59 -05:00
|
|
|
|
|
|
|
metacity_theme_viewer_SOURCES= \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/theme-viewer.c
|
2002-11-07 17:09:59 -05:00
|
|
|
|
2002-04-12 19:00:46 -04:00
|
|
|
metacity_dialog_SOURCES= \
|
2007-12-19 16:17:50 -05:00
|
|
|
ui/metacity-dialog.c
|
2002-04-12 19:00:46 -04:00
|
|
|
|
2008-10-12 19:29:09 -04:00
|
|
|
schema_bindings_SOURCES = \
|
2008-10-23 00:02:48 -04:00
|
|
|
core/schema-bindings.c \
|
|
|
|
metacity.schemas.in.in
|
2008-10-12 19:29:09 -04:00
|
|
|
|
|
|
|
schema_bindings_LDADD = @METACITY_LIBS@
|
2008-10-23 00:02:48 -04: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 19:29:09 -04:00
|
|
|
|
2002-01-27 21:09:12 -05:00
|
|
|
bin_PROGRAMS=metacity metacity-theme-viewer
|
2002-04-12 19:00:46 -04:00
|
|
|
libexec_PROGRAMS=metacity-dialog
|
2001-06-02 00:14:18 -04:00
|
|
|
|
2002-11-12 23:11:52 -05:00
|
|
|
EFENCE=
|
2008-10-08 07:19:08 -04:00
|
|
|
metacity_LDADD=@METACITY_LIBS@ $(EFENCE)
|
2008-10-08 07:28:20 -04:00
|
|
|
metacity_LDFLAGS=-export-dynamic
|
2002-11-07 17:09:59 -05:00
|
|
|
metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la
|
2002-04-12 19:00:46 -04:00
|
|
|
metacity_dialog_LDADD=@METACITY_LIBS@
|
2001-09-04 23:57:45 -04:00
|
|
|
|
2008-10-08 07:19:08 -04: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 12:52:21 -05:00
|
|
|
|
2008-10-12 19:29:09 -04:00
|
|
|
noinst_PROGRAMS=testboxes testgradient testasyncgetprop schema_bindings
|
2002-01-06 12:52:21 -05:00
|
|
|
|
2008-10-08 07:19:08 -04:00
|
|
|
testboxes_LDADD= @METACITY_LIBS@
|
|
|
|
testgradient_LDADD= @METACITY_LIBS@
|
|
|
|
testasyncgetprop_LDADD= @METACITY_LIBS@
|
2002-01-06 12:52:21 -05:00
|
|
|
|
2008-09-12 00:05:17 -04:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
2008-09-02 14:49:11 -04:00
|
|
|
desktopfilesdir=$(datadir)/applications
|
2002-05-27 11:51:41 -04:00
|
|
|
desktopfiles_in_files=metacity.desktop.in
|
2003-01-10 15:43:47 -05:00
|
|
|
desktopfiles_files=$(desktopfiles_in_files:.desktop.in=.desktop)
|
|
|
|
desktopfiles_DATA = $(desktopfiles_files)
|
2008-03-29 20:01:18 -04:00
|
|
|
|
2008-09-12 00:05:17 -04: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-04 23:57:45 -04:00
|
|
|
|
2001-12-09 17:41:12 -05:00
|
|
|
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
2002-05-27 11:51:41 -04:00
|
|
|
schema_in_files = metacity.schemas.in
|
|
|
|
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
|
|
|
|
|
2007-04-05 05:22:19 -04:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
|
|
|
|
2007-07-23 22:41:33 -04:00
|
|
|
xmldir = @GNOME_KEYBINDINGS_KEYSDIR@
|
2007-04-05 05:22:19 -04: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 11:51:41 -04:00
|
|
|
@INTLTOOL_SCHEMAS_RULE@
|
2001-12-09 17:41:12 -05:00
|
|
|
|
2003-06-12 13:41:38 -04:00
|
|
|
if GCONF_SCHEMAS_INSTALL
|
2001-12-09 17:41:12 -05:00
|
|
|
install-data-local:
|
2005-01-03 18:50:10 -05:00
|
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
|
2003-06-12 13:41:38 -04:00
|
|
|
else
|
|
|
|
install-data-local:
|
|
|
|
endif
|
2001-12-09 17:41:12 -05:00
|
|
|
|
2008-08-14 10:01:51 -04:00
|
|
|
IMAGES=stock_maximize.png stock_minimize.png stock_delete.png
|
|
|
|
VARIABLES=stock_maximize_data $(srcdir)/stock_maximize.png \
|
2002-08-10 12:47:43 -04:00
|
|
|
stock_minimize_data $(srcdir)/stock_minimize.png \
|
|
|
|
stock_delete_data $(srcdir)/stock_delete.png
|
2001-09-04 23:57:45 -04:00
|
|
|
|
2001-10-13 00:00:08 -04:00
|
|
|
BUILT_SOURCES = inlinepixbufs.h
|
2008-10-22 09:08:44 -04: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 00:42:37 -04:00
|
|
|
|
|
|
|
inlinepixbufs.h: $(IMAGES)
|
2007-12-19 16:17:50 -05:00
|
|
|
$(GDK_PIXBUF_CSOURCE) --raw --build-list $(VARIABLES) >$(srcdir)/inlinepixbufs.h
|
2001-09-17 00:42:37 -04:00
|
|
|
|
2002-11-07 17:09:59 -05:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
2008-10-28 06:45:45 -04:00
|
|
|
pkgconfig_DATA = libmetacity-private.pc metacity-plugins.pc
|
2002-11-07 17:09:59 -05:00
|
|
|
|
2003-01-10 15:43:47 -05:00
|
|
|
EXTRA_DIST=$(desktopfiles_files) \
|
2008-10-28 06:45:45 -04:00
|
|
|
$(wmproperties_files) \
|
2002-11-07 17:09:59 -05:00
|
|
|
$(IMAGES) $(schema_DATA) \
|
|
|
|
$(desktopfiles_in_files) \
|
2008-09-12 00:05:17 -04:00
|
|
|
$(wmproperties_in_files) \
|
2002-11-07 17:09:59 -05:00
|
|
|
$(schema_in_files) \
|
2007-04-05 05:22:19 -04:00
|
|
|
$(xml_in_files) \
|
2008-10-28 06:45:45 -04:00
|
|
|
libmetacity-private.pc.in \
|
|
|
|
metacity-plugins.pc.in
|
2007-04-05 05:22:19 -04:00
|
|
|
|