reactos/drivers/network/ndis/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

47 lines
897 B
CMake

include_directories(BEFORE include)
add_definitions(
-DNDIS_WRAPPER
-DNDIS51
-DNDIS51_MINIPORT
-DNDIS_LEGACY_DRIVER
-DNDIS_LEGACY_MINIPORT
-DNDIS_LEGACY_PROTOCOL
-DNDIS_MINIPORT_DRIVER)
spec2def(ndis.sys ndis.spec)
list(APPEND SOURCE
ndis/30stubs.c
ndis/40stubs.c
ndis/50stubs.c
ndis/buffer.c
ndis/cl.c
ndis/cm.c
ndis/co.c
ndis/config.c
ndis/control.c
ndis/efilter.c
ndis/hardware.c
ndis/io.c
ndis/main.c
ndis/memory.c
ndis/miniport.c
ndis/misc.c
ndis/protocol.c
ndis/string.c
ndis/time.c
ndis.rc
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
add_library(ndis SHARED ${SOURCE})
set_module_type(ndis kernelmodedriver)
add_importlibs(ndis ntoskrnl hal)
add_pch(ndis include/ndissys.h)
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
add_importlib_target(ndis.spec)