Remove NOSHLIBS, users can get by with NOPIC.

Desired by:	ru
This commit is contained in:
David E. O'Brien 2003-06-10 04:47:49 +00:00
parent a9fe95487e
commit a89bd62015

View File

@ -175,7 +175,6 @@ lib${LIB}_p.a: ${POBJS}
${RANLIB} ${.TARGET}
.endif
.if !defined(NOSHLIBS)
.if defined(SHLIB_NAME) || \
defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
SOBJS+= ${OBJS:.o=.So}
@ -183,7 +182,6 @@ SOBJS+= ${OBJS:.o=.So}
.if defined(SHLIB_NAME)
_LIBS+= ${SHLIB_NAME}
.endif
${SHLIB_NAME}: ${SOBJS}
@${ECHO} building shared library ${SHLIB_NAME}
@ -263,7 +261,7 @@ _libinstall:
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR}
.endif
.if !defined(NOSHLIBS) && defined(SHLIB_NAME)
.if defined(SHLIB_NAME)
${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \
${SHLIB_NAME} ${DESTDIR}${SHLIBDIR}