diff options
author | Nathan Hjelm <hjelmn@mac.com> | 2009-02-16 21:39:29 -0300 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2009-02-16 21:40:45 -0300 |
commit | b49f6bf5c910d0fd694ecf165d7927673707bff9 (patch) | |
tree | ad2a648eeef9ce04567f5717f3d9831f3ccdb0e9 /libusb/Makefile.am | |
parent | d859158581e9a3250f36cdeeb8ea67cda04053bd (diff) | |
download | libusb-b49f6bf5c910d0fd694ecf165d7927673707bff9.tar.gz |
Darwin backend
Diffstat (limited to 'libusb/Makefile.am')
-rw-r--r-- | libusb/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am index 9ad8ec5..3551603 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -1,13 +1,19 @@ lib_LTLIBRARIES = libusb-1.0.la LINUX_USBFS_SRC = os/linux_usbfs.h os/linux_usbfs.c +DARWIN_USB_SRC = os/darwin_usb.h os/darwin_usb.c -EXTRA_DIST = $(LINUX_USBFS_SRC) +EXTRA_DIST = $(LINUX_USBFS_SRC) $(DARWIN_USB_SRC) if OS_LINUX OS_SRC = $(LINUX_USBFS_SRC) endif +if OS_DARWIN +OS_SRC = $(DARWIN_USB_SRC) +AM_CFLAGS_EXT = -no-cpp-precomp +endif + libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) |