Check-in [22c5d6a6be]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added a dependency on the Makefile for most targets
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tls-1-7
Files: files | file ages | folders
SHA1:22c5d6a6be55f4107505690041c9a640a430f08c
User & Date: rkeene 2016-12-07 16:53:00
Context
2016-12-07
17:18
Updated to create a ".linkadd" file when creating a static archive for static linking that describes what we need to link to check-in: 7a4440b028 user: rkeene tags: tls-1-7
16:53
Added a dependency on the Makefile for most targets check-in: 22c5d6a6be user: rkeene tags: tls-1-7
16:48
Removed extraneous "extern", causing linking failures on Windows check-in: ee4e44d78d user: rkeene tags: tls-1-7
Changes

Changes to Makefile.in.

     9      9   PACKAGE_VERSION = @PACKAGE_VERSION@
    10     10   TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
    11     11   PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/tcltls$(PACKAGE_VERSION)
    12     12   
    13     13   all: @EXTENSION_TARGET@
    14     14   
    15     15   # The shared object target
    16         -tcltls.@SHOBJEXT@: tls.o tlsBIO.o tlsIO.o tlsX509.o
           16  +tcltls.@SHOBJEXT@: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
    17     17   	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o tcltls.@SHOBJEXT@ tls.o tlsBIO.o tlsIO.o tlsX509.o $(LIBS)
    18     18   
    19     19   # The static target
    20         -tcltls.a: tls.o tlsBIO.o tlsIO.o tlsX509.o
           20  +tcltls.a: tls.o tlsBIO.o tlsIO.o tlsX509.o Makefile
    21     21   	$(AR) rcu tcltls.a.new tls.o tlsBIO.o tlsIO.o tlsX509.o
    22     22   	$(RANLIB) tcltls.a.new
    23     23   	mv tcltls.a.new tcltls.a
    24     24   
    25     25   # Dependencies for all our targets
    26         -tls.o: @srcdir@/tls.c @srcdir@/tlsInt.h @srcdir@/tclOpts.h @srcdir@/tls.tcl.h dh_params.h
    27         -tlsBIO.o: @srcdir@/tlsBIO.c @srcdir@/tlsInt.h
    28         -tlsIO.o: @srcdir@/tlsIO.c @srcdir@/tlsInt.h
    29         -tlsX509.o: @srcdir@/tlsX509.c @srcdir@/tlsInt.h
           26  +tls.o: @srcdir@/tls.c @srcdir@/tlsInt.h @srcdir@/tclOpts.h @srcdir@/tls.tcl.h dh_params.h Makefile
           27  +tlsBIO.o: @srcdir@/tlsBIO.c @srcdir@/tlsInt.h Makefile
           28  +tlsIO.o: @srcdir@/tlsIO.c @srcdir@/tlsInt.h Makefile
           29  +tlsX509.o: @srcdir@/tlsX509.c @srcdir@/tlsInt.h Makefile
    30     30   
    31     31   # Create a C-source-ified version of the script resources
    32     32   # for TclTLS so that we only need a single file to enable
    33     33   # this extension
    34         -@srcdir@/tls.tcl.h: @srcdir@/tls.tcl
           34  +@srcdir@/tls.tcl.h: @srcdir@/tls.tcl Makefile
    35     35   	@XXD@ -i < '@srcdir@/tls.tcl' > '@srcdir@/tls.tcl.h.new'
    36     36   	mv '@srcdir@/tls.tcl.h.new' '@srcdir@/tls.tcl.h'
    37     37   
    38     38   # Create default DH parameters
    39         -dh_params.h: @srcdir@/gen_dh_params
           39  +dh_params.h: @srcdir@/gen_dh_params Makefile
    40     40   	@srcdir@/gen_dh_params @GEN_DH_PARAMS_ARGS@ > dh_params.h.new
    41     41   	mv dh_params.h.new dh_params.h
    42     42   
    43     43   # Generic target for building files from the "srcdir"
    44     44   # tree -- the default target will not match paths
    45     45   .c.o:
    46     46   	$(CC) $(CPPFLAGS) $(CFLAGS) -o "$@" -c "$<"