[libgsystem] Update buildsystem to be more embeddable
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsystem] Update buildsystem to be more embeddable
- Date: Sun, 15 Jul 2012 15:32:03 +0000 (UTC)
commit 805901bdabfe40aba87180179e6c6c292798217a
Author: Colin Walters <walters verbum org>
Date: Sun Jul 15 11:30:49 2012 -0400
Update buildsystem to be more embeddable
Makefile-libgsystem.am | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/Makefile-libgsystem.am b/Makefile-libgsystem.am
index 31c53b9..92579bc 100644
--- a/Makefile-libgsystem.am
+++ b/Makefile-libgsystem.am
@@ -15,13 +15,17 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
+libgsystem_src_dir ?= src/libgsystem
+libgsystem_cflags ?= $(GIO_UNIX_CFLAGS)
+libgsystem_libs ?= $(GIO_UNIX_LIBS)
+
noinst_LTLIBRARIES += libgsystem.la
libgsystem_la_SOURCES = \
- gsystem-local-alloc.h \
- gsystem-local-alloc.c \
- libgsystem.h \
+ $(libgsystem_src_dir)/gsystem-local-alloc.h \
+ $(libgsystem_src_dir)/gsystem-local-alloc.c \
+ $(libgsystem_src_dir)/libgsystem.h \
$(NULL)
-libgsystem_la_CFLAGS = $(AM_CFLAGS) $(GIO_UNIX_CFLAGS)
-libgsystem_la_LIBADD = $(GIO_UNIX_LIBS)
+libgsystem_la_CFLAGS = $(AM_CFLAGS) $(libgsystem_cflags)
+libgsystem_la_LIBADD = $(libgsystem_libs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]