diff options
-rwxr-xr-x | build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,6 +2,8 @@ | |||
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" | 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" |
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" | 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" |
5 | BUEXPSRC="regex.cpp" | ||
6 | BUEXPHDR="regex.h" | ||
5 | BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" | 7 | BUCOMPAT="config.h compat/linux.h compat/win32.h compat/osx.h" |
6 | 8 | ||
7 | function bld() | 9 | function bld() |
@@ -58,6 +60,12 @@ done | |||
58 | for F in $BUHDR; do | 60 | for 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 |
60 | done | 62 | done |
63 | for 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 | ||
65 | done | ||
66 | for 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 | ||
68 | done | ||
61 | for F in $BUCOMPAT; do | 69 | for 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 |
63 | done | 71 | done |
@@ -65,7 +73,7 @@ done | |||
65 | bld src/build.tab.c src/build.y || cmd BISON src/build.tab.c bison -bsrc/build src/build.y | 73 | bld src/build.tab.c src/build.y || cmd BISON src/build.tab.c bison -bsrc/build src/build.y |
66 | bld src/build.yy.c src/build.l || cmd FLEX src/build.yy.c flex src/build.l | 74 | bld src/build.yy.c src/build.l || cmd FLEX src/build.yy.c flex src/build.l |
67 | 75 | ||
68 | for F in $BUSRC; do | 76 | for 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 |
71 | done | 79 | done |