Check-in [a68d12f98b]
Overview
Comment:Updated to use simpler and more portable build system
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a68d12f98bc87248d6362b8e2a7c6d898224d8fb
User & Date: rkeene on 2011-09-09 14:09:13.000
Other Links: manifest | tags
Context
2011-09-09
14:09
Fixed missed clean-up file check-in: 8babc9b7bd user: rkeene tags: trunk
14:09
Updated to use simpler and more portable build system check-in: a68d12f98b user: rkeene tags: trunk
13:45
Updated to produce libctk.so check-in: e327ead7cb user: rkeene tags: trunk
Changes
1
2


3
4
5
6
7
8
9
10


1
2
3
4
5
6
7
8
9
10
11
12
13
14


+
+








+
+
Makefile
Makefile/*
aclocal.m4
aclocal.m4/*
autom4te.cache
autom4te.cache/*
config.log
config.log/*
config.status
config.status/*
configure
configure/*
pkgIndex.tcl
pkgIndex.tcl/*
70
71
72
73
74
75
76



77
78
79
80
81
82
83
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86







+
+
+







# to -g, change the following line:
CFLAGS = @CFLAGS@

# Linker options (-L/.../lib) necessary to find the TCL
# and curses libraries (if any).  It is (hopefully) filled in
# properly by the configure script.
LDFLAGS =		@LDFLAGS@

# Linker options when compiling a shared object
SHOBJLDFLAGS =          @SHOBJLDFLAGS@

# Preprocessor options (-I/.../include) necessary to find the TCL
# and curses header files (if any).  It is (hopefully) filled in
# properly by the configure script.
CPPFLAGS =		@CPPFLAGS@

# Preprocessor definitions.  It should be filled in properly by the
172
173
174
175
176
177
178
179
180
181



182
183
184
185
186
187
188
175
176
177
178
179
180
181



182
183
184
185
186
187
188
189
190
191







-
-
-
+
+
+







all: @TARGETS@

libctk.a: $(OBJS)
	rm -f libctk.a
	ar cr libctk.a $(OBJS)
	$(RANLIB) libctk.a

libctk.so: $(OBJS)
	rm -f libctk.so
	gcc -rdynamic -shared $(CFLAGS) $(LDFLAGS) -o libctk.so $(OBJS) $(LIBS)
libctk.@SHOBJEXT@: $(OBJS)
	rm -f libctk.@SHOBJEXT@
	$(CC) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o libctk.@SHOBJEXT@ $(OBJS) $(LIBS)

configInfo: Makefile
	@rm -f configInfo
	@echo "# Definitions and libraries needed to build Tk applications" >> configInfo
	@echo "# (generated by the configure script):" >> configInfo
	@echo "TK_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
	@echo "TK_LIBS = @LIBS@" >> configInfo
Added aclocal/tcl.m4 version [7c92d40f9e].
Added autogen.sh version [01ca528618].
Deleted compat/stdlib.h version [42e9f287b0].
Deleted compat/unistd.h version [77d6f9a81b].
Added config.guess version [23da712e9c].
Added config.sub version [1f0ad14050].
Added configure.ac version [8a5b6b9c19].
Deleted configure.in version [5daba49e62].
Added pkgIndex.tcl.in version [b8b4378d33].
Modified test.tcl from [0f50584dcd] to [6c294de4c5].
1
2
3
4

5
6
7
8
9
10
11
1
2
3

4
5
6
7
8
9
10
11



-
+







#! /usr/bin/env tclsh

if {![info exists tk_port]} {
	set tk_library /home/usace/u4423rsk/Desktop/ctk8.2_working/library
	set tk_library [file join [file dirname [info script]] library]
	load ./libctk.so Tk
}

label .l -text "Password"
entry .x
button .y -text "OK" -command exit