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)
# 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
# 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
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
|
|
>
>
|
|
|
|
|
|
<
<
| 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]
@[email protected]: @[email protected][email protected][email protected]
mv @[email protected]@[email protected] @[email protected]
# The shared object target
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
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]
# 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
| # 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 [email protected]@.a [email protected]@.def
rm -f tcltls.a.new tcltls.a
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
|
|
<
|
| 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 @EX[email protected] [email protected][email protected] [email protected]_TARGE[email protected]
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
|