Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Side by Side Diff: third_party/libusb/libusb/Makefile.am

Issue 10332075: Adding use_system_libusb option for third_party/libusb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing license check. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 lib_LTLIBRARIES = libusb-1.0.la
2
3 LINUX_USBFS_SRC = os/linux_usbfs.c
4 DARWIN_USB_SRC = os/darwin_usb.c
5 WINDOWS_USB_SRC = os/poll_windows.c os/windows_usb.c libusb-1.0.rc
6
7 EXTRA_DIST = $(LINUX_USBFS_SRC) $(DARWIN_USB_SRC) $(WINDOWS_USB_SRC) \
8 os/threads_posix.c os/threads_windows.c
9
10 if OS_LINUX
11 OS_SRC = $(LINUX_USBFS_SRC)
12 endif
13
14 if OS_DARWIN
15 OS_SRC = $(DARWIN_USB_SRC)
16 AM_CFLAGS_EXT = -no-cpp-precomp
17 endif
18
19 if OS_WINDOWS
20 OS_SRC = $(WINDOWS_USB_SRC)
21
22 .rc.lo:
23 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCF LAGS) -i $< -o $@
24 endif
25
26 if THREADS_POSIX
27 THREADS_SRC = os/threads_posix.h os/threads_posix.c
28 else
29 THREADS_SRC = os/threads_windows.h os/threads_windows.c
30 endif
31
32 libusb_1_0_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) $(THREAD_CFLAGS)
33 libusb_1_0_la_LDFLAGS = $(LTLDFLAGS)
34 libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) \
35 os/linux_usbfs.h os/darwin_usb.h os/windows_usb.h \
36 $(THREADS_SRC) \
37 os/poll_posix.h os/poll_windows.h
38
39 hdrdir = $(includedir)/libusb-1.0
40 hdr_HEADERS = libusb.h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698