1# $DragonFly: src/lib/libpthread/Makefile,v 1.6 2008/01/20 19:14:09 corecode Exp $ 2 3LIBNAME= libpthread 4SHLIB_MAJOR= 0 5SHLIB_NAME= ${LIBNAME}.so 6SONAME= ${SHLIB_NAME}.${SHLIB_MAJOR} 7 8SRCS= dummy.c 9 10realinstall: linkinstall 11linkinstall: 12 # Do not overwrite existing symlinks 13 if [ ! -e ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME} ]; then \ 14 ${LN} -fs lib${THREAD_LIB}.so \ 15 ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME}; \ 16 fi 17 if [ ! -e ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a ]; then \ 18 ${LN} -fs lib${THREAD_LIB}.a \ 19 ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a; \ 20 fi 21 22.include <bsd.lib.mk> 23