-
+set_rc_compiler()
add_library(i8042prt SHARED
createclose.c
setup.c
i8042prt.rc)
-set_target_properties(i8042prt PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
-
-target_link_libraries(i8042prt
- -lntoskrnl
- -lhal)
+set_module_type(i8042prt kernelmodedriver)
+add_importlibs(i8042prt ntoskrnl hal)
-add_dependencies(i8042prt psdk bugcodes)
+add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
\ No newline at end of file