Check-in [2c8d3629bc]
Bounty program for improvements to Tcl and certain Tcl packages.
Overview
Comment:Better handling of shared/static naming issues
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2c8d3629bccf84a05d12f7db4c9f9f4d4b208bae2de4e90c61ced93174c755a7
User & Date: rkeene on 2019-04-12 16:58:33
Other Links: manifest | tags
Context
2019-06-19
17:45
Make hardening optional, disabled by default when statically linking because it requires the linking program to fully participate check-in: 25024a31b0 user: rkeene tags: trunk
2019-06-17
12:05
Add support for ASN1 blobs for certificates and keys check-in: 49278969f2 user: mjanssen tags: mjanssen-asn1-certs
2019-04-25
16:51
Merged in changes from trunk check-in: a64e691ada user: rkeene tags: tls-1-7
2019-04-12
16:58
Better handling of shared/static naming issues check-in: 2c8d3629bc user: rkeene tags: trunk
2019-04-09
18:47
Make extension filename more centralized check-in: 8e730964e5 user: rkeene tags: trunk
Changes

Modified Makefile.in from [4aa8763c1f] to [cdaa02b7ca].

14
15
16
17
18
19
20
21



22
23
24
25



26
27
28
29



30
31
32
33
34
35
36
37
38
14
15
16
17
18
19
20

21
22
23
24



25
26
27
28



29
30
31


32
33
34
35
36
37
38






-
+
+
+

-
-
-
+
+
+

-
-
-
+
+
+
-
-







INSTALL = @[email protected]
INSTALL_PROGRAM = @[email protected]
INSTALL_DATA = @[email protected]
VPATH = @[email protected]

all: @[email protected]

ifeq (@[email protected],shared)
@[email protected]: @[email protected][email protected][email protected]
	mv @[email protected]@[email protected] @[email protected]

# The shared object target
@[email protected]: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o tcltls.@SHOBJ[email protected] tls.o tlsBIO.o tlsIO.o tlsX509.o $(LIBS)
else
shared-@[email protected]: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o shared-@EXTENSION_TARGE[email protected] tls.o tlsBIO.o tlsIO.o tlsX509.o $(LIBS)

# The static target
@[email protected]: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
	$(AR) rcu tcltls.a.new tls.o tlsBIO.o tlsIO.o tlsX509.o
	-$(RANLIB) tcltls.a.new
static-@[email protected]: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
	$(AR) rcu static[email protected][email protected] tls.o tlsBIO.o tlsIO.o tlsX509.o
	-$(RANLIB) static[email protected][email protected]
	mv tcltls.a.new tcltls.a
endif

# Dependencies for all our targets
tls.o: @[email protected]/tls.c @[email protected]/tlsInt.h @[email protected]/tclOpts.h tls.tcl.h dh_params.h Makefile
tlsBIO.o: @[email protected]/tlsBIO.c @[email protected]/tlsInt.h Makefile
tlsIO.o: @[email protected]/tlsIO.c @[email protected]/tlsInt.h Makefile
tlsX509.o: @[email protected]/tlsX509.c @[email protected]/tlsInt.h Makefile

70
71
72
73
74
75
76
77

78
79

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

77


78
79
80
81
82
83
84
85






-
+
-
-
+







# Test target, run the automated test suite
test: @[email protected]
	@[email protected] @[email protected]/tests/all.tcl $(TESTFLAGS) -load "lappend auto_path $(shell pwd)"

# Clean the local build directory for rebuild against the same configuration
clean:
	rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o
	rm -f [email protected][email protected]
	rm -f @EX[email protected] [email protected][email protected] [email protected]_TARGE[email protected]
	rm -f [email protected]@.a [email protected]@.def
	rm -f tcltls.a.new tcltls.a
	rm -f [email protected][email protected] [email protected][email protected]lib
	rm -f tls.tcl.h tls.tcl.h.new.1 tls.tcl.h.new.2

# Clean the local build directory back to what it was after unpacking the
# distribution tarball
distclean: clean
	rm -f config.log config.status
	rm -f dh_params.h.new dh_params.h