Overview
Context
Changes
Modified Makefile.in
from [97fb07e20e]
to [2ff36901f0].
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
1
2
3
4
5
6
7
8
9
10
11
12
13
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
39
40
41
42
|
+
+
+
-
-
-
+
+
+
+
-
+
+
-
-
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
-
+
|
CC := @CC@
CFLAGS := @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS := @CPPFLAGS@ @SHOBJCPPFLAGS@
CFLAGS = -Wall
LIBS = -ltcl8.6
export CFLAGS
LDFLAGS := @LDFLAGS@
LIBS := @LIBS@
SHOBJLDFLAGS := @SHOBJLDFLAGS@
export CC CFLAGS CPPFLAGS
all: nano.so
all: @EXTENSION_TARGET@
ifeq (@TCLEXT_BUILD@,shared)
nano.so: tweetnacl/tweetnacl.o blake2b/blake2b.o nano.c Makefile
$(CC) $(CPPFLAGS) $(CFLAGS) -shared -o nano.so nano.c tweetnacl/tweetnacl.o blake2b/blake2b.o $(LDFLAGS) $(LIBS)
@EXTENSION_TARGET@: tweetnacl/tweetnacl.o blake2b/blake2b.o nano.o Makefile
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o @EXTENSION_TARGET@ nano.o tweetnacl/tweetnacl.o blake2b/blake2b.o $(LIBS)
else
@EXTENSION_TARGET@: tweetnacl/tweetnacl.o blake2b/blake2b.o nano.o Makefile
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o @EXTENSION_TARGET@ nano.o tweetnacl/tweetnacl.o blake2b/blake2b.o $(LIBS)
endif
nano.o: nano.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o nano.o -c nano.c
tweetnacl/tweetnacl.o:
$(MAKE) -C tweetnacl tweetnacl.o
blake2b/blake2b.o:
$(MAKE) -C blake2b blake2b.o
clean:
rm -f nano.so
rm -f @EXTENSION_TARGET@ nano.o
$(MAKE) -C tweetnacl clean
$(MAKE) -C blake2b clean
distclean:
rm -f nano.so
rm -f @EXTENSION_TARGET@ nano.o
rm -f Makefile pkgIndex.tcl config.log config.status
$(MAKE) -C tweetnacl distclean
$(MAKE) -C blake2b distclean
mrproper: distclean
rm -f configure aclocal.m4 config.guess config.sub install-sh
.PHONY: all clean distclean
.PHONY: all clean distclean mrproper
|
| | |