improve of cmpl.
[bush.git] / lib / termcap / cmpl.sh
blob247a2f8dfd31b5f7710f20fba01829dfb0d32e53
2 . ../../tools/build-srcpkg/shlib/incfile.shlib
4 . ../../tools/build-srcpkg/shlib/cmplib.shlib
6 BAKDIR="../../dvar-n-doc/$(date +%Y-%m)"
8 cmd_opt "$@"
10 echo "###################################################################################"
11 echo "# build dir of 'lib/termcap'."
12 echo "###################################################################################"
14 # gcc -c ${CFLAGS} ${SRC_FILE}
16 # ( cd /mnt/hgfs/workspace/tmp/srcpkg/bush && make -w pathnames.h )
17 # make[2]: Entering directory '/mnt/hgfs/workspace/tmp/srcpkg/bush'
18 # make[2]: *** No rule to make target 'pathnames.h'. Stop.
19 # make[2]: Leaving directory '/mnt/hgfs/workspace/tmp/srcpkg/bush'
20 # Makefile:143: recipe for target '/mnt/hgfs/workspace/tmp/srcpkg/bush/pathnames.h' failed
21 # make[1]: [/mnt/hgfs/workspace/tmp/srcpkg/bush/pathnames.h] Error 2 (ignored)
23 MACRO_DEF="-DHAVE_CONFIG_H -DSHELL "
24 INC_PATHS=" -I. -I../.. -I../.. -I../../src -I../../lib -I../../include -I. "
25 MISC_CFLAGS=" -g -O2 -Wno-parentheses -Wno-format-security"
26 #CFLAGS="${INC_PATH} ${MACRO_DEF} -g -O2 -Wno-parentheses -Wno-format-security "
27 DST_LIST="termcap"
29 OBJDIR_FMT='${OUTDIR}/obj/lib/termcap/'
31 SRC_LIST="
33 OBJ_LIST="
38 if [[ $flag_clean != 1 ]]; then
39 build_init
40 update_param
41 # srclist
42 # dirbuild "$@"
43 echo ===============================================================
44 pwd
45 compile
46 staticlib
47 else
48 build_clean
49 remove_def_c
50 dirbuild "$@"
54 # gcc -c ${CFLAGS} ${SRC_FILE}
56 # rm -f libsh.a
57 # ar cr libsh.a ${OBJ_LIST}
58 # test -n "ranlib" && ranlib libsh.a
61 # make[1]: Leaving directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/sh'
62 # making lib/readline/libreadline.a in ./lib/readline
63 # make[1]: Entering directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/readline'