|
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=${depth:-..}
|
5 |
|
5 |
|
6 |
SRCS="\
|
6 |
SRCS="\
|
7 |
${depth}/aspell/rclaspell.cpp \
|
7 |
${depth}/aspell/rclaspell.cpp \
|
8 |
${depth}/common/rclconfig.cpp \
|
8 |
${depth}/common/rclconfig.cpp \
|
9 |
${depth}/common/rclinit.cpp \
|
9 |
${depth}/common/rclinit.cpp \
|
|
... |
|
... |
61 |
|
61 |
|
62 |
test -f $mk && chmod +w $mk
|
62 |
test -f $mk && chmod +w $mk
|
63 |
|
63 |
|
64 |
cat > $mk <<EOF
|
64 |
cat > $mk <<EOF
|
65 |
# DONT EDIT BY HAND: created by script mkMake
|
65 |
# DONT EDIT BY HAND: created by script mkMake
|
66 |
depth = ..
|
66 |
depth = ${depth}
|
67 |
include \$(depth)/mk/sysconf
|
67 |
include \$(depth)/mk/sysconf
|
68 |
|
68 |
|
69 |
UNACCFLAGS = -g -I. -I\$(depth)/unac \$(INCICONV) -DUNAC_VERSION=\\"1.0.7\\"
|
69 |
UNACCFLAGS = \$(CFLAGS) -g -I. -I\$(depth)/unac \$(INCICONV) -DUNAC_VERSION=\\"1.0.7\\"
|
70 |
|
70 |
|
71 |
LIBS = librcl.a
|
71 |
LIBS = librcl.a
|
72 |
|
72 |
|
73 |
all: \$(LIBS)
|
73 |
all: \$(LIBS)
|
74 |
|
74 |
|