[USBOHCI_NEW][USBUHCI_NEW] Avoid unnecessary/incorrect status defines.
[reactos.git] / drivers / network / ndis / CMakeLists.txt
1
2 include_directories(BEFORE include)
3 spec2def(ndis.sys ndis.spec ADD_IMPORTLIB)
4
5 add_definitions(
6 -DNDIS_WRAPPER
7 -DNDIS51
8 -DNDIS51_MINIPORT
9 -DNDIS_LEGACY_DRIVER
10 -DNDIS_LEGACY_MINIPORT
11 -DNDIS_LEGACY_PROTOCOL
12 -DNDIS_MINIPORT_DRIVER)
13
14 list(APPEND SOURCE
15 ndis/30stubs.c
16 ndis/40stubs.c
17 ndis/50stubs.c
18 ndis/buffer.c
19 ndis/cl.c
20 ndis/cm.c
21 ndis/co.c
22 ndis/config.c
23 ndis/control.c
24 ndis/efilter.c
25 ndis/hardware.c
26 ndis/io.c
27 ndis/main.c
28 ndis/memory.c
29 ndis/miniport.c
30 ndis/misc.c
31 ndis/protocol.c
32 ndis/string.c
33 ndis/time.c
34 include/ndissys.h)
35
36 add_library(ndis SHARED
37 ${SOURCE}
38 ndis.rc
39 ${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
40
41 set_module_type(ndis kernelmodedriver)
42 add_importlibs(ndis ntoskrnl hal)
43 add_pch(ndis include/ndissys.h SOURCE)
44 add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)