2011-05-22 19:36:13 +00:00
|
|
|
|
|
|
|
set_cpp()
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_library(usbohci SHARED
|
|
|
|
usbohci.cpp
|
|
|
|
usb_device.cpp
|
|
|
|
usb_request.cpp
|
|
|
|
usb_queue.cpp
|
|
|
|
hcd_controller.cpp
|
|
|
|
hardware.cpp
|
|
|
|
misc.cpp
|
|
|
|
purecall.cpp
|
|
|
|
hub_controller.cpp
|
|
|
|
memory_manager.cpp
|
|
|
|
usbohci.rc)
|
|
|
|
|
|
|
|
target_link_libraries(usbohci
|
|
|
|
libcntpr
|
|
|
|
${PSEH_LIB})
|
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
set_target_properties(usbohci PROPERTIES COMPILE_FLAGS "/GR-")
|
|
|
|
else()
|
|
|
|
target_link_libraries(usbohci -lgcc)
|
|
|
|
set_target_properties(usbohci PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
|
|
|
endif(MSVC)
|
|
|
|
|
|
|
|
set_module_type(usbohci kernelmodedriver)
|
2012-01-29 23:11:21 +00:00
|
|
|
add_importlibs(usbohci ntoskrnl hal usbd)
|
2012-01-20 22:04:57 +00:00
|
|
|
|
|
|
|
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|