xref: /dragonfly/lib/libpthread/Makefile (revision 60233e58)
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
9WARNS?=		6
10
11realinstall: linkinstall
12linkinstall:
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>
24