Diff

Differences From Artifact [0d3b835065]:

To Artifact [5283919552]:


25
26
27
28
29
30
31
32
33
34



35
36
37
38
39
40
41
42

43
44
45
46
47
48
25
26
27
28
29
30
31



32
33
34
35
36
37
38
39
40
41

42
43
44
45
46
47
48







-
-
-
+
+
+







-
+






pwb.o: pwb.c

## DLL Build
libtcl.@SHOBJEXT@: vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o
	$(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)

# Test driver
test.o: test.c
test: test.o
	$(CC) $(CPPFLAGS) $(CFLAGS) -o test test.o -L. -ltcl -Wl,-R,`pwd`
tclsh.o: tclsh.c
tclsh: tclsh.o
	$(CC) $(CPPFLAGS) $(CFLAGS) -o tclsh tclsh.o -L. -ltcl -Wl,-R,`pwd`

# Cleanup routeines
clean:
	rm -f libtcl.so
	rm -f rechan.o kitInit.o
	rm -f vfs_kitdll_data_tcl.c vfs_kitdll_data_tcl.o
	rm -f vfs_kitdll.tcl.h
	rm -f test.o test
	rm -f tclsh.o tclsh

distclean: clean
	rm -f config.status config.log
	rm -f Makefile

.PHONY: all clean distclean