1 2spec2def(hal.dll ../hal.spec ADD_IMPORTLIB) 3 4add_definitions( 5 -D_NTHALDLL_ 6 -D_NTHAL_) 7 8include_directories( 9 include 10 ${REACTOS_SOURCE_DIR}/ntoskrnl/include) 11 12list(APPEND SOURCES 13 omap3/halinit_up.c 14 omap3/halup.rc) 15 16add_library(hal MODULE 17 ${SOURCES}) 18 19set_module_type(hal kerneldll ENTRYPOINT 0) 20