Check-in [05dbf4d097]
Overview
Comment:Updated to obey "--libdir" configure directive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:05dbf4d097e9186b2abd46a7c16b626b3762c0c8
User & Date: rkeene on 2014-05-02 04:42:33
Other Links: manifest | tags
Context
2014-05-02
05:34
Updated to install required basic headers check-in: 0a6b909b1f user: rkeene tags: trunk
04:42
Updated to obey "--libdir" configure directive check-in: 05dbf4d097 user: rkeene tags: trunk
04:31
Updated correctly build static/shared based on --enable-static check-in: bc1a8ee8dd user: rkeene tags: trunk
Changes

Modified Makefile.in from [67523e2b58] to [05b26b611a].

            1  +prefix = UNSPECIFIED
            2  +exec_prefix = @exec_prefix@
            3  +libdir = @libdir@
            4  +
            5  +TARGETS = @TARGETS@
            6  +
     1      7   CC = @CC@
     2      8   AR = @AR@
     3      9   RANLIB = @RANLIB@
     4     10   CFLAGS = @CFLAGS@ @SHOBJFLAGS@
     5     11   CPPFLAGS = @CPPFLAGS@ -I@srcdir@ -I@srcdir@/tcc -Itcc @DEFS@
     6     12   LDFLAGS =
     7     13   SHOBJLDFLAGS = @SHOBJLDFLAGS@
     8     14   LIBS = @LIBS@
     9     15   INSTALL = @INSTALL@
           16  +
    10     17   PACKAGE_NAME = @PACKAGE_NAME@
    11     18   PACKAGE_VERSION = @PACKAGE_VERSION@
    12         -TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
           19  +
    13     20   TCLCONFIGPATH = @TCLCONFIGPATH@
    14         -PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
    15         -TARGETS = @TARGETS@
           21  +TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
           22  +tcllibdir = $(shell if echo "$(libdir)" | grep '^UNSPECIFIED' >/dev/null; then echo $(TCL_PACKAGE_PATH); else echo "$(libdir)"; fi)
           23  +PACKAGE_INSTALL_DIR = $(tcllibdir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
    16     24   TCC_CONFIGURE_OPTS = --extra-cflags='$(CPPFLAGS) $(CFLAGS)' --with-tcl=$(TCLCONFIGPATH)
    17     25   srcdir = @srcdir@
    18     26   
    19     27   all: $(TARGETS)
    20     28   
    21     29   tcc/config.h:
    22     30   	if [ "$(srcdir)" = "." ]; then \