Skip to content

Commit 7b8d642

Browse files
authored
Add files via upload
1 parent 7785e7c commit 7b8d642

File tree

13 files changed

+768
-0
lines changed

13 files changed

+768
-0
lines changed

ChangeLog

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
2006-02-25 <danielk1977@gmail.com>
3+
4+
* 3.0 Alpha 2 release.
5+
6+
2002-09-27 Andreas Kupries <andreask@pliers.activestate.com>
7+
8+
* doc/spec.html: Added two paragraph markers for paragraphs without.
9+
10+
* src/htmltcl.c (lockcopycmd): Extended to handle HPUX and AIX.
11+
12+
* src/htmlform.c (HtmlFormIdx, HtmlAddFormInfo): See below, this
13+
time branches in a switch.
14+
15+
* src/htmlwidget.c (TclConfigureWidgetObj, TclConfigureWidget):
16+
Fixed syntax, HP compilers do not like label without any
17+
statement after them. Inserted semantically no-op to satisfy
18+
these demands.
19+
20+
* started a regular change log.

aclocal.m4

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Include the TEA standard macro set
3+
#
4+
5+
builtin(include,tclconfig/tcl.m4)
6+
7+
#
8+
# Add here whatever m4 macros you want to define for your package
9+
#

linux-gcc.mk

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
2+
##### Top of the Tkhtml source tree - the directory with this file in it.
3+
#
4+
TOP = $(HOME)/work/tkhtml/htmlwidget
5+
6+
##### BUILD can be DEBUG, RELEASE or MEMDEBUG.
7+
#
8+
BUILD = DEBUG
9+
# BUILD = RELEASE
10+
# BUILD = MEMDEBUG
11+
# BUILD = PROFILE
12+
13+
##### Path to hv3_polipo binary to include in starkit builds.
14+
#
15+
HV3_POLIPO = $(HOME)/bin/hv3_polipo
16+
17+
##### Version of and path to the Tcl installation to use.
18+
#
19+
TCLVERSION = 8.5
20+
21+
TCL_RELEASE = $(HOME)/tcl
22+
TCL_DEBUG = $(HOME)/tcl
23+
TCL_PROFILE = $(HOME)/tcl_profile
24+
#TCL_PROFILE = $(HOME)/tcl
25+
TCL_MEMDEBUG = $(HOME)/memtcl
26+
TCL = $(TCL_$(BUILD))
27+
28+
# MKSTARKIT = ~/tcl/bin/tclkit-linux-x86-xft ~/bin/sdx.kit wrap
29+
MKSTARKIT = ~/bin/tclkit ~/bin/sdx.kit wrap
30+
STARKITRT = ~/bin/tclkit
31+
32+
##### Javascript libaries - libgc.a and libsee.a
33+
#
34+
JS_SHARED_LIB = libTclsee.so
35+
36+
JSLIB = $(HOME)/work/tkhtml/js/lib/libgc.a
37+
JSLIB += $(HOME)/work/tkhtml/js/lib/libsee.a -lpthread
38+
JSFLAGS = -I$(HOME)/work/tkhtml/js/include
39+
40+
#JSLIB = $(HOME)/javascript/install_nogc/lib/libsee.a
41+
#JSFLAGS = -I$(HOME)/javascript/install_nogc/include -DNO_HAVE_GC
42+
43+
##### Flags passed to the C-compiler to link to Tcl.
44+
#
45+
# TCLLIB_DEBUG = -L$(TCL)/lib -ltcl$(TCLVERSION)g -ltk$(TCLVERSION)g
46+
TCLLIB_RELEASE = -L$(TCL)/lib -ltcl$(TCLVERSION) -ltk$(TCLVERSION)
47+
TCLLIB_DEBUG = -L$(TCL)/lib -ltcl$(TCLVERSION) -ltk$(TCLVERSION)
48+
49+
TCLLIB_PROFILE = $(TCL_PROFILE)/lib/libtcl8.5.a $(TCL_PROFILE)/lib/libtk8.5.a
50+
TCLLIB_PROFILE += -lX11 -lXft -lXss
51+
52+
TCLLIB_MEMDEBUG = $(TCLLIB_DEBUG)
53+
TCLLIB_MEMDEBUG += $(TCL)/lib/libtclstub$(TCLVERSION).a
54+
TCLLIB_MEMDEBUG += $(TCL)/lib/libtkstub$(TCLVERSION).a
55+
56+
TCLLIB = -L/usr/X11R6/lib/ -lX11 -ldl -lm $(TCLLIB_$(BUILD))
57+
58+
##### The C-compiler to use and the flags to pass to it.
59+
#
60+
CC_RELEASE = gcc
61+
CC_DEBUG = gcc
62+
CC_MEMDEBUG = $(CC_DEBUG)
63+
CC_PROFILE = $(CC_DEBUG)
64+
CC = $(CC_$(BUILD))
65+
BCC = $(CC_$(BUILD))
66+
67+
CFLAGS_RELEASE = -O2 -Wall -DNDEBUG -DHTML_MACROS -DTKHTML_ENABLE_PROFILE
68+
CFLAGS_DEBUG = -g -Wall -DHTML_DEBUG -DTKHTML_ENABLE_PROFILE
69+
CFLAGS_PROFILE = -g -pg -Wall -DNDEBUG -DTKHTML_ENABLE_PROFILE
70+
CFLAGS_MEMDEBUG = -g -Wall -DRES_DEBUG -DHTML_DEBUG -DTCL_MEM_DEBUG=1
71+
CFLAGS = $(CFLAGS_$(BUILD))
72+
73+
##### The name of the shared library file to build.
74+
#
75+
SHARED_LIB_DEBUG = libTkhtml3g.so
76+
SHARED_LIB_PROFILE = libTkhtml3pg.so
77+
SHARED_LIB_MEMDEBUG = $(SHARED_LIB_DEBUG)
78+
SHARED_LIB_RELEASE = libTkhtml3.so
79+
SHARED_LIB = $(SHARED_LIB_$(BUILD))
80+
81+
##### Command to build a shared library from a set of object files. The
82+
# command executed will be:
83+
#
84+
# $(MKSHLIB) $(OBJS) -o $(SHARED_LIB)
85+
#
86+
MKSHLIB = $(CC) -shared
87+
TCLSTUBSLIB_MEMDEBUG = "/home/dan/memtcl/lib/libtclstub8.5.a"
88+
TCLSTUBSLIB_MEMDEBUG += "/home/dan/memtcl/lib/libtkstub8.5.a"
89+
90+
TCLSTUBSLIB = $(TCLSTUBSLIB_$(BUILD))
91+
92+
STRIP_RELEASE = strip
93+
STRIP_DEBUG = true
94+
STRIP_MEMDEBUG = $(STRIP_DEBUG)
95+
STRIP_PROFILE = $(STRIP_DEBUG)
96+
STRIP = $(STRIP_$(BUILD))
97+
98+
##### Commands to run tclsh and wish.
99+
#
100+
TCLSH = $(TCL)/bin/tclsh$(TCLVERSION)
101+
WISH = $(TCL)/bin/wish$(TCLVERSION)
102+
103+
##### Installation directories used by the 'install' target.
104+
#
105+
INSTALLDIR = $(TCL)/lib/Tkhtml3.0
106+
MANINSTALLDIR = $(TCL)/man/mann
107+
108+
#
109+
# End of configuration section.
110+
# You should not need to change anything below this line
111+
###########################################################################
112+
113+
default: binaries hwish
114+
115+
install: binaries
116+
mkdir -p $(INSTALLDIR)
117+
mkdir -p $(MANINSTALLDIR)
118+
cp -f $(BINARIES) $(INSTALLDIR)
119+
120+
hv3-linux-x86: hv3_img.kit
121+
cp $(STARKITRT) starkit_runtime
122+
$(MKSTARKIT) hv3_img.bin -runtime ./starkit_runtime
123+
mv hv3_img.bin hv3-linux-x86
124+
125+
hv3-linux-x86.gz: hv3-linux-x86
126+
gzip hv3-linux-x86
127+
chmod 644 hv3-linux-x86.gz
128+
129+
###############################################################################
130+
include $(TOP)/main.mk

linux-mingw.mk

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/usr/bin/make
2+
#
3+
#### The toplevel directory of the source tree.
4+
#
5+
SRCDIR = /home/drh/tkhtml/htmlwidget
6+
7+
#### C Compiler and options for use in building executables that
8+
# will run on the platform that is doing the build.
9+
#
10+
BCC = gcc -g -O2
11+
12+
#### Name of the generated static library file
13+
#
14+
LIBNAME = libtkhtml.a
15+
16+
#### The suffix to add to executable files. ".exe" for windows.
17+
# Nothing for unix.
18+
#
19+
E =
20+
21+
#### C Compile and options for use in building executables that
22+
# will run on the target platform. This is usually the same
23+
# as BCC, unless you are cross-compiling.
24+
#
25+
#TCC = gcc -O6
26+
#TCC = gcc -g -O0 -Wall
27+
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
28+
TCC = /opt/mingw/bin/i386-mingw32msvc-gcc -O6 -DSTATIC_BUILD=1
29+
30+
#### Include file directories for Tcl and Tk.
31+
#
32+
INC = -I/home/drh/tcltk/8.4win
33+
34+
#### Extra arguments for linking
35+
#
36+
LIBS =
37+
38+
#### Command used to build a static library
39+
#
40+
AR = /opt/mingw/bin/i386-mingw32msvc-ar r
41+
RANLIB = /opt/mingw/bin/i386-mingw32msvc-ranlib
42+
43+
#### The TCLSH command
44+
#
45+
TCLSH = tclsh
46+
47+
# You should not need to change anything below this line
48+
###############################################################################
49+
include $(SRCDIR)/main.mk

listvers.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#! /bin/sh
2+
#
3+
# This script extracts version information from all the source files.
4+
# Run this script in the top-level directory of the source tree.
5+
#
6+
7+
grep Revision: `find . -type f -print` |
8+
sed -e 's,^./,,' -e 's,:[^ ]*, ,' |
9+
awk '/[1-9]\.[1-9]/ { printf "%-20s %s\n",$1,$3 }'

0 commit comments

Comments
 (0)