projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for term references (queryIDs) for searchResult.
[idzebra-moved-to-github.git]
/
win
/
makefile
diff --git
a/win/makefile
b/win/makefile
index
7c23d63
..
71f96e7
100644
(file)
--- a/
win/makefile
+++ b/
win/makefile
@@
-1,5
+1,5
@@
# Zebra makefile for MS NMAKE
# Zebra makefile for MS NMAKE
-# $Id: makefile,v 1.22 2003-02-28 14:34:21 adam Exp $
+# $Id: makefile,v 1.35 2005-05-13 09:41:59 adam Exp $
###########################################################
############### Parameters
###########################################################
############### Parameters
@@
-9,15
+9,15
@@
DEBUG=0 # 0 for release, 1 for debug
# EXPAT is optional. It's required for grs.xml-filters.
HAVE_EXPAT=1
# EXPAT is optional. It's required for grs.xml-filters.
HAVE_EXPAT=1
-EXPAT_DIR= c:\Expat-1.95.4
+EXPAT_DIR=c:\Expat-1.95.8
# iconv is optional
HAVE_ICONV=1
# iconv is optional
HAVE_ICONV=1
-ICONV_DIR = c:\iconv-1.8.win32
+ICONV_DIR=c:\iconv-1.9.1.win32
default: all
default: all
-all: dirs zebralib zserver zindex
+all: dirs iconv zebralib zserver zindex
###########################################################
############### Directories
###########################################################
############### Directories
@@
-71,6
+71,18
@@
TMPDIR=$(ROOTDIR)\win\tmp
TMP=$(TMPDIR)
TEMP=$(TMPDIR)
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
###########################################################
###########################################################
############### Targets - what to make
###########################################################
@@
-107,9
+119,14
@@
EXPAT_DLL_TARGET=
!if $(HAVE_ICONV)
ICONV_DEF= /D HAVE_ICONV_H=1 /I"$(ICONV_DIR)\include"
ICONV_LIB= $(ICONV_DIR)\lib\iconv.lib
!if $(HAVE_ICONV)
ICONV_DEF= /D HAVE_ICONV_H=1 /I"$(ICONV_DIR)\include"
ICONV_LIB= $(ICONV_DIR)\lib\iconv.lib
+iconv: $(BINDIR)\iconv.dll
+
+$(BINDIR)\iconv.dll:
+ copy "$(ICONV_DIR)\lib\iconv.dll" $(BINDIR)
!else
ICONV_DEF= /D HAVE_ICONV_H=0
ICONV_LIB=
!else
ICONV_DEF= /D HAVE_ICONV_H=0
ICONV_LIB=
+iconv:
!endif
### C and CPP compiler (the same thing)
!endif
### C and CPP compiler (the same thing)
@@
-126,6
+143,12
@@
COMMON_C_OPTIONS= \
/Fo"$(OBJDIR)\\" \
/Fd"$(OBJDIR)\\" \
/DDEFAULT_PROFILE_PATH=0 \
/Fo"$(OBJDIR)\\" \
/Fd"$(OBJDIR)\\" \
/DDEFAULT_PROFILE_PATH=0 \
+ /DDEFAULT_MODULE_PATH=0 \
+ /DIDZEBRA_STATIC_GRS_SGML=1 \
+ /DIDZEBRA_STATIC_TEXT=1 \
+ /DIDZEBRA_STATIC_GRS_XML=1 \
+ /DIDZEBRA_STATIC_GRS_REGX=1 \
+ /DIDZEBRA_STATIC_GRS_MARC=1 \
$(BZIP2DEF)
COMMON_C_INCLUDES= \
$(BZIP2DEF)
COMMON_C_INCLUDES= \
@@
-165,21
+188,17
@@
LINK_LIBS= kernel32.lib user32.lib gdi32.lib winspool.lib \
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib \
wsock32.lib advapi32.lib $(ICONV_LIB) $(EXPAT_LIB)
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
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)
# Final opt variables
!if $(DEBUG)
@@
-212,21
+231,15
@@
APITEST_OBJS= \
$(OBJDIR)\apitest.obj
ZEBRALIB_OBJS= \
$(OBJDIR)\apitest.obj
ZEBRALIB_OBJS= \
- $(OBJDIR)\isam.obj \
$(OBJDIR)\isamc.obj \
$(OBJDIR)\isamc.obj \
- $(OBJDIR)\isamd.obj \
- $(OBJDIR)\isutil.obj \
- $(OBJDIR)\memory.obj \
$(OBJDIR)\merge.obj \
$(OBJDIR)\merge.obj \
- $(OBJDIR)\merge-d.obj \
- $(OBJDIR)\physical.obj \
- $(OBJDIR)\rootblk.obj \
$(OBJDIR)\zebra-lock.obj \
$(OBJDIR)\attribute.obj \
$(OBJDIR)\bfile.obj \
$(OBJDIR)\bset.obj \
$(OBJDIR)\cfile.obj \
$(OBJDIR)\charmap.obj \
$(OBJDIR)\zebra-lock.obj \
$(OBJDIR)\attribute.obj \
$(OBJDIR)\bfile.obj \
$(OBJDIR)\bset.obj \
$(OBJDIR)\cfile.obj \
$(OBJDIR)\charmap.obj \
+ $(OBJDIR)\atoi_zn.obj \
$(OBJDIR)\close.obj \
$(OBJDIR)\commit.obj \
$(OBJDIR)\compact.obj \
$(OBJDIR)\close.obj \
$(OBJDIR)\commit.obj \
$(OBJDIR)\compact.obj \
@@
-261,13
+274,13
@@
ZEBRALIB_OBJS= \
$(OBJDIR)\rectext.obj \
$(OBJDIR)\regxread.obj \
$(OBJDIR)\xmlread.obj \
$(OBJDIR)\rectext.obj \
$(OBJDIR)\regxread.obj \
$(OBJDIR)\xmlread.obj \
+ $(OBJDIR)\danbibr.obj \
$(OBJDIR)\res.obj \
$(OBJDIR)\retrieve.obj \
$(OBJDIR)\rsbool.obj \
$(OBJDIR)\rset.obj \
$(OBJDIR)\res.obj \
$(OBJDIR)\retrieve.obj \
$(OBJDIR)\rsbool.obj \
$(OBJDIR)\rset.obj \
- $(OBJDIR)\rsisam.obj \
$(OBJDIR)\rsisamc.obj \
$(OBJDIR)\rsisamc.obj \
- $(OBJDIR)\rsm_or.obj \
+ $(OBJDIR)\rsmultiandor.obj \
$(OBJDIR)\rsnull.obj \
$(OBJDIR)\rstemp.obj \
$(OBJDIR)\scan.obj \
$(OBJDIR)\rsnull.obj \
$(OBJDIR)\rstemp.obj \
$(OBJDIR)\scan.obj \
@@
-279,14
+292,15
@@
ZEBRALIB_OBJS= \
$(OBJDIR)\trunc.obj \
$(OBJDIR)\zebraapi.obj \
$(OBJDIR)\zebramap.obj \
$(OBJDIR)\trunc.obj \
$(OBJDIR)\zebraapi.obj \
$(OBJDIR)\zebramap.obj \
+ $(OBJDIR)\zint.obj \
$(OBJDIR)\zinfo.obj \
$(OBJDIR)\zrpn.obj \
$(OBJDIR)\zsets.obj \
$(OBJDIR)\isams.obj \
$(OBJDIR)\isamb.obj \
$(OBJDIR)\zinfo.obj \
$(OBJDIR)\zrpn.obj \
$(OBJDIR)\zsets.obj \
$(OBJDIR)\isams.obj \
$(OBJDIR)\isamb.obj \
- $(OBJDIR)\rsisamd.obj \
$(OBJDIR)\rsisamb.obj \
$(OBJDIR)\rsbetween.obj \
$(OBJDIR)\rsisamb.obj \
$(OBJDIR)\rsbetween.obj \
+ $(OBJDIR)\rsprox.obj \
$(OBJDIR)\dir.obj \
$(OBJDIR)\dirs.obj \
$(OBJDIR)\extract.obj \
$(OBJDIR)\dir.obj \
$(OBJDIR)\dirs.obj \
$(OBJDIR)\extract.obj \
@@
-311,7
+325,9
@@
ZEBRALIB_OBJS= \
$(OBJDIR)\d1_tagset.obj \
$(OBJDIR)\d1_varset.obj \
$(OBJDIR)\d1_write.obj \
$(OBJDIR)\d1_tagset.obj \
$(OBJDIR)\d1_varset.obj \
$(OBJDIR)\d1_write.obj \
- $(OBJDIR)\xpath.obj
+ $(OBJDIR)\xpath.obj \
+ $(OBJDIR)\kcontrol.obj \
+ $(OBJDIR)\limit.obj
ALL_OBJS=\
$(ZEBRALIB_OBJS) \
ALL_OBJS=\
$(ZEBRALIB_OBJS) \
@@
-431,7
+447,6
@@
clean:
-del $(OBJDIR)\*.obj
-del $(OBJDIR)\*.sbr
-del $(BINDIR)\*.exe
-del $(OBJDIR)\*.obj
-del $(OBJDIR)\*.sbr
-del $(BINDIR)\*.exe
- -del $(BINDIR)\*.dll
-del $(TMPDIR)\*.
-del $(LIBDIR)\*.lib
-del $(TMPDIR)\*.
-del $(LIBDIR)\*.lib
@@
-443,7
+458,7
@@
$(OBJDIR) $(WINDIR) $(LIBDIR) $(BINDIR) $(TMPDIR):
if not exist "$@/$(NUL)" mkdir "$@"
$(YAZ_DLL_TARGET) : $(YAZ_DLL_SOURCE)
if not exist "$@/$(NUL)" mkdir "$@"
$(YAZ_DLL_TARGET) : $(YAZ_DLL_SOURCE)
- copy $(YAZ_DLL_SOURCE) $(YAZ_DLL_TARGET)
+ copy $(YAZBINDIR)\*.dll $(BINDIR)
###########################################################
############### Explicit dependencies
###########################################################
############### Explicit dependencies