Sync with HEAD.
[dragonfly.git] / lib / libpthread / Makefile
blob541a28c14caf0356079c03446b08cffa2eb418bc
1 # $DragonFly: src/lib/libpthread/Makefile,v 1.6 2008/01/20 19:14:09 corecode Exp $
3 LIBNAME= libpthread
4 SHLIB_MAJOR= 0
5 SHLIB_NAME= ${LIBNAME}.so
6 SONAME= ${SHLIB_NAME}.${SHLIB_MAJOR}
8 SRCS= dummy.c
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}; \
17 if [ ! -e ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a ]; then \
18 ${LN} -fs lib${THREAD_LIB}.a \
19 ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a; \
22 .include <bsd.lib.mk>