1 2list(APPEND SOURCE 3 blockdev.c 4 cleanup.c 5 close.c 6 create.c 7 dir.c 8 direntry.c 9 dirwr.c 10 ea.c 11 fat.c 12 fastio.c 13 fcb.c 14 finfo.c 15 flush.c 16 fsctl.c 17 iface.c 18 kdbg.c 19 misc.c 20 pnp.c 21 rw.c 22 shutdown.c 23 string.c 24 volume.c 25 vfat.h) 26 27if(KDBG) 28 add_definitions(-DKDBG) 29endif() 30add_library(vfatfs MODULE ${SOURCE} vfatfs.rc) 31set_module_type(vfatfs kernelmodedriver) 32target_link_libraries(vfatfs ${PSEH_LIB}) 33add_importlibs(vfatfs ntoskrnl hal) 34add_pch(vfatfs vfat.h SOURCE) 35if(SARCH STREQUAL "xbox") 36 add_cd_file(TARGET vfatfs DESTINATION reactos/system32/drivers NO_CAB FOR all) 37 add_registry_inf(vfatfs_reg.inf) 38endif() 39