VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/os400/make-bldcsndfa.sh@ 103850

Last change on this file since 103850 was 95312, checked in by vboxsync, 2 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1#!/bin/sh
2#
3# Compilation script for the iconv names DFA builer.
4#
5# See Copyright for the status of this software.
6#
7# Author: Patrick Monnerat <[email protected]>, DATASPHERE S.A.
8#
9
10SCRIPTDIR=`dirname "${0}"`
11. "${SCRIPTDIR}/initscript.sh"
12cd "${TOPDIR}/os400/iconv/bldcsndfa"
13
14
15# This is for old XML library (bootstrapping).
16#rm -rf xml.h xml
17#ln -s /QSYS.LIB/XML.LIB/H.FILE/XML.MBR xml.h
18#mkdir xml
19#mkdir xml/h
20#ln -s /QSYS.LIB/XML.LIB/H.FILE/UTF8.MBR xml/h/utf8
21
22
23# Compile.
24
25CMD="CRTCMOD MODULE(${TARGETLIB}/BLDCSNDFA) SRCSTMF('bldcsndfa.c')"
26CMD="${CMD} SYSIFCOPT(*IFS64IO) LANGLVL(*EXTENDED) LOCALETYPE(*LOCALE)"
27CMD="${CMD} INCDIR("
28CMD="${CMD} '${IFSDIR}/include' ${INCLUDES})"
29CMD="${CMD} TGTCCSID(${TGTCCSID}) TGTRLS(${TGTRLS})"
30CMD="${CMD} OUTPUT(${OUTPUT})"
31CMD="${CMD} OPTIMIZE(10)"
32CMD="${CMD} DBGVIEW(${DEBUG})"
33#CMD="${CMD} DEFINE('OLDXML' 'xmlXPathSetContextNode=xmlXPathSetCurrentNode')"
34
35system "${CMD}"
36
37# Link
38
39CMD="CRTPGM PGM(${TARGETLIB}/BLDCSNDFA) MODULE(${TARGETLIB}/BLDCSNDFA)"
40CMD="${CMD} BNDDIR(${TARGETLIB}/${DYNBNDDIR})"
41#CMD="${CMD} BNDDIR(XML/XML)"
42CMD="${CMD} TGTRLS(${TGTRLS})"
43system "${CMD}"
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette