mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-29 21:46:59 +03:00
ce6e98d693
Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
61 lines
1.8 KiB
Plaintext
Executable File
61 lines
1.8 KiB
Plaintext
Executable File
$! BUILD_LIBXML.COM
|
|
$!
|
|
$! Build the LIBXML object library
|
|
$!
|
|
$! Ensure the logical name LIBXML is defined to point to the LIBXML source
|
|
$! directory. This procedure creates an object library LIBXML.OLB in the LIBXML
|
|
$! directory. After the library is built, you can link LIBXML routines into
|
|
$! your code with the command $ LINK your_modules,LIBXML:LIBXML.OLB/LIBRARY
|
|
$!
|
|
$!
|
|
$!------------------------------------------------------------------------------
|
|
$ cc_command = "CC/DEBUG/NOOPT"
|
|
$ lib_command = "LIBRARY/REPLACE LIBXML.OLB"
|
|
$!
|
|
$ exit_status = 1
|
|
$ saved_default = f$environment("default")
|
|
$ on error then goto ERROR_OUT
|
|
$ set def libxml
|
|
$ if f$search("DEBUG.DIR").eqs."" then create/dir [.DEBUG]
|
|
$ if f$search("LIBXML.OLB").eqs."" then library/create LIBXML.OLB
|
|
$!
|
|
$ call COMPILE DEBUGXML.C
|
|
$ call COMPILE ENCODING.C
|
|
$ call COMPILE ENTITIES.C
|
|
$ call COMPILE ERROR.C
|
|
$ call COMPILE HTMLPARSER.C
|
|
$ call COMPILE HTMLTREE.C
|
|
$ call COMPILE NANOFTP.C
|
|
$ call COMPILE NANOHTTP.C
|
|
$ call COMPILE PARSER.C
|
|
$ call COMPILE SAX.C
|
|
$ call COMPILE TREE.C
|
|
$ call COMPILE URI.C
|
|
$ call COMPILE VALID.C
|
|
$ call COMPILE XLINK.C
|
|
$ call COMPILE XMLIO.C
|
|
$ call COMPILE XMLLINT.C
|
|
$ call COMPILE XMLMEMORY.C
|
|
$ call COMPILE XPATH.C
|
|
$!
|
|
$EXIT_OUT:
|
|
$ set def 'saved_default
|
|
$ exit 'exit_status
|
|
$!
|
|
$
|
|
$ERROR_OUT:
|
|
$ exit_status = $status
|
|
$ write sys$output 'f$message(exit_status)'
|
|
$ goto EXIT_OUT
|
|
$!
|
|
$COMPILE: subroutine
|
|
$ on warning then goto EXIT_COMPILE
|
|
$ source_file = p1
|
|
$ name = f$element(0,".",source_file)
|
|
$ object_file = f$fao("[.debug]!AS.OBJ",name)
|
|
$ cc_command /object='object_file 'source_file'
|
|
$ lib_command 'object_file'
|
|
$EXIT_COMPILE:
|
|
$ exit $status
|
|
$endsubroutine
|