1// vim:ft=javascript 2 3ARG_ENABLE("fileinfo", "fileinfo support", "no"); 4 5if (PHP_FILEINFO != 'no') { 6 LIBMAGIC_SOURCES=" apprentice.c apptype.c ascmagic.c \ 7 cdf.c cdf_time.c compress.c \ 8 encoding.c fsmagic.c funcs.c \ 9 is_json.c is_tar.c magic.c print.c \ 10 readcdf.c softmagic.c der.c \ 11 strcasestr.c buffer.c is_csv.c"; 12 13 EXTENSION('fileinfo', 'fileinfo.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname); 14 ADD_SOURCES(configure_module_dirname + '\\libmagic', LIBMAGIC_SOURCES, "fileinfo"); 15} 16