[metacity] build everything as library
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] build everything as library
- Date: Wed, 7 Jan 2015 12:01:17 +0000 (UTC)
commit d982d0a50f5941944e60cd519a0ba935733f4b2c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jan 7 13:50:58 2015 +0200
build everything as library
src/Makefile.am | 45 +++++++++++++++++----------------------------
1 files changed, 17 insertions(+), 28 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 2853294..d08667b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,13 @@ SUBDIRS = tools themes
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@
metacity_SOURCES= \
+ 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= \
core/async-getprop.c \
core/async-getprop.h \
core/atomnames.h \
@@ -87,16 +94,18 @@ metacity_SOURCES= \
ui/menu.h \
ui/metaaccellabel.c \
ui/metaaccellabel.h \
+ ui/preview-widget.c \
+ ui/preview-widget.h \
ui/resizepopup.c \
include/resizepopup.h \
ui/tabpopup.c \
- 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 \
+ 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 \
ui/theme-parser.c \
ui/theme-parser.h \
ui/theme.c \
@@ -104,25 +113,6 @@ metacity_SOURCES= \
ui/ui.c \
include/all-keybindings.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= \
- core/boxes.c \
- include/boxes.h \
- ui/gradient.c \
- ui/gradient.h \
- core/util.c \
- include/util.h \
- core/common.c \
- 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
-
libmetacity_private_la_LDFLAGS = -no-undefined -version-info 2:0:0
libmetacity_private_la_LIBADD = @METACITY_LIBS@
@@ -149,8 +139,7 @@ convert_DATA = metacity-schemas.convert
bin_PROGRAMS=metacity metacity-theme-viewer
-EFENCE=
-metacity_LDADD= METACITY_LIBS@ $(EFENCE)
+metacity_LDADD= METACITY_LIBS@ libmetacity-private.la
metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la
testboxes_SOURCES=include/util.h core/util.c include/boxes.h core/boxes.c core/testboxes.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]