diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-08-29 09:43:50 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-08-29 09:43:50 +0000 |
commit | 949a0d68eda629b34bcf2d9686a725b5975e3dee (patch) | |
tree | 77940e17d81bf913adfd3cfcf1d313e8418eed1f /tools | |
parent | b73620c976e44913014c056200075aa312f939c3 (diff) | |
download | src-949a0d68eda629b34bcf2d9686a725b5975e3dee.tar.gz src-949a0d68eda629b34bcf2d9686a725b5975e3dee.zip |
Arrange to have libtcl automatically pull in libm since it's dependent
on it.
Notes
Notes:
svn path=/head/; revision=17883
Diffstat (limited to 'tools')
-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 59083a3d704e..e34a93dfe94b 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/^/ / |