TclPKCS11

Check-in [ff1eeb5963]
Login

Check-in [ff1eeb5963]

Overview
Comment:TclPKCS11 0.9.7 Updated to support running "configure" in a directory other than the one with the source files Updated to include an "install" target (untested)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | release-0.9.7
Files: files | file ages | folders
SHA3-256: ff1eeb5963051089ba6e617300c148479dedcc231f41c24541d3de828cbd38e7
User & Date: rkeene on 2010-12-14 12:27:35
Other Links: manifest | tags
Context
2010-12-14
13:16
TclPKCS11 0.9.8 Corrected install target check-in: a8ce30ea73 user: rkeene tags: release-0.9.8, trunk
12:27
TclPKCS11 0.9.7 Updated to support running "configure" in a directory other than the one with the source files Updated to include an "install" target (untested) check-in: ff1eeb5963 user: rkeene tags: release-0.9.7, trunk
2010-11-14
10:49
Simplified and made Makefile even more explicit check-in: d1ed4ce5f7 user: rkeene tags: trunk
Changes

Modified Makefile.in from [9420b3ae08] to [24904312bf].

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


-
+



+
+
+
+
+



-
-
+
+




+
+
+
+
+










-
+
CC = @CC@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ @DEFS@
CPPFLAGS = @CPPFLAGS@ -I@srcdir@ @DEFS@
LDFLAGS =
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
PACKAGE_VERSION = @PACKAGE_VERSION@
TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/tclpkcs11$(VERS)
srcdir = @srcdir@

all: tclpkcs11.@SHOBJEXT@

tclpkcs11.o: tclpkcs11.c pkcs11.h pkcs11f.h pkcs11t.h
	$(CC) $(CPPFLAGS) $(CFLAGS) -o tclpkcs11.o -c tclpkcs11.c
tclpkcs11.o: $(srcdir)/tclpkcs11.c $(srcdir)/pkcs11.h $(srcdir)/pkcs11f.h $(srcdir)/pkcs11t.h
	$(CC) $(CPPFLAGS) $(CFLAGS) -o tclpkcs11.o -c $(srcdir)/tclpkcs11.c

tclpkcs11.@SHOBJEXT@: tclpkcs11.o
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tclpkcs11.@SHOBJEXT@ tclpkcs11.o $(LIBS)

install: tclpkcs11.@SHOBJEXT@ pkgIndex.tcl
	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
	$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
	$(INSTALL) -m 0755 tclpkcs11.@SHOBJEXT@ "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"

clean:
	rm -f tclpkcs11.@SHOBJEXT@ tclpkcs11.o
	rm -f tclpkcs11.@SHOBJEXT@.a tclpkcs11.@SHOBJEXT@.def

distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl
	rm -f Makefile

.PHONY: all clean distclean
.PHONY: all install clean distclean

Modified aclocal/tcl.m4 from [2724199821] to [509efe80fa].

35
36
37
38
39
40
41

42
43
44
45
46
47
48
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49







+







	AC_MSG_CHECKING([for working tclConfig.sh])

	if test -f "$TCLCONFIGPATH/tclConfig.sh"; then
		. "$TCLCONFIGPATH/tclConfig.sh"
	else
		AC_MSG_ERROR([unable to load tclConfig.sh])
	fi


	AC_MSG_RESULT([found])
])

AC_DEFUN(TCLEXT_INIT, [
	AC_CANONICAL_HOST

63
64
65
66
67
68
69



70
71
72
64
65
66
67
68
69
70
71
72
73
74
75
76







+
+
+



	fi

	TCL_INCLUDE_SPEC="`eval echo "${TCL_INCLUDE_SPEC}"`"

	CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC}"
	CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC}"
	DEFS="${DEFS} ${TCL_DEFS}"

	dnl Needed for package installation
	AC_SUBST(TCL_PACKAGE_PATH)

	AC_SUBST(LIBS)
])

Modified build/makearch.info from [a49ece06fe] to [2cfd7666e4].

12
13
14
15
16
17
18
19

20
21
22
23
24
25
26
12
13
14
15
16
17
18

19
20
21
22
23
24
25
26







-
+







# If set to "auto" it will be maintained in a file called .version
# in the source directory and the revision will be incremented
# each time a "makearch" is done.
#
# If @@SVNLCR@@ is used anywhere in this version number, it will be
# replaced with the highest last-changed-rev from the output of
#   svn info -R    (or 0)
VERS="0.9.6"
VERS="0.9.7"

# Space sperated list of documents, if they exist, they will be
# prefixed with the contents of the DOC_HDR file and substitution
# will occur:
#     @@UTIL@@ becomes the utility name ${UTIL}
#     @@VERS@@ becomes the utility version
#     @@DATE@@ becomes the current date