264030f3867f05e3654503f33b33f146aa25a557
[reactos.git] / drivers / network / dd / pcnet / CMakeLists.txt
1
2 add_definitions(-DNDIS50_MINIPORT)
3 add_definitions(-DNDIS_MINIPORT_DRIVER)
4 add_definitions(-DNDIS_LEGACY_MINIPORT)
5 add_definitions(-DNDIS51_MINIPORT)
6
7 list(APPEND SOURCE
8 pcnet.c
9 requests.c
10 pcnet.rc)
11
12 add_library(pcnet SHARED ${SOURCE})
13
14 set_target_properties(pcnet PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
15
16 target_link_libraries(pcnet
17 -lndis
18 -lntoskrnl
19 -lhal)
20
21 add_dependencies(pcnet psdk bugcodes buildno_header)