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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
EXTRA_DIST = makefile.os2 usb.df usb-os2.c
|
||||
|
||||
iolib_LTLIBRARIES = libgphoto2_port_usb.la
|
||||
iolib_LTLIBRARIES = usb.la
|
||||
|
||||
libgphoto2_port_usb_la_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) $(AM_CFLAGS) \
|
||||
$(LIBUSB_CFLAGS)
|
||||
|
||||
libgphoto2_port_usb_la_LDFLAGS = -module -no-undefined -avoid-version
|
||||
libgphoto2_port_usb_la_LIBADD = \
|
||||
usb_la_LDFLAGS = -module -no-undefined -avoid-version \
|
||||
-export-dynamic \
|
||||
-export-symbols $(top_srcdir)/iolib.sym
|
||||
usb_la_CPPFLAGS = \
|
||||
-I$(top_srcdir)/libgphoto2_port $(INTL_CFLAGS) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(LIBUSB_CFLAGS)
|
||||
usb_la_LIBADD = \
|
||||
$(LIBUSB_LIBS) \
|
||||
$(top_builddir)/libgphoto2_port/libgphoto2_port.la
|
||||
libgphoto2_port_usb_la_SOURCES = libusb.c
|
||||
usb_la_SOURCES = libusb.c
|
||||
|
||||
Reference in New Issue
Block a user