[identica-glib] First steps to make identica-glib a shared library
- From: Davide Italiano <davit src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [identica-glib] First steps to make identica-glib a shared library
- Date: Sun, 12 Jun 2011 19:08:41 +0000 (UTC)
commit a31097c95789ed3415df5c646d0cc6dc2ee662c0
Author: Davide Italiano <davide italiano gmail com>
Date: Sun Jun 12 21:07:58 2011 +0200
First steps to make identica-glib a shared library
Makefile.am | 15 +++++++++++++++
configure.ac | 3 ++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ad96661..f1486fd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,16 @@
SUBDIRS = identica-glib
+
+ACLOCAL_AMFLAGS = -I m4
+
+lib_LTLIBRARIES = libidentica-glib.la
+
+libidentica_glib_la_SOURCES = \
+ identica-glib/auth.c \
+ identica-glib/init.c \
+ identica-glib/parse.c \
+ identica-glib/status.c \
+ identica-glib/timeline.c \
+ identica-glib/user.c
+
+libidentica_glib_la_CFLAGS = $(IDENTICA_CFLAGS)
+libidentica_glib_la_LIBS = $(IDENTICA_LIBS)
diff --git a/configure.ac b/configure.ac
index 2cb1123..79637cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,10 +23,11 @@ AM_INIT_AUTOMAKE([1.11])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([identica-glib])
+AC_PROG_LIBTOOL
AM_PROG_CC_C_O
-AC_GNU_SOURCE
AC_ISC_POSIX
AC_HEADER_STDC
AC_C_CONST
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]