# Copyright (C) 1994-2006, Index Data ApS
# All rights reserved.
-# $Id: makefile,v 1.107 2006-05-07 17:43:42 adam Exp $
+# $Id: makefile,v 1.111 2006-06-07 14:25:43 adam Exp $
#
# Programmed by
# Heikki Levanto & Adam Dickmeiss
dist:
nmake DEBUG=1 clean
nmake DEBUG=0 clean
- nmake DEBUG=1
nmake DEBUG=0
$(NSIS) yaz.nsi
!if $(HAVE_LIBXSLT)
LIBXSLT_LIB="$(LIBXSLT_DIR)\lib\libxslt.lib"
-LIBXSLT_DEF=/D HAVE_XSLT=1 /I"$(LIBXSLT_DIR)\include"
+LIBXSLT_DEF= \
+ /D HAVE_XSLTSAVERESULTTOSTRING=1 \
+ /D HAVE_XSLT=1 \
+ /I"$(LIBXSLT_DIR)\include"
libxslt: $(BINDIR)\libxslt.dll
$(BINDIR)\libxslt.dll:
$(LIBXML2_DEF) \
$(LIBXSLT_DEF) \
/D "_CRT_SECURE_NO_DEPRECATE" \
+ /D "_CRT_NONSTDC_NO_DEPRECATE" \
/D "_WINDOWS" \
/D "WIN32" \
/FR"$(OBJDIR)\\" \
$(SRCDIR)\diagbib1.c: $(SRCDIR)\bib1.csv
@cd $(SRCDIR)
- $(TCL) csvtobib1.tcl
+ $(TCL) csvtobib1.tcl $(SRCDIR)
$(SRCDIR)\diagsrw.c: $(SRCDIR)\srw.csv
@cd $(SRCDIR)
- $(TCL) csvtosrw.tcl
+ $(TCL) csvtosrw.tcl $(SRCDIR)
!endif