Arrange to have libtcl automatically pull in libm since it's dependent
on it.
This commit is contained in:
parent
b73620c976
commit
949a0d68ed
@ -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/^/ /
|
||||
|
Loading…
Reference in New Issue
Block a user