|
a/src/lib/mkMake |
|
b/src/lib/mkMake |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
|
2 |
|
3 |
mk=Makefile
|
3 |
mk=Makefile
|
4 |
depth=..
|
4 |
depth=..
|
5 |
|
5 |
|
6 |
SRCS="${depth}/utils/conftree.cpp ${depth}/index/csguess.cpp \
|
6 |
SRCS="\
|
7 |
${depth}/utils/debuglog.cpp ${depth}/utils/execmd.cpp \
|
7 |
${depth}/aspell/rclaspell.cpp \
|
8 |
${depth}/utils/idfile.cpp ${depth}/utils/md5.cpp \
|
8 |
${depth}/common/rclconfig.cpp \
|
9 |
${depth}/utils/wipedir.cpp ${depth}/utils/fstreewalk.cpp \
|
|
|
10 |
${depth}/common/mh_html.cpp ${depth}/common/mh_mail.cpp \
|
|
|
11 |
${depth}/common/searchdata.cpp \
|
9 |
${depth}/common/rclinit.cpp \
|
12 |
${depth}/common/mh_exec.cpp ${depth}/common/mh_text.cpp \
|
|
|
13 |
${depth}/common/htmlparse.cpp ${depth}/index/indexer.cpp \
|
|
|
14 |
${depth}/common/internfile.cpp ${depth}/common/mimehandler.cpp \
|
|
|
15 |
${depth}/utils/mimeparse.cpp ${depth}/index/mimetype.cpp \
|
|
|
16 |
${depth}/common/myhtmlparse.cpp ${depth}/common/pathhash.cpp \
|
|
|
17 |
${depth}/utils/pathut.cpp ${depth}/common/rclconfig.cpp \
|
|
|
18 |
${depth}/common/rcldb.cpp ${depth}/common/rclinit.cpp \
|
|
|
19 |
${depth}/common/stemdb.cpp \
|
10 |
${depth}/common/textsplit.cpp \
|
20 |
${depth}/utils/base64.cpp ${depth}/utils/readfile.cpp \
|
11 |
${depth}/common/unacpp.cpp \
|
21 |
${depth}/utils/smallut.cpp ${depth}/common/textsplit.cpp \
|
12 |
${depth}/index/csguess.cpp \
|
22 |
${depth}/utils/transcode.cpp ${depth}/common/unacpp.cpp \
|
13 |
${depth}/index/indexer.cpp \
|
|
|
14 |
${depth}/index/mimetype.cpp \
|
|
|
15 |
${depth}/internfile/htmlparse.cpp \
|
|
|
16 |
${depth}/internfile/internfile.cpp \
|
|
|
17 |
${depth}/internfile/mh_exec.cpp \
|
|
|
18 |
${depth}/internfile/mh_html.cpp \
|
|
|
19 |
${depth}/internfile/mh_mail.cpp \
|
|
|
20 |
${depth}/internfile/mh_text.cpp \
|
|
|
21 |
${depth}/internfile/mimehandler.cpp \
|
|
|
22 |
${depth}/internfile/myhtmlparse.cpp \
|
|
|
23 |
${depth}/query/docseq.cpp \
|
23 |
${depth}/query/history.cpp \
|
24 |
${depth}/query/history.cpp \
|
24 |
${depth}/query/docseq.cpp ${depth}/query/sortseq.cpp \
|
25 |
${depth}/query/sortseq.cpp \
|
25 |
${depth}/utils/copyfile.cpp ${depth}/aspell/rclaspell.cpp"
|
26 |
${depth}/rcldb/pathhash.cpp \
|
|
|
27 |
${depth}/rcldb/rcldb.cpp \
|
|
|
28 |
${depth}/rcldb/searchdata.cpp \
|
|
|
29 |
${depth}/rcldb/stemdb.cpp \
|
|
|
30 |
${depth}/utils/base64.cpp \
|
|
|
31 |
${depth}/utils/conftree.cpp \
|
|
|
32 |
${depth}/utils/copyfile.cpp \
|
|
|
33 |
${depth}/utils/debuglog.cpp \
|
|
|
34 |
${depth}/utils/execmd.cpp \
|
|
|
35 |
${depth}/utils/fstreewalk.cpp \
|
|
|
36 |
${depth}/utils/idfile.cpp \
|
|
|
37 |
${depth}/utils/md5.cpp \
|
|
|
38 |
${depth}/utils/mimeparse.cpp \
|
|
|
39 |
${depth}/utils/pathut.cpp \
|
|
|
40 |
${depth}/utils/readfile.cpp \
|
|
|
41 |
${depth}/utils/smallut.cpp \
|
|
|
42 |
${depth}/utils/transcode.cpp \
|
|
|
43 |
${depth}/utils/wipedir.cpp \
|
|
|
44 |
"
|
26 |
|
45 |
|
27 |
|
46 |
|
28 |
for c in $SRCS;do
|
47 |
for c in $SRCS;do
|
29 |
o=`basename $c .cpp`.o
|
48 |
o=`basename $c .cpp`.o
|
30 |
OBJS="$OBJS $o"
|
49 |
OBJS="$OBJS $o"
|