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