Merge branch 'vendor/OPENSSL'
[dragonfly.git] / lib / libpthread / Makefile
1 # $DragonFly: src/lib/libpthread/Makefile,v 1.6 2008/01/20 19:14:09 corecode Exp $
2
3 LIBNAME=        libpthread
4 SHLIB_MAJOR=    0
5 SHLIB_NAME=     ${LIBNAME}.so
6 SONAME=         ${SHLIB_NAME}.${SHLIB_MAJOR}
7
8 SRCS=           dummy.c
9
10 realinstall: linkinstall
11 linkinstall:
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>