Differences From Artifact [ed7666f1a7]:
- File kitdll/buildsrc/kitdll-0.0/Makefile — part of check-in [e4de9a2934] at 2010-09-26 04:51:35 on branch trunk — Updated to create loadable filesystem by including C-Tcl interface when creating C version of directory tree (dir2c) (user: rkeene, size: 658) [annotate] [blame] [check-ins using]
To Artifact [991be31d01]:
- File
kitdll/buildsrc/kitdll-0.0/Makefile.in
— part of check-in
[b11b735302]
at
2010-09-29 23:15:37
on branch trunk
— Created GNU autoconf script for KitDLL
Made KitDLL build a shared object
Added test driver (user: rkeene, size: 1226) [annotate] [blame] [check-ins using]
|
| | | | > > | > > | > > > > > > | > | > | > > > > > | | > > > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | CC = @CC@ CFLAGS = @CFLAGS@ @SHOBJFLAGS@ -Wall CPPFLAGS = @CPPFLAGS@ @DEFS@ -DKITDLL_MAKE_LOADABLE=1 LDFLAGS = @LDFLAGS@ SHOBJLDFLAGS = @SHOBJLDFLAGS@ LIBS = @LIBS@ STATICLIBS = @TCL_LIB_SPEC@ ../../../tclvfs/inst/lib/vfs1.3/libvfs1.3.a # Default target all: libtcl.@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 ./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 ./stringify.tcl vfs_kitdll.tcl > vfs_kitdll.tcl.h ## Extensions rechan.o: rechan.c ## DLL Build libtcl.@SHOBJEXT@: vfs_kitdll_data_tcl.o kitInit.o rechan.o $(CC) $(CPPFLAGS) $(CFLAGS) -o libtcl.so vfs_kitdll_data_tcl.o kitInit.o rechan.o $(LDFLAGS) $(SHOBJLDFLAGS) -Wl,--whole-archive $(STATICLIBS) -Wl,--no-whole-archive $(LIBS) # Test driver test.o: test.c test: test.o $(CC) $(CPPFLAGS) $(CFLAGS) -o test test.o -L. -ltcl -Wl,-R,`pwd` # Cleanup routeines clean: rm -f vfs_kitdll_data_tcl.c rm -f vfs_kitdll_data_tcl.so vfs_kitdll_data_tcl.o rm -f test.o test distclean: clean rm -f config.status config.log rm -f Makefile .PHONY: all clean distclean |