X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=win%2Fmakefile;h=cc5c307db3db7230c07e4b0c5295f915bf84495b;hb=a0e27aac0589d493172c73f6660b844fc6460d7c;hp=c033231ea40c506d2fe26ade8f979f9ac47581b4;hpb=300533a2f4f573ca4b40697c19ae1af61607a6be;p=yaz-moved-to-github.git diff --git a/win/makefile b/win/makefile index c033231..cc5c307 100644 --- a/win/makefile +++ b/win/makefile @@ -1,6 +1,6 @@ # Copyright (C) 1994-2005, Index Data ApS # All rights reserved. -# $Id: makefile,v 1.99 2006-02-01 20:14:31 adam Exp $ +# $Id: makefile,v 1.104 2006-04-30 07:23:08 adam Exp $ # # Programmed by # Heikki Levanto & Adam Dickmeiss @@ -44,6 +44,7 @@ HHC="c:\program files\html help workshop\hhc.exe" dist: nmake DEBUG=1 clean nmake DEBUG=0 clean + nmake DEBUG=1 nmake DEBUG=0 $(NSIS) yaz.nsi @@ -179,9 +180,10 @@ libxml2: # (if you set things up right!) COMMON_C_OPTIONS= \ - /nologo /W3 /GX /FD /c \ + /nologo /W3 /EHsc /FD /c \ $(ICONV_DEF) \ $(LIBXML2_DEF) \ + /D "_CRT_SECURE_NO_DEPRECATE" \ /D "_WINDOWS" \ /D "WIN32" \ /FR"$(OBJDIR)\\" \ @@ -193,7 +195,7 @@ COMMON_C_INCLUDES= \ DEBUG_C_OPTIONS= \ /D "_DEBUG" \ - /MDd /Od /YX /Zi /Gm + /MDd /Od /Zi /Gm RELEASE_C_OPTIONS= \ /D "NDEBUG" \ @@ -210,7 +212,6 @@ RELEASE_C_OPTIONS= \ # /MDd = Runtime library: Multithread DLL (debug) # /Od = Disable optimising (debug) # /O2 = Optimize for speed -# /YX = Automatic use of precomipled headers # /Gm = Minimal rebuild (some cpp class stuff) # /Zi = Program database for debuggers # /ZI = Pgm database with special "edit&continue" stuff - not available in C5 @@ -373,6 +374,7 @@ YAZ_UTIL_OBJS= \ $(OBJDIR)\matchstr.obj \ $(OBJDIR)\siconv.obj \ $(OBJDIR)\marc8.obj \ + $(OBJDIR)\marc8r.obj \ $(OBJDIR)\test.obj YAZ_ZUTIL_OBJS= \ @@ -397,7 +399,8 @@ YAZ_ZUTIL_OBJS= \ $(OBJDIR)\zoom-c.obj \ $(OBJDIR)\zoom-opt.obj \ $(OBJDIR)\initopt.obj \ - $(OBJDIR)\xmlquery.obj + $(OBJDIR)\xmlquery.obj \ + $(OBJDIR)\mime.obj Z3950_OBJS= \ $(OBJDIR)\z-date.obj\ @@ -583,11 +586,11 @@ generated_files: \ # yaz client {$(CLIENTDIR)}.c{$(OBJDIR)}.obj: - @$(CPP) $(COPT) $< /D"_CONSOLE" + $(CPP) $(COPT) $< /D"_CONSOLE" # Ztest {$(ZTESTDIR)}.c{$(OBJDIR)}.obj: - @$(CPP) $(COPT) $< /D"_CONSOLE" + $(CPP) $(COPT) $< /D"_CONSOLE" # Server {$(SERVERDIR)}.c{$(OBJDIR)}.obj: @@ -664,6 +667,10 @@ $(SRCDIR)\marc8.c: $(SRCDIR)\codetables.xml $(SRCDIR)\charconv.tcl @cd $(SRCDIR) $(TCL) charconv.tcl -p marc8 codetables.xml -o marc8.c +$(SRCDIR)\marc8r.c: $(SRCDIR)\codetables.xml $(SRCDIR)\charconv.tcl + @cd $(SRCDIR) + $(TCL) charconv.tcl -r -p marc8r codetables.xml -o marc8r.c + $(SRCDIR)\diagbib1.c: $(SRCDIR)\bib1.csv @cd $(SRCDIR) $(TCL) csvtobib1.tcl