[PATCH core 03/10] build: libgrlnet



Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
 libs/Makefile.am     |    8 ++++++++
 libs/net/Makefile.am |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 0 deletions(-)
 create mode 100644 libs/Makefile.am
 create mode 100644 libs/net/Makefile.am

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..4e3f247
--- /dev/null
+++ b/libs/net/Makefile.am
@@ -0,0 +1,50 @@
+#
+# 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)
+
+wc_test_LDADD =						\
+	$(top_builddir)/libs/net/libgrlnet- GRL_MAJORMINOR@.la	\
+	$(DEPS_LIBS)
+
+MAINTAINERCLEANFILES =	\
+	*.in		\
+	*~
+
+DISTCLEANFILES = $(MAINTAINERCLEANFILES)
-- 
1.7.1



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