aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbuild.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index a5f86ce..9707597 100755
--- a/build.sh
+++ b/build.sh
@@ -2,6 +2,8 @@
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" 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"
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" 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"
5BUEXPSRC="regex.cpp"
6BUEXPHDR="regex.h"
5BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" 7BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h"
6 8
7function bld() 9function bld()
@@ -58,6 +60,12 @@ done
58for F in $BUHDR; do 60for F in $BUHDR; do
59 bld minibu/bu/$F || cmd WGET minibu/bu/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/stable/$F -O minibu/bu/$F 61 bld minibu/bu/$F || cmd WGET minibu/bu/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/stable/$F -O minibu/bu/$F
60done 62done
63for F in $BUEXPSRC; do
64 bld minibu/src/$F || cmd WGET minibu/src/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/experimental/$F -O minibu/src/$F
65done
66for F in $BUEXPHDR; do
67 bld minibu/bu/$F || cmd WGET minibu/bu/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/experimental/$F -O minibu/bu/$F
68done
61for F in $BUCOMPAT; do 69for F in $BUCOMPAT; do
62 bld minibu/bu/$F || cmd WGET minibu/bu/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/$F -O minibu/bu/$F 70 bld minibu/bu/$F || cmd WGET minibu/bu/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/$F -O minibu/bu/$F
63done 71done
@@ -65,7 +73,7 @@ done
65bld src/build.tab.c src/build.y || cmd BISON src/build.tab.c bison -bsrc/build src/build.y 73bld src/build.tab.c src/build.y || cmd BISON src/build.tab.c bison -bsrc/build src/build.y
66bld src/build.yy.c src/build.l || cmd FLEX src/build.yy.c flex src/build.l 74bld src/build.yy.c src/build.l || cmd FLEX src/build.yy.c flex src/build.l
67 75
68for F in $BUSRC; do 76for F in $BUSRC $BUEXPSRC; do
69 OUTPUT=${F%.*}.o 77 OUTPUT=${F%.*}.o
70 bld minibu/src/$OUTPUT || gpp minibu/src/$OUTPUT minibu/src/$F 78 bld minibu/src/$OUTPUT || gpp minibu/src/$OUTPUT minibu/src/$F
71done 79done