# Zebra makefile for MS NMAKE
-# $Id: makefile,v 1.74 2008-01-17 21:48:36 adam Exp $
+# $Id: makefile,v 1.75 2008-01-18 11:33:36 adam Exp $
###########################################################
############### Parameters
# YAZ include files, libraries, etc.
YAZDIR=$(ROOTDIR)\..\yaz # or \program files\yaz
-YAZINCL=$(YAZDIR)\include
YAZBINDIR=$(YAZDIR)\bin
!if $(DEBUG)
YAZLIB="$(YAZDIR)\lib\yaz3d.lib"
IMPLIB=$(LIBDIR)\idzebra.lib
!endif
-ZEBRA_RES=$(OBJDIR)\idzebra.res
-
ZSERVER=$(BINDIR)\zebrasrv.exe
ZEBRAIDX=$(BINDIR)\zebraidx.exe
TSTFLOCK=$(BINDIR)\tstflock.exe
$(TSTFLOCK_OBJS) \
/out:$(TSTFLOCK)
-$(DLL) $(IMPLIB): "$(BINDIR)" $(ZEBRALIB_OBJS)
+# Resources
+RES=$(OBJDIR)\zebra.res
+RC=$(WINDIR)\zebra.rc
+
+RSC=rc.exe
+!if $(DEBUG)
+RSOPT=/d_DEBUG
+!else
+RSOPT=/d_NDEBUG
+!endif
+
+
+$(RES): $(RC)
+ $(RSC) $(RSOPT) /I"../include" /I"$(YAZDIR)\include" /fo"$(RES)" $(RC)
+
+$(DLL) $(IMPLIB): "$(BINDIR)" $(ZEBRALIB_OBJS) $(RES)
$(LINK) \
$(LNKOPT) \
$(LINK_LIBS) \
$(DLL_LINK_OPTIONS) \
$(ZEBRALIB_OBJS) \
+ $(RES) \
/out:$(DLL) \
$(YAZLIB) \
/implib:"$(IMPLIB)" \
--- /dev/null
+#include "winver.h"
+#include "..\include\idzebra\version.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION ZEBRA_FILEVERSION
+ PRODUCTVERSION ZEBRA_FILEVERSION
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS_NT
+ FILETYPE VFT_DLL
+ FILESUBTYPE VFT2_UNKNOWN
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "Comments", "http://www.indexdata.com/zebra/\0"
+ VALUE "CompanyName", "Index Data\0"
+ VALUE "FileDescription", "idzebra DLL\0"
+ VALUE "FileVersion", ZEBRAVER "\0"
+ VALUE "InternalName", "idzebra\0"
+ VALUE "LegalCopyright", "Copyright © 1995-2008 Index Data ApS\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", "zebra.dll\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "Zebra\0"
+ VALUE "ProductVersion", ZEBRAVER "\0"
+ VALUE "SpecialBuild", "\0"
+ END
+ }
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+}