diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-27 11:02:31 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-27 11:02:31 +0000 |
commit | edf5396bb397df4769259ae49c4ce4439640ea38 (patch) | |
tree | 6c222e7cbf566172bd33dffc57f8e8b8a4d3e49a | |
parent | eb8a34747cfb7cd1406e0d174ab409a5bb5c687a (diff) | |
download | FreeBSD-src-edf5396bb397df4769259ae49c4ce4439640ea38.zip FreeBSD-src-edf5396bb397df4769259ae49c4ce4439640ea38.tar.gz |
Do not create link for *lib_p.a if you are not installing profiled libraries.
-rw-r--r-- | lib/libterm/Makefile | 6 | ||||
-rw-r--r-- | lib/libtermcap/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libterm/Makefile b/lib/libterm/Makefile index ba4218b..8c0bfaa 100644 --- a/lib/libterm/Makefile +++ b/lib/libterm/Makefile @@ -7,7 +7,9 @@ SRCS= termcap.c tgoto.c tputs.c MAN3= termcap.0 MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \ termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3 -LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a \ - ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a +LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a +.if !defined(NOPROFILE) +LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a +.endif .include <bsd.lib.mk> diff --git a/lib/libtermcap/Makefile b/lib/libtermcap/Makefile index ba4218b..8c0bfaa 100644 --- a/lib/libtermcap/Makefile +++ b/lib/libtermcap/Makefile @@ -7,7 +7,9 @@ SRCS= termcap.c tgoto.c tputs.c MAN3= termcap.0 MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \ termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3 -LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a \ - ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a +LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a +.if !defined(NOPROFILE) +LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a +.endif .include <bsd.lib.mk> |