diff options
Diffstat (limited to 'lib/libterm/Makefile')
| -rw-r--r-- | lib/libterm/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/libterm/Makefile b/lib/libterm/Makefile index 4c7b0ba012c1..c0ee1c1c90d7 100644 --- a/lib/libterm/Makefile +++ b/lib/libterm/Makefile @@ -1,12 +1,5 @@ -# @(#)Makefile 5.10 (Berkeley) 6/1/90 -# -# PATCHES MAGIC LEVEL PATCH THAT GOT US HERE -# -------------------- ----- ---------------------- -# CURRENT PATCH LEVEL: 1 00138 -# -------------------- ----- ---------------------- -# -# 11 Apr 93 Rodney W. Grimes Added conditional for profiled -# library LINKS +# from: @(#)Makefile 5.10 (Berkeley) 6/1/90 +# $Id: Makefile,v 1.6 1994/02/05 13:19:00 rgrimes Exp $ LIB= termcap CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D @@ -22,3 +15,11 @@ LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a .endif .include <bsd.lib.mk> + +# This must be after the .include, otherwise we do not pick up +# the SHLIB_{MAJOR,MINOR}! +# +.if !defined(NOPIC) && defined(SHLIB_MAJOR) && defined(SHLIB_MINOR) +LINKS+= ${LIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + ${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR} +.endif |
