improve of cmpl.
[bush.git] / lib / tilde / cmpl.sh
blobdfea4a191bd0a1d268a574ab2c9b6390caefd157
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/tilde'."
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 LCFLAGS=" -ldl "
28 DST_LIST="tilde"
30 OBJDIR_FMT='${OUTDIR}/obj/lib/tilde/'
32 SRC_LIST="
33 tilde.c
35 OBJ_LIST="
40 if [[ $flag_clean != 1 ]]; then
41 build_init
42 update_param
43 # srclist
44 # dirbuild "$@"
45 echo ===============================================================
46 pwd
47 compile
48 staticlib
49 else
50 build_clean
51 remove_def_c
52 dirbuild "$@"
56 # gcc -c ${CFLAGS} ${SRC_FILE}
58 # rm -f libsh.a
59 # ar cr libsh.a ${OBJ_LIST}
60 # test -n "ranlib" && ranlib libsh.a
63 # make[1]: Leaving directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/sh'
64 # making lib/readline/libreadline.a in ./lib/readline
65 # make[1]: Entering directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/readline'