Diff

Differences From Artifact [5283919552]:

To Artifact [c77f4e17f1]:


     1      1   CC = @CC@
     2      2   CFLAGS = @CFLAGS@ @SHOBJFLAGS@ -Wall
     3      3   CPPFLAGS = @CPPFLAGS@ @DEFS@ -DKITDLL_MAKE_LOADABLE=1
     4      4   LDFLAGS = @LDFLAGS@
     5      5   SHOBJLDFLAGS = @SHOBJLDFLAGS@
     6      6   LIBS = @LIBS@
     7      7   STATICLIBS = @TCL_LIB_SPEC@ ../../../tclvfs/inst/lib/vfs1.3/libvfs1.3.a
            8  +OBJS = vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o
     8      9   
     9     10   # Default target
    10     11   all: libtcl.@SHOBJEXT@
    11     12   
    12     13   # Build targets
    13     14   ## VFS Build
    14     15   vfs_kitdll_data_tcl.o: vfs_kitdll_data_tcl.c
................................................................................
    21     22   	./stringify.tcl vfs_kitdll.tcl > vfs_kitdll.tcl.h
    22     23   
    23     24   ## Extensions
    24     25   rechan.o: rechan.c
    25     26   pwb.o: pwb.c
    26     27   
    27     28   ## DLL Build
    28         -libtcl.@SHOBJEXT@: vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o
    29         -	$(CC) $(CPPFLAGS) $(CFLAGS) -o libtcl.so vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o $(LDFLAGS) $(SHOBJLDFLAGS) -Wl,--whole-archive $(STATICLIBS) -Wl,--no-whole-archive $(LIBS)
           29  +libtcl.@SHOBJEXT@: $(OBJS)
           30  +	$(CC) $(CPPFLAGS) $(CFLAGS) -o libtcl.so $(OBJS) $(LDFLAGS) $(SHOBJLDFLAGS) -Wl,--whole-archive $(STATICLIBS) -Wl,--no-whole-archive $(LIBS)
    30     31   
    31     32   # Test driver
    32     33   tclsh.o: tclsh.c
    33     34   tclsh: tclsh.o
    34     35   	$(CC) $(CPPFLAGS) $(CFLAGS) -o tclsh tclsh.o -L. -ltcl -Wl,-R,`pwd`
    35     36   
    36     37   # Cleanup routeines
    37     38   clean:
    38     39   	rm -f libtcl.so
    39         -	rm -f rechan.o kitInit.o
    40         -	rm -f vfs_kitdll_data_tcl.c vfs_kitdll_data_tcl.o
           40  +	rm -f $(OBJS)
           41  +	rm -f vfs_kitdll_data_tcl.c
    41     42   	rm -f vfs_kitdll.tcl.h
    42     43   	rm -f tclsh.o tclsh
    43     44   
    44     45   distclean: clean
    45     46   	rm -f config.status config.log
           47  +	rm -f *~
    46     48   	rm -f Makefile
    47     49   
    48     50   .PHONY: all clean distclean