11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
OBJS = vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o zlib.o
EXTRA_OBJS = @EXTRA_OBJS@
TCLSH_NATIVE = tclsh
# Default target
all: libtclkit@KITDLL_LIB_VERSION@.@SHOBJEXT@
# Build targets
## VFS Build
vfs_kitdll_data_tcl.o: vfs_kitdll_data_tcl.c
vfs_kitdll_data_tcl.c: dir2c.tcl starpack.vfs vfs_kitdll_data.c
"$(TCLSH_NATIVE)" dir2c.tcl tcl starpack.vfs > vfs_kitdll_data_tcl.c
## Tclkit Build
kitInit.o: kitInit.c vfs_kitdll.tcl.h
vfs_kitdll.tcl.h: vfs_kitdll.tcl
"$(TCLSH_NATIVE)" ./stringify.tcl vfs_kitdll.tcl > vfs_kitdll.tcl.h
## Extensions
rechan.o: rechan.c
pwb.o: pwb.c
zlib.o: zlib.c
## DLL Build
|
<
|
<
<
<
<
<
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
OBJS = vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o zlib.o
EXTRA_OBJS = @EXTRA_OBJS@
TCLSH_NATIVE = tclsh
# Default target
all: libtclkit@KITDLL_LIB_VERSION@.@SHOBJEXT@
-include Makefile.common
## Tclkit Build
kitInit.o: kitInit.c vfs_kitdll.tcl.h
## Extensions
rechan.o: rechan.c
pwb.o: pwb.c
zlib.o: zlib.c
## DLL Build
|
53
54
55
56
57
58
59
60
61
62
63
64
65
|
rm -f vfs_kitdll.tcl.h
rm -f tclsh.o tclsh tclsh.exe
rm -f wish.o wish wish.exe
distclean: clean
rm -f config.status config.log
rm -f *~
rm -f Makefile
rm -rf starpack.vfs
mrproper: distclean
.PHONY: all clean distclean
|
|
|
47
48
49
50
51
52
53
54
55
56
57
58
59
|
rm -f vfs_kitdll.tcl.h
rm -f tclsh.o tclsh tclsh.exe
rm -f wish.o wish wish.exe
distclean: clean
rm -f config.status config.log
rm -f *~
rm -f Makefile Makefile.in Makefile.common
rm -rf starpack.vfs
mrproper: distclean
.PHONY: all clean distclean
|