Darwin: fix interface object leak
[libusbx.git] / libusb / Makefile.am
blobe0f9f5af4152cd9a46f15ececf0b19309e0969a6
1 lib_LTLIBRARIES = libusb-1.0.la
3 LINUX_USBFS_SRC = os/linux_usbfs.h os/linux_usbfs.c
4 DARWIN_USB_SRC = os/darwin_usb.h os/darwin_usb.c
6 EXTRA_DIST = $(LINUX_USBFS_SRC) $(DARWIN_USB_SRC)
8 if OS_LINUX
9 OS_SRC = $(LINUX_USBFS_SRC)
10 endif
12 if OS_DARWIN
13 OS_SRC = $(DARWIN_USB_SRC)
14 AM_CFLAGS_EXT = -no-cpp-precomp
15 endif
17 libusb_1_0_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) $(THREAD_CFLAGS)
18 libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c os/threads_posix.h os/poll_posix.h $(OS_SRC)
20 hdrdir = $(includedir)/libusb-1.0
21 hdr_HEADERS = libusb.h