From 35a201cc8ef0c3f5b2df88d2e528aabee1048348 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 30 Apr 2021 18:47:09 +0200 Subject: Initial/Final commit --- libxml2-2.9.10/VxWorks/build.sh | 85 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 libxml2-2.9.10/VxWorks/build.sh (limited to 'libxml2-2.9.10/VxWorks/build.sh') diff --git a/libxml2-2.9.10/VxWorks/build.sh b/libxml2-2.9.10/VxWorks/build.sh new file mode 100644 index 0000000..c195062 --- /dev/null +++ b/libxml2-2.9.10/VxWorks/build.sh @@ -0,0 +1,85 @@ +LIBXML2=$1 +TARGETCPU=$2 +TARGETTYPE=$3 + +if [ -z "$2" ]; then + TARGETCPU=SIMPENTIUMgnu +fi + +if [ -z "$3" ]; then + TARGETTYPE=RTP +fi + +echo "LIBXML2 Version: ${LIBXML2}" +echo "LIBXML2 Target CPU: ${TARGETCPU}" +echo "LIBXML2 Target Type: ${TARGETTYPE}" + +rm -fR src +tar xvzf ${LIBXML2}.tar.gz +mv ${LIBXML2} src +cd src + +./configure --with-minimum --with-reader --with-writer --with-regexps --with-threads --with-thread-alloc + +find . -name '*.in' -exec rm -fR {} + +find . -name '*.am' -exec rm -fR {} + +rm -fR *.m4 +rm -fR *.pc +rm -fR *.pl +rm -fR *.py +rm -fR *.spec +rm -fR .deps +rm -fR AUTHORS +rm -fR bakefile +rm -fR ChangeLog +rm -fR config.guess +rm -fR config.log +rm -fR config.status +rm -fR config.stub +rm -fR config.sub +rm -fR configure +rm -fR COPYING +rm -fR Copyright +rm -fR depcomp +rm -fR doc +rm -fR example +rm -fR INSTALL +rm -fR install-sh +rm -fR libxml.3 +rm -fR ltmain.sh +rm -fR Makefile +rm -fR Makefile.tests +rm -fR macos +rm -fR mkinstalldirs +rm -fR missing +rm -fR nanoftp.c +rm -fR nanohttp.c +rm -fR NEWS +rm -fR python +rm -fR README +rm -fR README.tests +rm -fR regressions.xml +rm -fR result +rm -fR runsuite.c +rm -fR runtest.c +rm -fR test +rm -fR test*.c +rm -fR TODO* +rm -fR trio* +rm -fR vms +rm -fR win32 +rm -fR xml2* +rm -fR xmllint.c +rm -fR xstc + +cd .. + +make clean all VXCPU=${TARGETCPU} VXTYPE=${TARGETTYPE} + +if [ "${TARGETTYPE}" = "RTP" ]; then + cp libxml2.so ../../lib/. +else + cp xml2.out ../../bin/. +fi + +cp -R src/include/libxml ../../include/. \ No newline at end of file -- cgit v1.2.3