- Improve acpi, isapnp, pci, pcix and pcmcia (import libs, dependencies...etc)

svn path=/branches/cmake-bringup/; revision=48873
This commit is contained in:
Amine Khaldi 2010-09-25 14:39:51 +00:00
parent afe5d2ee6e
commit 29ab93ce7f
5 changed files with 8 additions and 30 deletions

View file

@ -1,6 +1,4 @@
include_directories(include)
include_directories(acpica/include)
@ -143,8 +141,7 @@ set_target_properties(acpi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,
target_link_libraries(acpi
wdmguid
acpica
-lntoskrnl
-lhal)
acpica)
add_importlibs(acpi ntoskrnl hal)
add_dependencies(acpi psdk bugcodes)

View file

@ -1,6 +1,4 @@
add_library(isapnp SHARED
isapnp.c
pdo.c
@ -10,8 +8,5 @@ add_library(isapnp SHARED
set_target_properties(isapnp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(isapnp
-lntoskrnl
-lhal)
add_dependencies(isapnp psdk bugcodes)
add_importlibs(isapnp ntoskrnl hal)
add_dependencies(isapnp psdk bugcodes buildno_header)

View file

@ -1,6 +1,4 @@
add_library(pci SHARED
fdo.c
pci.c
@ -9,8 +7,5 @@ add_library(pci SHARED
set_target_properties(pci PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pci
-lntoskrnl
-lhal)
add_importlibs(pci ntoskrnl hal)
add_dependencies(pci psdk bugcodes buildno_header)

View file

@ -1,6 +1,4 @@
list(APPEND SOURCE
arb/ar_busno.c
arb/ar_memio.c
@ -42,9 +40,7 @@ add_library(pcix SHARED ${CMAKE_CURRENT_BINARY_DIR}/pcix_pci.h.gch ${SOURCE})
set_target_properties(pcix PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pcix
-lntoskrnl
-lhal)
add_importlibs(pcix ntoskrnl hal)
add_pch(pcix ${CMAKE_CURRENT_SOURCE_DIR}/pci.h ${SOURCE})
add_dependencies(pcix pcix_def psdk pciclass)
add_dependencies(pcix pcix_def psdk pciclass buildno_header)

View file

@ -1,6 +1,4 @@
add_library(pcmcia SHARED
fdo.c
pcmcia.c
@ -9,8 +7,5 @@ add_library(pcmcia SHARED
set_target_properties(pcmcia PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
target_link_libraries(pcmcia
-lntoskrnl
-lhal)
add_importlibs(pcmcia ntoskrnl hal)
add_dependencies(pcmcia psdk bugcodes buildno_header)