diff options
-rw-r--r-- | lib/libtcl/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/libtcl/Makefile b/lib/libtcl/Makefile index 96a0ab7..b81007c 100644 --- a/lib/libtcl/Makefile +++ b/lib/libtcl/Makefile @@ -5,7 +5,7 @@ # Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead # # Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version: -# Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp +# Id: mkMakefile.sh,v 1.7 1996/08/29 16:46:14 chuckr Exp # TCLDIST=${.CURDIR}/../../contrib/tcl @@ -24,8 +24,8 @@ SHLIB_MINOR= 0 LIB= tcl .if !defined(NOPIC) -LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MINOR}.${SHLIB_MINOR} \ - ${SHLIBDIR}/lib${LIB}${SHLIB_MINOR}.so.1.0 +LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + ${SHLIBDIR}/lib${LIB}${SHLIB_MAJOR}.so.1.0 .endif LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a @@ -45,6 +45,9 @@ SRCS= panic.c regexp.c tclAsync.c tclBasic.c tclCkalloc.c tclClock.c \ tclUnixPipe.c tclUnixSock.c tclUnixTime.c tclUnixInit.c \ tclLoadDl2.c +HEADERS=generic/patchlevel.h generic/tclInt.h generic/tclPort.h \ + generic/tclRegexp.h unix/tclUnixPort.h + beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include @@ -56,6 +59,11 @@ beforeinstall: ${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/tclConfig.sh ${DESTDIR}/${TCL_LIBRARY} +.for m in ${HEADERS} + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${TCLDIST}/$m \ + ${DESTDIR}/usr/include/tcl/$m +.endfor + MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" |