xref: /PHP-8.4/ext/fileinfo/config.w32 (revision 634708a1)
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 is_simh.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 php_libmagic.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname);
14	ADD_EXTENSION_DEP('fileinfo', 'pcre');
15	ADD_SOURCES(configure_module_dirname + '\\libmagic', LIBMAGIC_SOURCES, "fileinfo");
16}
17