Overview
| Comment: | Updated to have working Makefile |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
def9a63955aec548955cc40ded068a8a |
| User & Date: | rkeene on 2014-10-24 20:28:17.738 |
| Other Links: | manifest | tags |
Context
|
2014-10-25
| ||
| 03:33 | Added release engineering script check-in: 111f0e06e0 user: rkeene tags: trunk | |
|
2014-10-24
| ||
| 20:28 | Updated to have working Makefile check-in: def9a63955 user: rkeene tags: trunk | |
| 20:13 | Completed rename check-in: 5d8baf9914 user: rkeene tags: trunk | |
Changes
Added Makefile version [58a300218f].
Modified build-common.sh
from [9e9c539c66]
to [82f16cfdad].
1 2 3 4 5 6 7 8 9 10 11 12 13 | #! /bin/bash set -e case "$1" in clean|distclean) rm -rf out inst rm -f libtuapi.a tuapi.o tuapi.so rm -f tuapi.tcl.h exit 0 ;; esac | > > > > > < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#! /bin/bash
set -e
tuapi_version="$(grep Tcl_PkgProvide tuapi.c | awk '{ print $3 }' | sed 's@[");]*@@g')"
case "$1" in
clean|distclean)
rm -rf out inst
rm -f libtuapi.a tuapi.o tuapi.so
rm -f tuapi.tcl.h
exit 0
;;
version)
echo "${tuapi_version}"
;;
esac
./stringify.tcl tuapi.tcl > tuapi.tcl.h
|
Modified build-dyn.sh
from [8040cbd4a5]
to [8f5100d9aa].
1 2 3 4 5 6 | # /bin/bash # Perform common build options . build-common.sh # Compile using the same options as Tcl | > | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# /bin/bash
# Perform common build options
. build-common.sh
# Compile using the same options as Tcl
if [ -z "${TCLCONFIGSH}" ]; then
TCLCONFIGSH="$(find /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64 /lib /lib64 -name tclConfig.sh -print -quit)"
fi
. "${TCLCONFIGSH}"
echo "${TCL_CC} -ggdb3 -fPIC -DPIC -Wall -DUSE_TCL_STUBS=1 ${TCL_DEFS} ${TCL_INCLUDE_SPEC} ${TCL_STUB_LIB_SPEC} -shared -rdynamic -o tuapi.so tuapi.c"
eval ${TCL_CC} -ggdb3 -fPIC -DPIC -Wall -DUSE_TCL_STUBS=1 ${TCL_DEFS} ${TCL_INCLUDE_SPEC} ${TCL_STUB_LIB_SPEC} -shared -rdynamic -o tuapi.so tuapi.c
echo 'package ifneeded tuapi '"${tuapi_version}"' [list load [file join $dir tuapi.so]]' > pkgIndex.tcl
|