[grilo] build: libgrlnet



commit 8e3dc779ad6d11531a9128ac2f6fc6de75c78f1c
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Mon Sep 20 12:21:53 2010 +0200

    build: libgrlnet
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 libs/Makefile.am     |    8 +++++++
 libs/net/Makefile.am |   51 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/libs/Makefile.am b/libs/Makefile.am
new file mode 100644
index 0000000..0991d18
--- /dev/null
+++ b/libs/Makefile.am
@@ -0,0 +1,8 @@
+#
+# Makefile.am
+#
+# Author: Víctor M. Jáquez L. <vjaquez igalia com>
+#
+# Copyright (C) 2010 Igalia S.L. All rights reserved.
+
+SUBDIRS = net
diff --git a/libs/net/Makefile.am b/libs/net/Makefile.am
new file mode 100644
index 0000000..54d8549
--- /dev/null
+++ b/libs/net/Makefile.am
@@ -0,0 +1,51 @@
+#
+# Makefile.am
+#
+# Author: Víctor M. Jáquez L. <vjaquez igalia com>
+#
+# Copyright (C) 2010 Igalia S.L. All rights reserved.
+
+if BUILD_GRILO_NET
+lib_LTLIBRARIES = libgrlnet- GRL_MAJORMINOR@.la
+noinst_PROGRAMS = wc-test
+endif
+
+libgrlnet_ GRL_MAJORMINOR@_la_DEPENDENCIES =	\
+	$(top_builddir)/src/lib GRL_NAME@.la
+
+libgrlnet_ GRL_MAJORMINOR@_la_SOURCES = \
+	grl-net-wc.c
+
+libgrlnet_ GRL_MAJORMINOR@_la_CFLAGS =	\
+	-I $(top_srcdir)/src		\
+	-I $(top_srcdir)/src/data	\
+	$(DEPS_CFLAGS)			\
+	$(NET_CFLAGS)
+
+libgrlnet_ GRL_MAJORMINOR@_la_LIBADD =	\
+	$(top_builddir)/src/lib GRL_NAME@.la	\
+	$(DEPS_LIBS)				\
+	$(NET_LIBS)
+
+libgrlnet_ GRL_MAJORMINOR@includedir =	\
+	$(includedir)/@GRL_NAME@/net
+
+libgrlnet_ GRL_MAJORMINOR@include_HEADERS =	\
+	grl-net-wc.h
+
+wc_test_SOURCES = 	\
+	wc-test.c
+
+wc_test_CFLAGS = 	\
+	$(DEPS_CFLAGS)	\
+	-D_GNU_SOURCE
+
+wc_test_LDADD =						\
+	$(top_builddir)/libs/net/libgrlnet- GRL_MAJORMINOR@.la	\
+	$(DEPS_LIBS)
+
+MAINTAINERCLEANFILES =	\
+	*.in		\
+	*~
+
+DISTCLEANFILES = $(MAINTAINERCLEANFILES)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]