diff options
-rwxr-xr-x | build.sh | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,9 +1,11 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | BUSRC="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" | 3 | BUSRC="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" |
4 | BUHDR="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" | 4 | BUHDR="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" |
5 | BUEXPSRC="regex.cpp" | 5 | BUEXPSRC="regex.cpp" |
6 | BUEXPHDR="regex.h" | 6 | BUEXPHDR="regex.h" |
7 | BUUNSSRC="blob.cpp blobbuilder.cpp" | ||
8 | BUUNSHDR="blob.h blobbuilder.h" | ||
7 | BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" | 9 | BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" |
8 | 10 | ||
9 | if [ -z "${CXX}" ]; then | 11 | if [ -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 | ||
95 | presetup | 103 | presetup |
96 | 104 | ||
97 | for F in $BUSRC $BUEXPSRC; do | 105 | for 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 |
100 | done | 108 | done |