aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbuild.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 29eda52..2b4fdfd 100755
--- a/build.sh
+++ b/build.sh
@@ -1,9 +1,11 @@
1#!/bin/bash 1#!/bin/bash
2 2
3BUSRC="stack.cpp string.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp variant.cpp random.cpp randombasic.cpp randombase.cpp streamstack.cpp" 3BUSRC="stack.cpp string.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp variant.cpp random.cpp randombasic.cpp randombase.cpp streamstack.cpp exceptioninvaliditerator.cpp exceptionindexoutofbounds.cpp"
4BUHDR="stack.h string.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h plugger.h singleton.h optparser.h array.h membuf.h file.h variant.h fmt.h extratypes.h random.h randombasic.h randombase.h streamstack.h" 4BUHDR="stack.h string.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h plugger.h singleton.h optparser.h array.h membuf.h file.h variant.h fmt.h extratypes.h random.h randombasic.h randombase.h streamstack.h exceptioninvaliditerator.h exceptionindexoutofbounds.h"
5BUEXPSRC="regex.cpp" 5BUEXPSRC="regex.cpp"
6BUEXPHDR="regex.h" 6BUEXPHDR="regex.h"
7BUUNSSRC="blob.cpp blobbuilder.cpp"
8BUUNSHDR="blob.h blobbuilder.h"
7BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" 9BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h"
8 10
9if [ -z "${CXX}" ]; then 11if [ -z "${CXX}" ]; then
@@ -58,6 +60,12 @@ function presetup()
58 for F in $BUEXPHDR; do 60 for F in $BUEXPHDR; do
59 bld minibu/bu/$F || cmd CP minibu/bu/$F cp ../libbu++/src/experimental/$F minibu/bu/$F 61 bld minibu/bu/$F || cmd CP minibu/bu/$F cp ../libbu++/src/experimental/$F minibu/bu/$F
60 done 62 done
63 for F in $BUUNSSRC; do
64 bld minibu/src/$F || cmd CP minibu/src/$F cp ../libbu++/src/unstable/$F minibu/src/$F
65 done
66 for F in $BUUNSHDR; do
67 bld minibu/bu/$F || cmd CP minibu/bu/$F cp ../libbu++/src/unstable/$F minibu/bu/$F
68 done
61 for F in $BUCOMPAT; do 69 for F in $BUCOMPAT; do
62 bld minibu/bu/$F || cmd CP minibu/bu/$F cp ../libbu++/src/$F minibu/bu/$F 70 bld minibu/bu/$F || cmd CP minibu/bu/$F cp ../libbu++/src/$F minibu/bu/$F
63 done 71 done
@@ -94,7 +102,7 @@ fi
94 102
95presetup 103presetup
96 104
97for F in $BUSRC $BUEXPSRC; do 105for F in $BUSRC $BUEXPSRC $BUUNSSRC; do
98 OUTPUT=${F%.*}.o 106 OUTPUT=${F%.*}.o
99 bld minibu/src/$OUTPUT || gpp minibu/src/$OUTPUT minibu/src/$F 107 bld minibu/src/$OUTPUT || gpp minibu/src/$OUTPUT minibu/src/$F
100done 108done