[metacity] libmetacity: new library
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] libmetacity: new library
- Date: Thu, 28 Jan 2016 09:20:03 +0000 (UTC)
commit ffc2bcc99f00e6cd3f0b20c237bec84d22a04c0e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Jan 24 11:55:32 2016 +0200
libmetacity: new library
Makefile.am | 1 +
configure.ac | 16 ++++++++++++++++
libmetacity/Makefile.am | 27 +++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d26ab6f..bac7932 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
NULL =
SUBDIRS = \
+ libmetacity \
doc \
src \
po \
diff --git a/configure.ac b/configure.ac
index 68cd93d..2dccf27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,20 @@ dnl **************************************************************************
LT_INIT
LT_LIB_M
+dnl **************************************************************************
+dnl Check for required packages
+dnl **************************************************************************
+
+GLIB_REQUIRED_VERSION=2.44.0
+GTK_REQUIRED_VERSION=3.19.7
+
+PKG_CHECK_MODULES([LIBMETACITY], [
+ glib-2.0 >= $GLIB_REQUIRED_VERSION
+ gtk+-3.0 >= $GTK_REQUIRED_VERSION
+])
+
+dnl **************************************************************************
+
# Honor aclocal flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
@@ -412,6 +426,8 @@ AC_CONFIG_FILES([
doc/creating_themes/Makefile
doc/man/Makefile
+ libmetacity/Makefile
+
src/Makefile
src/libmetacity-private.pc
src/tools/Makefile
diff --git a/libmetacity/Makefile.am b/libmetacity/Makefile.am
new file mode 100644
index 0000000..7158c80
--- /dev/null
+++ b/libmetacity/Makefile.am
@@ -0,0 +1,27 @@
+NULL =
+
+noinst_LTLIBRARIES = libmetacity.la
+
+libmetacity_la_SOURCES = \
+ $(NULL)
+
+libmetacity_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(NULL)
+
+libmetacity_la_CFLAGS = \
+ $(LIBMETACITY_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(AM_CFLAGS) \
+ $(NULL)
+
+libmetacity_la_LDFLAGS = \
+ $(WARN_LDFLAGS) \
+ $(AM_LDFLAGS) \
+ $(NULL)
+
+libmetacity_la_LIBADD = \
+ $(LIBMETACITY_LIBS) \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]