summaryrefslogtreecommitdiff
path: root/libusb/os/sources
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-21 02:55:30 +0000
committerPete Batard <pbatard@gmail.com>2010-01-21 02:55:30 +0000
commit3fa6b35e7e89f48749bf0d05d4d03e7ffe51f431 (patch)
tree7ae3a5fc5837ddefa54193408f0740a117fb19a5 /libusb/os/sources
parent0c568de2e355ade7ba1965437e9dc9d6459eed5c (diff)
downloadlibusb-3fa6b35e7e89f48749bf0d05d4d03e7ffe51f431.tar.gz
r96: added sources support (Orin Eman)
Diffstat (limited to 'libusb/os/sources')
-rw-r--r--libusb/os/sources34
1 files changed, 34 insertions, 0 deletions
diff --git a/libusb/os/sources b/libusb/os/sources
new file mode 100644
index 0000000..bc1bde2
--- /dev/null
+++ b/libusb/os/sources
@@ -0,0 +1,34 @@
+TARGETNAME=libusb
+TARGETTYPE=DYNLINK
+
+DLLDEF=..\libusb-1.0.def
+
+!IFNDEF MSC_WARNING_LEVEL
+MSC_WARNING_LEVEL=/W3
+!ENDIF
+
+!IFDEF WIN64
+PTHREAD_LIB=pthreadVC2_x64.lib
+!ELSE
+PTHREAD_LIB=pthreadVC2.lib
+!ENDIF
+
+USE_MSVCRT=1
+
+INCLUDES=..;..\..;..\..\msvc;$(DDK_INC_PATH)
+C_DEFINES = $(C_DEFINES) /DDDKBUILD
+
+TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
+ $(SDK_LIB_PATH)\advapi32.lib \
+ $(SDK_LIB_PATH)\user32.lib \
+ $(SDK_LIB_PATH)\setupapi.lib \
+ $(SDK_LIB_PATH)\ole32.lib \
+ ..\..\msvc\$(PTHREAD_LIB)
+
+SOURCES=..\core.c \
+ ..\descriptor.c \
+ ..\io.c \
+ ..\sync.c \
+ windows_compat.c \
+ windows_usb.c
+