improve of cmpl.
[bush.git] / lib / sh / cmpl.sh
blob3648f68c2219e0a1aab0844cf5057865205b7ca6
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/sh'."
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="sh"
29 OBJDIR_FMT='${OUTDIR}/obj/lib/sh/'
31 SRC_LIST="
32 clktck.c
33 clock.c
34 getenv.c
35 oslib.c
36 setlinebuf.c
37 strnlen.c
38 itos.c
39 zread.c
40 zwrite.c
41 shtty.c
42 shmatch.c
43 eaccess.c
44 netconn.c
45 netopen.c
46 timeval.c
47 makepath.c
48 pathcanon.c
49 pathphys.c
50 tmpfile.c
51 stringlist.c
52 stringvec.c
53 spell.c
54 shquote.c
55 strtrans.c
56 snprintf.c
57 mailstat.c
58 fmtulong.c
59 fmtullong.c
60 fmtumax.c
61 zcatfd.c
62 zmapfd.c
63 winsize.c
64 wcsdup.c
65 fpurge.c
66 zgetline.c
67 mbscmp.c
68 uconvert.c
69 ufuncs.c
70 casemod.c
71 input_avail.c
72 mbscasecmp.c
73 fnxform.c
74 unicode.c
75 shmbchar.c
76 utf8.c
77 random.c
78 gettimeofday.c
79 wcsnwidth.c
80 mbschr.c
82 OBJ_LIST="
87 if [[ $flag_clean != 1 ]]; then
88 build_init
89 update_param
90 # srclist
91 # dirbuild "$@"
92 echo ===============================================================
93 pwd
94 compile
95 staticlib
96 else
97 build_clean
98 remove_def_c
99 dirbuild "$@"
103 # gcc -c ${CFLAGS} ${SRC_FILE}
105 # rm -f libsh.a
106 # ar cr libsh.a ${OBJ_LIST}
107 # test -n "ranlib" && ranlib libsh.a
110 # make[1]: Leaving directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/sh'
111 # making lib/readline/libreadline.a in ./lib/readline
112 # make[1]: Entering directory '/mnt/hgfs/workspace/tmp/srcpkg/bush/lib/readline'