summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usb/Makefile-files
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/usb/Makefile-files')
-rw-r--r--libgphoto2_port/usb/Makefile-files24
1 files changed, 24 insertions, 0 deletions
diff --git a/libgphoto2_port/usb/Makefile-files b/libgphoto2_port/usb/Makefile-files
new file mode 100644
index 000000000..442e042ca
--- /dev/null
+++ b/libgphoto2_port/usb/Makefile-files
@@ -0,0 +1,24 @@
+EXTRA_DIST = usb-os2.c
+
+iolib_LTLIBRARIES = usb.la
+
+udevscript_PROGRAMS = check-mtp-device
+check_mtp_device_SOURCE = check-mtp-device.c
+check_mtp_device_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) $(LIBUSB_CFLAGS)
+check_mtp_device_LDADD = $(LIBUSB_LIBS)
+
+usb_la_LDFLAGS = -module -no-undefined -avoid-version \
+ -export-dynamic \
+ -export-symbols $(top_srcdir)/iolib.sym
+usb_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(CPPFLAGS) \
+ $(INTL_CFLAGS) \
+ $(LIBUSB_CFLAGS)
+
+usb_la_DEPENDENCIES = $(top_srcdir)/iolib.sym
+usb_la_LIBADD = \
+ $(top_builddir)/libgphoto2_port/libgphoto2_port.la \
+ $(LIBUSB_LIBS) \
+ $(INTLLIBS)
+usb_la_SOURCES = libusb.c