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 WARNS?=         6
10
11 realinstall: linkinstall
12 linkinstall:
13         # Do not overwrite existing symlinks
14         if [ ! -e ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME} ]; then \
15                 ${LN} -fs lib${THREAD_LIB}.so \
16                         ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME}; \
17         fi
18         if [ ! -e ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a ]; then \
19                 ${LN} -fs lib${THREAD_LIB}.a \
20                         ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a; \
21         fi
22
23 .include <bsd.lib.mk>