diff --git a/make.sh b/make.sh index 856f0d0..f3f44d8 100755 --- a/make.sh +++ b/make.sh @@ -64,6 +64,7 @@ OUTPUT_DIRS="obj html" # none no special processing happens before each file # C #line directives are inserted before each file # and VERSION, VERMAJOR etc. are #defined +# Ch Like C, but for header files (no VERSION #defines) # make_monolithic() { if [ $# -ne 2 ] @@ -82,6 +83,9 @@ make_monolithic() { then HASHLINE=1 VERDEFINE=1 + elif [ "$2" == "Ch" ] + then + HASHLINE=1 elif [ "$2" == "none" ] then HASHLINE=0 # dummy command @@ -261,7 +265,7 @@ else targets="$@" fi -for func in "${targets}" +for func in ${targets} do case ${func} in clean) diff --git a/scripts/.gitignore b/scripts/.gitignore index ce33425..a540f48 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -1,5 +1,6 @@ build.c++.app build.c++.lib +build.c++.qtapp build.c++.tests build.c.app build.c.lib diff --git a/src/libCStreamedXML/BottomHeader.h b/src/libCStreamedXML/BottomHeader.h index 072d08e..3034856 100644 --- a/src/libCStreamedXML/BottomHeader.h +++ b/src/libCStreamedXML/BottomHeader.h @@ -1,4 +1,4 @@ -/* libCStreamedXML/src/clib/BottomHeader.h +/* libCStreamedXML/src/libCStreamedXML/BottomHeader.h * * (c)2006, Laurence Withers, . * Released under the GNU GPLv2. See file COPYING or diff --git a/src/libCStreamedXML/build.lib b/src/libCStreamedXML/build.lib index 5d316e8..2b86961 100644 --- a/src/libCStreamedXML/build.lib +++ b/src/libCStreamedXML/build.lib @@ -31,7 +31,7 @@ then echo " Compiling" SONAME="${libCStreamedXML_BASE}.so.${SOMAJOR}.${SOMINOR}" - do_cmd ${CC} ${CFLAGS} -shared -fpic -o "${libCStreamedXML}" \ + do_cmd ${CC} ${CFLAGS} -Iobj -shared -fpic -o "${libCStreamedXML}" \ -Wl,-soname,${SONAME} \ ${SRC} ${SO_EXTRA} || return 1 diff --git a/src/libCStreamedXML/build.monolithic b/src/libCStreamedXML/build.monolithic index a6027c4..733082a 100644 --- a/src/libCStreamedXML/build.monolithic +++ b/src/libCStreamedXML/build.monolithic @@ -9,7 +9,7 @@ MONOLITHIC_TESTS="src/libCStreamedXML/build.lib src/libCStreamedXML/build.monoli if [ -z "${libCStreamedXML_MONOLITHIC}" ] then MONOLITHIC_SOURCE="$(echo src/libCStreamedXML/{TopHeader,types,functions,BottomHeader}.h)" - make_monolithic ${HDR} C || return 1 + make_monolithic ${HDR} Ch || return 1 MONOLITHIC_SOURCE="$(echo src/libCStreamedXML/{TopSource,buffer,defaults,parser}.c)" make_monolithic ${SRC} C || return 1 diff --git a/src/libCStreamedXML/pkgconf.in b/src/libCStreamedXML/pkgconf.in index ba36045..540604f 100644 --- a/src/libCStreamedXML/pkgconf.in +++ b/src/libCStreamedXML/pkgconf.in @@ -1,4 +1,4 @@ -# libCStreamedXML/src/lib/clib/pkgconf.in +# libStreamedXML/src/lib/libCStreamedXML/pkgconf.in # # Metadata file for pkg-config # ( http://www.freedesktop.org/software/pkgconfig/ ) diff --git a/src/libCStreamedXML/soversion b/src/libCStreamedXML/soversion index af384de..3a95b4b 100644 --- a/src/libCStreamedXML/soversion +++ b/src/libCStreamedXML/soversion @@ -1,4 +1,4 @@ -# libCStreamedXML/src/libCStreamedXML/soversion +# libStreamedXML/src/libCStreamedXML/soversion # # (c)2006, Laurence Withers, . # Released under the GNU GPLv2. See file COPYING or @@ -14,4 +14,4 @@ SOMAJOR=0 SOMINOR=0 # SOMICRO is bumped every time there is a binary-compatible release. -SOMICRO=0 +SOMICRO=1 diff --git a/src/libStreamedXML/build.lib b/src/libStreamedXML/build.lib index b685b96..086ab44 100644 --- a/src/libStreamedXML/build.lib +++ b/src/libStreamedXML/build.lib @@ -31,7 +31,7 @@ then echo " Compiling" SONAME="${libStreamedXML_BASE}.so.${SOMAJOR}.${SOMINOR}" - do_cmd ${CXX} ${CFLAGS} -shared -fpic -o "${libStreamedXML}" \ + do_cmd ${CXX} ${CFLAGS} -Iobj -shared -fpic -o "${libStreamedXML}" \ -Wl,-soname,${SONAME} \ ${SRC} ${SO_EXTRA} || return 1 diff --git a/src/libStreamedXML/build.monolithic b/src/libStreamedXML/build.monolithic index 2a05e4b..cc582d4 100644 --- a/src/libStreamedXML/build.monolithic +++ b/src/libStreamedXML/build.monolithic @@ -9,7 +9,7 @@ MONOLITHIC_TESTS="src/libStreamedXML/build.lib src/libStreamedXML/build.monolith if [ -z "${libStreamedXML_MONOLITHIC}" ] then MONOLITHIC_SOURCE="$(echo src/libStreamedXML/{TopHeader,ForwardDeclare,Exceptions,Callback,Parser,Decoder,BottomHeader}.h)" - make_monolithic ${HDR} C || return 1 + make_monolithic ${HDR} Ch || return 1 MONOLITHIC_SOURCE="$(echo src/libStreamedXML/{TopSource,Exceptions,Parser,Decoder}.cpp)" make_monolithic ${SRC} C || return 1 diff --git a/src/libStreamedXML/soversion b/src/libStreamedXML/soversion index f0f1c97..8db4e6b 100644 --- a/src/libStreamedXML/soversion +++ b/src/libStreamedXML/soversion @@ -14,4 +14,4 @@ SOMAJOR=0 SOMINOR=1 # SOMICRO is bumped every time there is a binary-compatible release. -SOMICRO=0 +SOMICRO=1 diff --git a/version b/version index fd37c10..27bfeca 100644 --- a/version +++ b/version @@ -12,7 +12,7 @@ # suffixed with a string. VERMAJOR=1 VERMINOR=2 -VERMICRO=1 +VERMICRO=2 VEREXTRA="" # kate: replace-trailing-space-save true; space-indent true; tab-width 4;