Update windows config files

Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
This commit is contained in:
Xiaodong Liu 2017-06-26 05:52:33 -04:00
parent b39d72a7da
commit 9d243d0ed7
2 changed files with 22 additions and 6 deletions

View File

@ -131,7 +131,11 @@ objs = \
bin\igzip_update_histogram_01.obj \
bin\igzip_update_histogram_04.obj \
bin\rfc1951_lookup.obj \
bin\detect_repeated_char.obj
bin\detect_repeated_char.obj \
bin\crc32_gzip_refl_by8.obj \
bin\adler32_sse.obj \
bin\adler32_avx2_4.obj \
bin\igzip_deflate_hash.obj
INCLUDES = -I./ -Ierasure_code/ -Iraid/ -Icrc/ -Iigzip/ -Iinclude/
LINKFLAGS = /nologo
@ -147,10 +151,14 @@ dll: bin isa-l.dll
bin: ; -mkdir $@
isa-l_static.lib: $(objs)
lib -out:$@ $?
lib -out:$@ @<<
$?
<<
isa-l.dll: $(objs)
link -out:$@ -dll -def:isa-l.def $?
link -out:$@ -dll -def:isa-l.def @<<
$?
<<
{erasure_code}.c.obj:
$(CC) $(CFLAGS) /c -Fo$@ $?
@ -174,7 +182,7 @@ isa-l.dll: $(objs)
# Examples
ex = xor_example.exe crc_simple_test.exe igzip_example.exe igzip_sync_flush_example.exe
ex = xor_example.exe crc_simple_test.exe crc64_example.exe igzip_example.exe igzip_sync_flush_example.exe
ex: lib $(ex)
$(ex): $(@B).obj
@ -196,7 +204,8 @@ checks = \
crc32_ieee_test.exe \
crc32_iscsi_test.exe \
crc64_funcs_test.exe \
igzip_rand_test.exe
igzip_rand_test.exe \
crc32_gzip_refl_test.exe
checks: lib $(checks)
$(checks): $(@B).obj
@ -239,7 +248,8 @@ perfs = \
crc32_ieee_perf.exe \
crc32_iscsi_perf.exe \
igzip_perf.exe \
igzip_sync_flush_perf.exe
igzip_sync_flush_perf.exe \
crc32_gzip_refl_perf.exe
perfs: lib $(perfs)
$(perfs): $(@B).obj

View File

@ -98,3 +98,9 @@ crc64_iso_refl @94
crc64_iso_norm @95
crc64_jones_refl @96
crc64_jones_norm @97
crc32_gzip_refl_base @98
crc32_gzip_refl @99
isal_deflate_set_dict @100
isal_deflate_reset @101
isal_inflate_set_dict @102
isal_inflate_reset @103