Check-in [0a9369ff13]
Overview
Comment:Added bare example
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a9369ff13af232b1f5492f66008c1b92758974d3bc312a1a87f760480b959dd
User & Date: rkeene on 2019-05-02 14:21:25
Other Links: manifest | tags
Context
2019-05-02
14:23
Ensure correct casting check-in: e90770a5a7 user: rkeene tags: trunk
14:21
Added bare example check-in: 0a9369ff13 user: rkeene tags: trunk
14:16
Renamed core bits to "xvfs-core" check-in: 1ecab39ce5 user: rkeene tags: trunk
Changes

Added .fossil-settings/ignore-glob version [198aeb68e9].




1
2
3
+
+
+
example.c
example.o
example.so

Added Makefile version [9eb3bcec6c].






















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
all: example.so

example.c: $(shell find example -type f) $(shell find lib -type f) xvfs.c.rvt xvfs-create
	./xvfs-create --directory example --name example > example.c.new
	mv example.c.new example.c

example.o: example.c xvfs-core.h
	cc -I. -o example.o -c example.c

example.so: example.o
	cc -shared -o example.so example.o

test:
	@echo not implemented

clean:
	rm -f example.so example.o example.c

distclean: clean

.PHONY: all clean distclean test

Added example/lib/hello/hello.tcl version [e8158aa94b].



1
2
+
+
namespace eval ::hello { proc ::hello::world {} {} }
package provide hello 0

Added example/lib/hello/pkgIndex.tcl version [ca282a40b1].


1
+
package ifneeded hello 0 [list source [file join $dir hello.tcl]]

Added example/main.tcl version [20bdf959be].


1
+
puts "Hello World"