# Zebra makefile for MS NMAKE
-# $Id: makefile,v 1.25.2.1 2004-08-06 08:48:32 adam Exp $
+# $Id: makefile,v 1.25.2.2 2004-08-19 12:51:43 adam Exp $
###########################################################
############### Parameters
ROOTDIR=.. # The home of zebra
# YAZ include files, libraries, etc.
-YAZDIR=$(ROOTDIR)\..\YAZ-2.0.22
+YAZDIR=$(ROOTDIR)\..\YAZ
YAZINCL=$(YAZDIR)\include
YAZLIB=$(YAZDIR)\lib\yaz.lib
YAZLIBS=$(YAZLIB)
TMP=$(TMPDIR)
TEMP=$(TMPDIR)
+# NSIS
+NSIS="c:\program files\nsis\makensis.exe"
+
+dist:
+ nmake DEBUG=1 clean
+ nmake DEBUG=0 clean
+ nmake DEBUG=0
+ $(NSIS) zebra.nsi
+
+
+nsis:
+ $(NSIS) zebra.nsi
+
###########################################################
############### Targets - what to make
###########################################################
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib \
wsock32.lib advapi32.lib $(ICONV_LIB) $(EXPAT_LIB)
-COMMON_LNK_OPTIONS= /nologo \
- /machine:i386 \
- /incremental:no
-
-# /subsystem:windows \
+COMMON_LNK_OPTIONS= /nologo /machine:i386 /incremental:no
DEBUG_LNK_OPTIONS= /debug
-RELEASE_LNK_OPTIONS= /pdb:none
+RELEASE_LNK_OPTIONS=
-ZEBRALIB_LINK_OPTIONS = -lib
+ZEBRALIB_LINK_OPTIONS= -lib
-ZSERVER_LINK_OPTIONS = /subsystem:console
-ZINDEX_LINK_OPTIONS = /subsystem:console
-APITEST_LINK_OPTIONS = /subsystem:console
+ZSERVER_LINK_OPTIONS= /subsystem:console
+ZINDEX_LINK_OPTIONS= /subsystem:console
+APITEST_LINK_OPTIONS= /subsystem:console
# Final opt variables
!if $(DEBUG)