Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libxml2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
libraries
libxml2
Commits
a25a2f206296
Commit
a25a2f206296
authored
2 years ago
by
Jean-Francois Pieronne
Browse files
Options
Downloads
Patches
Plain Diff
Update for 2.11.0
parent
059b0a9adbcb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vms/build_libxml.com
+46
-30
46 additions, 30 deletions
vms/build_libxml.com
with
46 additions
and
30 deletions
vms/build_libxml.com
+
46
−
30
View file @
a25a2f20
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment