aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-03-04 20:59:55 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:49 +1000
commit79666d2f8eefe11ff7674ea92867eac354f200f9 (patch)
treec0508a7d4425e5c7ff2404272420abf9d16b8b1f
parent44ba281d39235e1982e9929a2592572e16cba448 (diff)
downloadjimtcl-79666d2f8eefe11ff7674ea92867eac354f200f9.zip
jimtcl-79666d2f8eefe11ff7674ea92867eac354f200f9.tar.gz
jimtcl-79666d2f8eefe11ff7674ea92867eac354f200f9.tar.bz2
Remove various obsolete files
Also rename and chmod some files Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--Makefile.vc181
-rw-r--r--jim-stdlib-1.0.tcl54
-rwxr-xr-x[-rw-r--r--]make-c-ext.sh0
-rwxr-xr-x[-rw-r--r--]make-jim-load-extensions.sh0
-rw-r--r--rlprompt.tcl (renamed from jim-rlprompt-1.0.tcl)0
-rw-r--r--tcl6.tcl0
6 files changed, 0 insertions, 235 deletions
diff --git a/Makefile.vc b/Makefile.vc
deleted file mode 100644
index 4d8f60a..0000000
--- a/Makefile.vc
+++ /dev/null
@@ -1,181 +0,0 @@
-# -*- Makefile -*-
-#
-# This is a Microsoft Visual C NMAKE makefile to use in building the
-# Jim interpreter.
-#
-# Usage:
-# nmake -f Makefile.vc clean all
-#
-# To build a debug build, add DEBUG=1 to the command line. To build
-# for profiling, add PROFILE=1. eg:
-# nmake -f Makefile.vc DEBUG=1 clean all
-#
-#
-# Copyright (C) 2005 Pat Thoyts <patthoyts@users.sourceforge.net>
-#
-
-SRCDIR =.
-
-!ifndef DEBUG
-DEBUG =0
-!endif
-!ifndef PROFILE
-PROFILE =0
-!endif
-!ifndef SYMBOLS
-SYMBOLS = 0
-!endif
-!ifndef CC
-CC=cl
-!endif
-!ifndef LINK
-LINK=link
-!endif
-
-# If you have sqlite3 installed and want to build the extension add
-# SQLITE3DIR=c:\path\to\sqlite3
-#
-!ifndef SQLITE3DIR
-SQLITE3 =0
-!else
-SQLITE3 =1
-SQLITE_INC=-I$(SQLITE3DIR)
-SQLITE_LIB=-libpath:$(SQLITE3DIR) libsqlite3.lib
-!endif
-
-#-------------------------------------------------------------------------
-# There should be no need to edit below this point.
-#-------------------------------------------------------------------------
-
-!if $(DEBUG)
-OUTDIR =Debug
-CFLAGS =-Od -Zi -GZ -MDd -D_DEBUG
-LDFLAGS=-debug:full -debugtype:cv
-!else
-OUTDIR =Release
-!if $(SYMBOLS)
-CFLAGS =-Od -Zi -Op -Gs -MD -DNDEBUG
-LDFLAGS=-debug -opt:ref -opt:icf,3
-!else
-CFLAGS =-O2 -Otip -Gs -MD -DNDEBUG
-LDFLAGS=-release -opt:ref -opt:icf,3
-!endif
-!endif
-
-!if $(PROFILE)
-CFLAGS =$(CFLAGS) -Zi
-LDFLAGS=$(LDFLAGS) -profile -map
-!endif
-
-!if "$(OS)" == "Windows_NT"
-RMDIR = rmdir /s /q >NUL
-!else
-RMDIR = deltree /y
-!endif
-DEL = del /f /q
-
-TMPDIR =$(OUTDIR)\Objects
-
-CC =$(CC) -nologo
-LD =$(LINK) -nologo
-
-CFLAGS =$(CFLAGS) -W3 -YX -Fp$(TMPDIR)^\
-INC =
-DEFS =-DWIN32
-LIBS =
-
-all: jim aio win32 win32com win32api dll #sqlite3 eventloop
-jim: setup $(OUTDIR)\jim.exe
-jimwish: setup $(OUTDIR)\jimwish.exe
-dll: setup $(OUTDIR)\jim.dll
-aio: setup $(OUTDIR)\jim-aio-1.0.dll
-sqlite3: setup $(OUTDIR)\jim-sqlite3-1.0.dll
-eventloop: setup $(OUTDIR)\jim-eventloop-1.0.dll
-win32: setup $(OUTDIR)\jim-win32-1.0.dll
-win32api: setup $(OUTDIR)\jim-win32api-1.0.dll
-win32com: setup $(OUTDIR)\jim-win32com-1.0.dll
-
-$(OUTDIR)\jim.exe: $(TMPDIR)\jim.obj $(TMPDIR)\jimsh.obj
- @$(LD) $(LDFLAGS) -out:$@ $** $(LIBS)
-
-$(OUTDIR)\jim.dll: $(TMPDIR)\jim.dll.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS)
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-win32-1.0.dll: $(TMPDIR)\jim-win32.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-win32api-1.0.dll: $(TMPDIR)\jim-win32api.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-win32com-1.0.dll: $(TMPDIR)\jim-win32com.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-aio-1.0.dll: $(TMPDIR)\jim-aio.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-eventloop-1.0.dll: $(TMPDIR)\jim-eventloop.obj
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-
-$(OUTDIR)\jim-sqlite3-1.0.dll: $(TMPDIR)\jim-sqlite3.obj
-!if $(SQLITE3)
- @$(LD) $(LDFLAGS) -dll -out:$@ $** $(LIBS) $(SQLITE_LIB) >NUL
- @if exist $(@:.dll=.exp) $(DEL) $(@:.dll=.exp)
-!else
- @echo cannot build sqlite3 extension - SQLITE3DIR not defined
-!endif
-
-$(OUTDIR)\jimwish.exe: $(TMPDIR)\jim.obj $(TMPDIR)\jimwish.obj
- @$(LD) $(LDFLAGS) -out:$@ $** $(LIBS) user32.lib
-
-.PHONY: all jim dll win32 win32api win32com jim jimwish aio sqlite3
-
-#-------------------------------------------------------------------------
-setup:
- @if not exist $(OUTDIR) mkdir $(OUTDIR)
- @if not exist $(TMPDIR) mkdir $(TMPDIR)
-
-test: jim
- $(OUTDIR)\jim.exe test.tcl
-
-clean:
- @if exist $(TMPDIR)\NUL $(RMDIR) $(TMPDIR) >NUL
-
-realclean: clean
- @if exist $(OUTDIR)\NUL $(RMDIR) $(OUTDIR) >NUL
-
-#-------------------------------------------------------------------------
-
-.SUFFIXES:.c .cpp
-
-{$(SRCDIR)}.c{$(TMPDIR)}.obj::
- @$(CC) $(CFLAGS) $(DEFS) $(INC) -Fo$(TMPDIR)\ -c @<<
-$<
-<<
-
-{$(SRCDIR)}.cpp{$(TMPDIR)}.obj::
- @$(CC) $(CFLAGS) $(DEFS) $(INC) -Fo$(TMPDIR)\ -c @<<
-$<
-<<
-
-$(TMPDIR)\jim.obj: $(SRCDIR)\jim.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim-aio.obj: $(SRCDIR)\jim-aio.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim-eventloop.obj: $(SRCDIR)\jim-eventloop.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim-win32.obj: $(SRCDIR)\jim-win32.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim-win32api.obj: $(SRCDIR)\jim-win32api.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim-win32com.obj: $(SRCDIR)\jim-win32com.c $(SRCDIR)\jim.h
-$(TMPDIR)\jim.dll.obj: $(SRCDIR)\jim.c $(SRCDIR)\jim.h
- @$(CC) -DBUILD_Jim $(CFLAGS) $(DEFS) $(INC) -Fo$@ -c $(SRCDIR)\jim.c
-$(TMPDIR)\jim-sqlite3.obj: $(SRCDIR)\jim-sqlite3.c $(SRCDIR)\jim.h
-!if $(SQLITE3)
- @$(CC) $(CFLAGS) $(DEFS) $(INC) $(SQLITE_INC) -Fo$(TMPDIR)\ -c $(SRCDIR)\jim-sqlite3.c
-!else
- @echo cannot build sqlite3 extension - SQLITE3DIR not defined
-!endif
-
-#-------------------------------------------------------------------------
diff --git a/jim-stdlib-1.0.tcl b/jim-stdlib-1.0.tcl
deleted file mode 100644
index 81ec2f9..0000000
--- a/jim-stdlib-1.0.tcl
+++ /dev/null
@@ -1,54 +0,0 @@
-# Jim stdlib - a pure-Jim extension library for Jim
-#
-# Copyright 2005 Salvatore Sanfilippo <antirez@invece.org>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# A copy of the license is also included in the source distribution
-# of Jim, as a TXT file name called LICENSE.
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# To use this library just do [package require stdlib]
-# Make sure this file is in one directory specified in $jim_libpath
-
-package provide stdlib 1.0
-
-### Functional programming ###
-
-proc curry {cmd args} {
- lambda args [list cmd [list pref $args]] {
- uplevel 1 [list $cmd {expand}$pref {expand}$args]
- }
-}
-
-proc memoize {} {{Memo {}}} {
- set cmd [info level -1]
- if {[info level] > 2 && [lindex [info level -2] 0] eq "memoize"} return
- if {![info exists Memo($cmd)]} {set Memo($cmd) [eval $cmd]}
- return -code return $Memo($cmd)
-}
-
-### Control structures ###
-
-proc repeat {n body} {
- for {set i 0} {$i < $n} {incr i} {
- uplevel 1 $body
- }
-}
-
-### List procedures ###
-
-proc first {list} {lindex $list 0}
-proc rest {list} {lrange $list 1 end}
-proc last {list} {lindex $list end}
-
-### EOF ###
diff --git a/make-c-ext.sh b/make-c-ext.sh
index c59af9f..c59af9f 100644..100755
--- a/make-c-ext.sh
+++ b/make-c-ext.sh
diff --git a/make-jim-load-extensions.sh b/make-jim-load-extensions.sh
index c9b25cc..c9b25cc 100644..100755
--- a/make-jim-load-extensions.sh
+++ b/make-jim-load-extensions.sh
diff --git a/jim-rlprompt-1.0.tcl b/rlprompt.tcl
index 556d0e9..556d0e9 100644
--- a/jim-rlprompt-1.0.tcl
+++ b/rlprompt.tcl
diff --git a/tcl6.tcl b/tcl6.tcl
deleted file mode 100644
index e69de29..0000000
--- a/tcl6.tcl
+++ /dev/null