summaryrefslogtreecommitdiff
path: root/libgphoto2_port/serial
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2005-05-09 14:15:08 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2005-05-09 14:15:08 +0000
commit7b53ea4e203e299b5c12dda83a6eb47e81d31358 (patch)
tree2066ba3631941154724b780a5d6e060b1a730996 /libgphoto2_port/serial
parent7775bdb7f6f97bba03fdeab6fd37bfddaea58f75 (diff)
downloadlibgphoto2-7b53ea4e203e299b5c12dda83a6eb47e81d31358.tar.gz
install lean mean iolibs with short filenames and symbol lists
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7985 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/serial')
-rw-r--r--libgphoto2_port/serial/Makefile.am15
1 files changed, 8 insertions, 7 deletions
diff --git a/libgphoto2_port/serial/Makefile.am b/libgphoto2_port/serial/Makefile.am
index 5ddcdbb4a..858d0d9ff 100644
--- a/libgphoto2_port/serial/Makefile.am
+++ b/libgphoto2_port/serial/Makefile.am
@@ -1,12 +1,13 @@
EXTRA_DIST = makefile.os2 serial.df
-INCLUDES = -I$(top_srcdir)/libgphoto2_port -I$(top_srcdir)/intl
+## Compile the IO library into a libtool module shared library
+iolib_LTLIBRARIES = serial.la
-## Compile the IO library into a shared library
-iolib_LTLIBRARIES = libgphoto2_port_serial.la
-
-libgphoto2_port_serial_la_LDFLAGS = -module -no-undefined -avoid-version
-libgphoto2_port_serial_la_LIBADD = \
+serial_la_LDFLAGS = -module -no-undefined -avoid-version \
+ -export-dynamic \
+ -export-symbols $(top_srcdir)/iolib.sym
+serial_la_CPPFLAGS = -I$(top_srcdir)/libgphoto2_port $(INTL_CFLAGS)
+serial_la_LIBADD = \
$(top_builddir)/libgphoto2_port/libgphoto2_port.la \
$(SERIAL_LIBS)
-libgphoto2_port_serial_la_SOURCES = unix.c
+serial_la_SOURCES = unix.c