Overview
Comment: | Enable support for building static |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
806b44eecc7ee48465ef7c743718d47b |
User & Date: | rkeene on 2019-06-12 21:16:00 |
Other Links: | manifest | tags |
Context
2019-06-12
| ||
21:19 | TclPKCS11 0.9.12 check-in: 6846d93596 user: rkeene tags: release-0.9.12, trunk | |
21:16 | Enable support for building static check-in: 806b44eecc user: rkeene tags: trunk | |
21:04 | Additional cleanup check-in: 71e86b341f user: rkeene tags: trunk | |
Changes
Modified Makefile.in from [b7d5962b22] to [3bd1b00091].
1 2 3 4 5 6 7 8 9 10 11 12 | CC = @CC@ CFLAGS = @CFLAGS@ @SHOBJFLAGS@ 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$(PACKAGE_VERSION) srcdir = @srcdir@ | > > | > > > > > | > | > > > > > > | | | | | 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 47 48 49 50 51 | CC = @CC@ CFLAGS = @CFLAGS@ @SHOBJFLAGS@ 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$(PACKAGE_VERSION) AR = @AR@ RANLIB = @RANLIB@ srcdir = @srcdir@ all: @EXTENSION_TARGET@ tclpkcs11.o: $(srcdir)/tclpkcs11.c $(srcdir)/pkcs11.h $(srcdir)/pkcs11f.h $(srcdir)/pkcs11t.h $(CC) $(CPPFLAGS) $(CFLAGS) -o tclpkcs11.o -c $(srcdir)/tclpkcs11.c ifneq (@TCLEXT_BUILD@,shared) -@WEAKENSYMS@ tclpkcs11.o -@REMOVESYMS@ tclpkcs11.o endif ifeq (@TCLEXT_BUILD@,shared) @EXTENSION_TARGET@: tclpkcs11.o Makefile rm -f @EXTENSION_TARGET@ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o @EXTENSION_TARGET@ tclpkcs11.o $(LIBS) -@WEAKENSYMS@ @EXTENSION_TARGET@ -@REMOVESYMS@ @EXTENSION_TARGET@ else @EXTENSION_TARGET@: tclpkcs11.o Makefile rm -f @EXTENSION_TARGET@ $(AR) rc @EXTENSION_TARGET@ tclpkcs11.o -$(RANLIB) @EXTENSION_TARGET@ endif install: @EXTENSION_TARGET@ pkgIndex.tcl $(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)" $(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)" $(INSTALL) -m 0755 @EXTENSION_TARGET@ "$(DESTDIR)$(PACKAGE_INSTALL_DIR)" clean: rm -f @EXTENSION_TARGET@ tclpkcs11.o rm -f @EXTENSION_TARGET@.a @EXTENSION_TARGET@.def distclean: clean rm -rf autom4te.cache rm -f config.log config.status rm -f pkgIndex.tcl tclpkcs11.syms rm -f Makefile |
︙ | ︙ |
Modified configure.ac from [aa490d13ef] to [7a8825c358].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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}" | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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 Perform Tcl Extension required stuff TCLEXT_INIT 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}" |
︙ | ︙ | |||
32 33 34 35 36 37 38 | 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) | < < < | 35 36 37 38 39 40 41 42 43 44 45 46 | 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 Setup a stable ABI DC_SETUP_STABLE_API([${srcdir}/tclpkcs11.vers], tclpkcs11.syms) dnl Produce output AC_OUTPUT(Makefile pkgIndex.tcl tclpkcs11.syms) |