Skip to content
Snippets Groups Projects
Commit a25a2f206296 authored by Jean-Francois Pieronne's avatar Jean-Francois Pieronne
Browse files

Update for 2.11.0

parent 059b0a9adbcb
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@
$! Change History
$! --------------
$! Command file author : John A Fotheringham (jaf@jafsoft.com)
$! Update history : 19 March 2008 Tycho Hilhorst
$! Update history : 11 December 2022 JFP
$! - UPdate for version 2.11.0
$! 19 March 2008 Tycho Hilhorst
$! - added module schematron.c (prevent xmllint errors)
$! - added /DEF and /INCLUDE options to cc_opts to tell
$! config.h is available, and where to find it
......@@ -31,7 +33,9 @@
$!
$!- compile command. If p1="nowarn" suppress the expected warning types
$!
$ cc_opts = "/nowarn/DEF=HAVE_CONFIG_H/NAMES=(as_is,SHORTENED)/FLOAT=IEEE/IEEE_MODE=DENORM_RESULTS/INCLUDE=xml_srcdir"
$ cc_opts = "/DEF=(HAVE_CONFIG_H,TRIO_HAVE_CONFIG_H)/NAMES=(SHORTENED,as_is)"
cc_opts = cc_opts + "/FLOAT=IEEE/IEEE_MODE=DENORM_RESULTS"
cc_opts = cc_opts + "/INCLUDE=([.vms],xml_srcdir,libz:)"
$!
$ if p1.eqs."DEBUG" .or. p2.eqs."DEBUG"
$ then
......@@ -46,6 +50,6 @@
$! to the definition of "libxml2_la_SOURCES" in the file MAKEFILE.IN.
$! Currently this definition includes the list WITH_TRIO_SOURCES_TRUE
$!
$ sources = "parser.c SAX.c entities.c encoding.c error.c parserInternals.c"
$ sources = sources + " tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c"
$ sources = "SAX.c entities.c encoding.c error.c parserInternals.c"
$ sources = sources + " parser.c tree.c hash.c list.c xmlIO.c xmlmemory.c uri.c"
$ sources = sources + " valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c"
......@@ -51,6 +55,6 @@
$ sources = sources + " valid.c xlink.c HTMLparser.c HTMLtree.c debugXML.c xpath.c"
$ sources = sources + " xpointer.c xinclude.c nanohttp.c nanoftp.c DOCBparser.c"
$ sources = sources + " xpointer.c xinclude.c nanohttp.c nanoftp.c"
$ sources = sources + " catalog.c globals.c threads.c c14n.c xmlstring.c"
$ sources = sources + " xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c"
$ sources = sources + " triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c"
$ sources = sources + " xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c"
......@@ -53,8 +57,8 @@
$ sources = sources + " catalog.c globals.c threads.c c14n.c xmlstring.c"
$ sources = sources + " xmlregexp.c xmlschemas.c xmlschemastypes.c xmlunicode.c"
$ sources = sources + " triostr.c trio.c xmlreader.c relaxng.c dict.c SAX2.c"
$ sources = sources + " xmlwriter.c legacy.c chvalid.c pattern.c xmlsave.c"
$ sources = sources + " schematron.c xmlmodule.c buf.c"
$ sources = sources + " xmlmodule.c schematron.c buf.c trionan.c testOOMlib.c"
$!
$!- list of main modules to compile and link. Compare this list to the
$! definition of bin_PROGRAMS in MAKEFILE.IN
......@@ -62,5 +66,5 @@
$ bin_progs = "xmllint xmlcatalog"
$!
$!- list of test modules to compile and link. Compare this list to the
$! definition of check_PROGRAMS in MAKEFILE.
$! definition of noinst_PROGRAMS in MAKEFILE.
$!
......@@ -66,5 +70,7 @@
$!
$ check_PROGRAMS = "testThreads testAutomata"
$ noinst_PROGRAMS = "runsuite runtest testThreads testAutomata " -
+ "testapi testModule testchar testOOM " -
+ "testdict runxmlconf testrecurse testdso testlimits "
$!
$!- set up build logicals -----------------------------------------------------\
$!
......@@ -73,6 +79,7 @@
$!
$ whoami = f$parse(f$environment("PROCEDURE"),,,,"NO_CONCEAL")
$ procdir = f$parse(whoami,,,"DEVICE") + f$parse(whoami,,,"DIRECTORY")
$ procdir = procdir - "]["
$ set default 'procdir'
$!
$ if f$trnlnm("XML_LIBDIR").eqs.""
......@@ -100,6 +107,6 @@
$ endif
$ endif
$!
$ copy/log config.vms xml_srcdir:config.h
$! copy/log xmlversion.h [-.include.libxml]
$ copy/log config.h xml_srcdir:config.h
$ copy/log xmlversion.h [-.include.libxml]
$!
......@@ -105,6 +112,4 @@
$!
$ if f$trnlnm("libxml").eqs.""
$ then
$ globfile = f$search("[-...]globals.h")
$ if globfile.eqs.""
$ then
......@@ -115,7 +120,6 @@
$ define/process libxml "''includedir'"
$ write sys$output "Defining libxml as ""''includedir'"""
$ endif
$ endif
$!
$!- set up error handling (such as it is) -------------------------------------
$!
......@@ -195,7 +199,7 @@
$ write sys$output ""
$!
$ p_no = 0
$ all_progs = bin_progs + " " + check_PROGRAMS
$ all_progs = bin_progs + " " + noinst_PROGRAMS
$ all_progs = f$edit(all_progs,"COMPRESS")
$!
$ prog_loop:
......@@ -211,6 +215,23 @@
$ goto prog_loop
$!
$ endif
$! testOOM is in 2 parts
$ source_file="testOOM"
$ name = f$parse(source_file,,,"NAME")
$ object_file = f$parse("[.debug].OBJ",name,,,"SYNTAX_ONLY")
$ object_file1 = object_file
$ write sys$output "''cc_command'''p2'/object=''object_file' ''source_file'"
$ cc_command /object='object_file 'source_file'
$ source_file="testOOMlib"
$ name = f$parse(source_file,,,"NAME")
$ object_file = f$parse("[.debug].OBJ",name,,,"SYNTAX_ONLY")
$ object_file2 = object_file
$ write sys$output "''cc_command'''p2'/object=''object_file' ''source_file'"
$ cc_command /object='object_file 'source_file'
$ write sys$output "''link_command' testOOM,testOOMlib,XML_LIBDIR:libxml.olb/library"
$ link_command 'object_file1','object_file2',-
XML_LIBDIR:libxml.olb/library,sys$input/opt
libz_shr32/share
$!
$!- Th-th-th-th-th-that's all folks! ------------------------------------------
$!
......@@ -256,6 +277,4 @@
$ opts = ""
$ if debug then opts = "/DEBUG"
$ write sys$output "''link_command'''opts' ''object_file',XML_LIBDIR:libxml.olb/library"
$ if f$search( "sys$library:iconv.olb" ) .eqs. ""
$ then
$ link_command'opts' 'object_file',-
......@@ -261,9 +280,6 @@
$ link_command'opts' 'object_file',-
XML_LIBDIR:libxml.olb/library
$ else
$ link_command'opts' 'object_file',-
XML_LIBDIR:libxml.olb/library,sys$library:iconv/lib
$ endif
XML_LIBDIR:libxml.olb/library,sys$input/opt
libz:libz32.olb/lib
$ endif
$!
$EXIT_BUILD:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment