1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Arrange to have libtcl automatically pull in libm since it's dependent

on it.
This commit is contained in:
Peter Wemm 1996-08-29 09:43:50 +00:00
parent b73620c976
commit 949a0d68ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17883

View File

@ -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/^/ /