diff options
author | peter <peter@FreeBSD.org> | 1996-08-29 09:43:50 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-29 09:43:50 +0000 |
commit | a258811f5d5fee3125fdc76d326a161d6ba61c56 (patch) | |
tree | 77940e17d81bf913adfd3cfcf1d313e8418eed1f | |
parent | 5cb012a59a1cd23c4056708a73e1e556a7a47879 (diff) | |
download | FreeBSD-src-a258811f5d5fee3125fdc76d326a161d6ba61c56.zip FreeBSD-src-a258811f5d5fee3125fdc76d326a161d6ba61c56.tar.gz |
Arrange to have libtcl automatically pull in libm since it's dependent
on it.
-rw-r--r-- | tools/tools/tcl_bmake/mkMakefile.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/tools/tcl_bmake/mkMakefile.sh b/tools/tools/tcl_bmake/mkMakefile.sh index 59083a3..e34a93d 100644 --- a/tools/tools/tcl_bmake/mkMakefile.sh +++ b/tools/tools/tcl_bmake/mkMakefile.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: mkMakefile.sh,v 1.3 1996/08/19 15:02:47 peter Exp $ +# $Id: mkMakefile.sh,v 1.4 1996/08/28 07:56:55 peter Exp $ # # This script generates a bmake Makefile for src/lib/libtcl # @@ -37,7 +37,7 @@ echo '$' >> ${LIBTCL}Makefile echo '# This file is generated automatically, think twice!' >> ${LIBTCL}Makefile echo '# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead' >> ${LIBTCL}Makefile echo '# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:' >> ${LIBTCL}Makefile -echo '# $Id: mkMakefile.sh,v 1.3 1996/08/19 15:02:47 peter Exp $' | tr -d '$' >> ${LIBTCL}Makefile +echo '# $Id: mkMakefile.sh,v 1.4 1996/08/28 07:56:55 peter Exp $' | tr -d '$' >> ${LIBTCL}Makefile echo >> ${LIBTCL}Makefile # Tell make(1) to pick up stuff from here @@ -76,6 +76,11 @@ echo "CFLAGS+= -DTCL_LIBRARY=\\\"\${TCL_LIBRARY}\\\"" >> ${LIBTCL}Makefile echo >> ${LIBTCL}Makefile +echo "LDADD+= -lm" >> ${LIBTCL}Makefile +echo "DPADD+= \${LIBM}" >> ${LIBTCL}Makefile + +echo >> ${LIBTCL}Makefile + # The sources make -f m.x foo | fmt 60 65 | sed ' s/^/ / |