1
2add_definitions(-D_COMDDK_)
3
4include_directories(
5    ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/mmixer
6    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
7
8list(APPEND SOURCE
9    control.c
10    deviface.c
11    entry.c
12    mmixer.c
13    sup.c
14    wdmaud.h)
15
16add_library(wdmaud MODULE ${SOURCE} wdmaud.rc)
17set_module_type(wdmaud kernelmodedriver)
18target_link_libraries(wdmaud mmixer libcntpr)
19add_pch(wdmaud wdmaud.h SOURCE)
20add_importlibs(wdmaud ntoskrnl ks hal)
21add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
22