summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-25 10:44:49 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-25 11:38:26 +0900
commitbbb978948d87790c6dfb78eaca1d47d45101443d (patch)
tree413f11d8d24786d475e354ff956308f221b87952 /src
parente548a1a2256bc204ce380da7f63e082a7a897137 (diff)
Add preliminary libtool files for libaria2
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
-rw-r--r--src/includes/Makefile.am0
-rw-r--r--src/libaria2.pc.in42
3 files changed, 51 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 594d4c35..5a52d4ac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,4 @@
+SUBDIRS = includes
bin_PROGRAMS = aria2c
aria2c_SOURCES = main.cc\
option_processing.cc\
@@ -630,10 +631,15 @@ SRCS += KqueueEventPoll.cc KqueueEventPoll.h
endif # HAVE_KQUEUE
AR = @AR@
-noinst_LIBRARIES = libaria2c.a
-libaria2c_a_SOURCES = $(SRCS)
-aria2c_LDADD = libaria2c.a @LIBINTL@ @ALLOCA@ #-lprofiler
+noinst_LTLIBRARIES = libaria2c.la
+libaria2c_la_SOURCES = $(SRCS)
+libaria2c_la_LIBADD = @WSLAY_LIBS@
+aria2c_LDADD = libaria2c.la @LIBINTL@ @ALLOCA@ #-lprofiler
#aria2c_LDFLAGS = -pg
AM_CPPFLAGS = -Wall\
-I$(top_srcdir)/lib -I$(top_srcdir)/intl\
-DLOCALEDIR=\"@localedir@\" -DCA_BUNDLE=\"$(ca_bundle)\" @DEFS@ #-pg
+
+lib_LTLIBRARIES = libaria2.la
+libaria2_la_SOURCES =
+libaria2_la_LIBADD = libaria2c.la
diff --git a/src/includes/Makefile.am b/src/includes/Makefile.am
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/includes/Makefile.am
diff --git a/src/libaria2.pc.in b/src/libaria2.pc.in
new file mode 100644
index 00000000..dfb663ad
--- /dev/null
+++ b/src/libaria2.pc.in
@@ -0,0 +1,42 @@
+# aria2 - The high speed download utility
+#
+# Copyright (C) 2013 Tatsuhiro Tsujikawa
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# In addition, as a special exception, the copyright holders give
+# permission to link the code of portions of this program with the
+# OpenSSL library under certain conditions as described in each
+# individual source file, and distribute linked combinations
+# including the two.
+# You must obey the GNU General Public License in all respects
+# for all of the code used other than OpenSSL. If you modify
+# file(s) with this exception, you may extend this exception to your
+# version of the file(s), but you are not obligated to do so. If you
+# do not wish to do so, delete this exception statement from your
+# version. If you delete this exception statement from all source
+# files in the program, then also delete it here.
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: aria2
+Description: High speed download utility library
+URL: http://aria2.sourceforge.net/
+Version: @VERSION@
+Libs: -L${libdir} -laria2
+# TODO Add Requires.private: here
+Cflags: -I${includedir}