1// $Id$ 2// vim:ft=javascript 3 4ARG_ENABLE("fileinfo", "fileinfo support", "no"); 5 6if (PHP_FILEINFO != 'no') { 7 LIBMAGIC_SOURCES=" apprentice.c apptype.c ascmagic.c \ 8 cdf.c cdf_time.c compress.c \ 9 encoding.c fsmagic.c funcs.c \ 10 is_tar.c magic.c print.c \ 11 readcdf.c softmagic.c der.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