xref: /PHP-5.6/ext/fileinfo/config.w32 (revision 919abf0c)
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";
12
13	if (VCVERS < 1500) {
14		ADD_FLAG('CFLAGS', '/Zm1000');
15	}
16
17	EXTENSION('fileinfo', 'fileinfo.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname);
18	ADD_SOURCES(configure_module_dirname + '\\libmagic', LIBMAGIC_SOURCES, "fileinfo");
19}
20