Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions win/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Parameters

DEBUG=0 # 0 for release, 1 for debug
BARCH = 32 # 32=win32/x86 or 64=x64
BARCH = 64 # 32=win32/x86 or 64=x64

# TCL
TCL=tclsh
Expand All @@ -18,7 +18,7 @@ ICONV_DIR = c:\iconv-1.9.2.win$(BARCH)
# icu charcter conversion utility
# get icu libraries from http://www.icu-project.org
HAVE_ICU=1
ICU_VER=76
ICU_VER=77
ICU_BASE = c:\icu4c-$(ICU_VER)_1-Win$(BARCH)-MSVC2022
!if $(BARCH) == 32
ICU_LIB = $(ICU_BASE)\lib
Expand Down Expand Up @@ -59,22 +59,25 @@ YAZ4J_DIR="..\..\yaz4j"
YAZPATH=$(MAKEDIR)\..


dist: yaz.nsi version.nsi distclean
nmake DEBUG=0 all
nmake nsis
dist32: yaz.nsi version.nsi distclean
nmake make32
nmake nsis32

dist64: yaz.nsi version.nsi distclean
nmake make64 yaz4j
nmake nsis64

make32:
nmake DEBUG=0 BARCH=32 all

make64:
nmake DEBUG=0 BARCH=64 all

distclean:
nmake DEBUG=1 clean
nmake DEBUG=0 clean

nsis: version.nsi
nsis32: version.nsi
$(NSIS) /DVSARCH=x86 yaz.nsi

nsis64: version.nsi
Expand Down