Overview
Comment: | For now, build with a libtclkit |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
eb0e4ee1e1b9fd02fd63eb80a0e7c17a |
User & Date: | rkeene on 2014-09-07 11:24:19 |
Other Links: | manifest | tags |
Context
2014-09-08
| ||
01:24 | More work on basics check-in: a189f64907 user: rkeene tags: trunk | |
2014-09-07
| ||
11:24 | For now, build with a libtclkit check-in: eb0e4ee1e1 user: rkeene tags: trunk | |
11:08 | Updated database schema to be more realistic check-in: 0c74d63215 user: rkeene tags: trunk | |
Changes
Modified Makefile from [ca54464a99] to [ee7ac2e5da].
1 2 | CC = gcc PKG_CONFIG = pkg-config | < < < > > > > > > > > > > > | 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 | CC = gcc PKG_CONFIG = pkg-config CFLAGS = -Wall -g3 $(shell $(PKG_CONFIG) --cflags fuse) $(TCL_CFLAGS) LDFLAGS = $(TCL_LDFLAGS) LIBS = $(shell $(PKG_CONFIG) --libs fuse) $(TCL_LIBS) PREFIX = /usr/local prefix = $(PREFIX) bindir = $(prefix)/bin TCLKIT_SDK_DIR = $(shell pwd)/build/libtclkit-sdk-cvs_HEAD ifneq ($(TCLKIT_SDK_DIR),) TCLCONFIG_SH_PATH = $(TCLKIT_SDK_DIR)/lib/tclConfig.sh TCL_LDFLAGS = -Wl,-R,$(TCLKIT_SDK_DIR)/lib export TCLKIT_SDK_DIR else TCLCONFIG_SH_PATH = /usr/lib64/tclConfig.sh endif TCL_CFLAGS = $(shell . $(TCLCONFIG_SH_PATH); echo "$${TCL_INCLUDE_SPEC}") TCL_LIBS = $(shell . $(TCLCONFIG_SH_PATH); echo "$${TCL_LIB_SPEC}") all: appfs appfs: appfs.o $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfs appfs.o $(LIBS) appfs-test: appfs-test.o $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfs-test appfs-test.o $(LIBS) |
︙ | ︙ |
Modified appfs.tcl from [1f2b586ac3] to [aa538226b7].
1 2 | #! /usr/bin/env tclsh | | | 1 2 3 4 5 6 7 8 9 10 | #! /usr/bin/env tclsh package require http 2.5 namespace eval ::appfs { variable sites [list] variable cachedir "/tmp/appfs-cache" proc _hash_sep {hash {seps 4}} { for {set idx 0} {$idx < $seps} {incr idx} { |
︙ | ︙ |