2 BAKDIR
="../dvar-n-doc/$(date +%Y-%m)"
11 #if [[ build.sh -nt lib/lxr/script.l || build.sh -nt config.l ]]; then
13 # touch lib/lxr/script.l config.l
16 # SRC_LIST="$SRC_FILE_LIST"
20 echo lib
/lxr
/script.l flex compile ...
21 if [[ $flag == 1 ||
! -f lib
/lxr
/script.
lex.c ||
$flag == 1 ||
-f lib
/lxr
/script.l
&& lib
/lxr
/script.l
-nt lib
/lxr
/script.
lex.c
]]; then
22 flex
-o lib
/lxr
/script.
lex.c lib
/lxr
/script.l
23 [[ $?
!= 0 ]] && echo "flex compile (lib/lxr/script.l) failed." && exit
26 echo "======================================================================"
31 MACRO_DEF
="-DLXRGMR_CODE -DLANGUAGE_CSH"
32 INC_PATHS
="-I./ -I../ -Ilib -Iinclude -Isrc "
42 SUB_SRCDIR_LIST
="src/language"
45 lib/lib/SQLTGA/DataAccess.c
46 lib/lib/SQLTGA/MemBlk.c
48 lib/lib/SQLTGA/AQStack.c
50 lib/lib/SQLTGA/FixedAlloc.c
55 lib/TokenParser/TokenParser.c
56 lib/TokenParser/TokenProc.c
57 lib/TokenParser/Parser.c
58 lib/TokenParser/State.c
70 # token/strtoken.c ==> Parser.c + TokenParser.c + TokenProc.c
75 if [[ $flag_clean != 1 ]]; then
80 # OBJ_LIST+=" output/obj/token.o output/obj/csh.o "
89 echo "======================================================================"