TclPKCS11

Check-in [a09823afee]
Login

Check-in [a09823afee]

Overview
Comment:More work on updating build system
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a09823afee4adef9dca532f6fc9e59410088d93117f5b81e15dd2eeb3435636c
User & Date: rkeene on 2019-06-12 06:22:04
Other Links: manifest | tags
Context
2019-06-12
21:03
Better handling of singlepart signing check-in: dfd4dfccb3 user: rkeene tags: trunk
06:22
More work on updating build system check-in: a09823afee user: rkeene tags: trunk
06:10
Updated ignores check-in: a29c75b7f4 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [cb8b3a5149] to [7008860cfa].

1
2
3
4

5
6
7
8
9
10
11
.tmp
Makefile
aclocal.m4
autom4te.cache

config.guess
config.log
config.status
config.sub
configure
install-sh
pkgIndex.tcl




>







1
2
3
4
5
6
7
8
9
10
11
12
.tmp
Makefile
aclocal.m4
autom4te.cache
build/work
config.guess
config.log
config.status
config.sub
configure
install-sh
pkgIndex.tcl

Modified Makefile.in from [4014c6ed68] to [97a7368868].

13
14
15
16
17
18
19


20
21
22
23
24
25
26
all: tclpkcs11.@SHOBJEXT@

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:







>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: tclpkcs11.@SHOBJEXT@

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)
	-@WEAKENSYMS@ @EXTENSION_TARGET@
	-@REMOVESYMS@ @EXTENSION_TARGET@

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:

Modified configure.ac from [a7149bda1f] to [aa490d13ef].

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
dnl Define ourselves
AC_INIT(tclpkcs11, @@VERS@@)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE

dnl Determine system information
DC_CHK_OS_INFO

dnl Determine how to make shared objects


DC_GET_SHOBJFLAGS













dnl Find out if we have the functions needed to open shared objects
AC_SEARCH_LIBS(dlopen, dl,, [
	AC_SEARCH_LIBS(shl_load, dld dl)
])
AC_CHECK_FUNCS(dlopen shl_load)

dnl Look for appropriate headers
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)

dnl Perform Tcl Extension required stuff
TCLEXT_INIT




dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl)













>
>
|
>
>
>
>
>
>
>
>
>
>
>
>













>
>
>

|
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
43
44
45
46
dnl Define ourselves
AC_INIT(tclpkcs11, @@VERS@@)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE

dnl Determine system information
DC_CHK_OS_INFO

dnl Determine how to make shared objects
if test "$TCLEXT_BUILD" != 'static'; then
	dnl Determine how to make shared objects
	DC_GET_SHOBJFLAGS

	EXTENSION_TARGET="tclpkcs11.${SHOBJEXT}"
else
	dnl Hard-code the archive extension to be .a
	AREXT='a'
	AC_CHECK_TOOL([AR], [ar], [false])
	AC_CHECK_TOOL([RANLIB], [ranlib], [:])

	EXTENSION_TARGET="tclpkcs11.${AREXT}"
fi
AC_SUBST(EXTENSION_TARGET)
AC_SUBST(TCLEXT_BUILD)

dnl Find out if we have the functions needed to open shared objects
AC_SEARCH_LIBS(dlopen, dl,, [
	AC_SEARCH_LIBS(shl_load, dld dl)
])
AC_CHECK_FUNCS(dlopen shl_load)

dnl Look for appropriate headers
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)

dnl Perform Tcl Extension required stuff
TCLEXT_INIT

dnl Setup a stable ABI
DC_SETUP_STABLE_API([${srcdir}/tclpkcs11.vers], tclpkcs11.syms)

dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl tclpkcs11.syms)

Added tclpkcs11.syms.in version [fa60e1e965].



>
1
@SYMPREFIX@Tclpkcs11_Init

Added tclpkcs11.vers version [742040fc04].













>
>
>
>
>
>
1
2
3
4
5
6
{
	global:
		Tclpkcs11_Init;
	local:
		*;
};