2005-09-24 17:51:46 +04:00
|
|
|
# $NetBSD: Makefile.xlibi18n,v 1.7 2005/09/24 13:51:47 chs Exp $
|
2003-09-12 06:49:56 +04:00
|
|
|
|
|
|
|
MKLINKLIB= no
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/lib/X11
|
|
|
|
|
|
|
|
SHLIB_MAJOR= 2
|
|
|
|
SHLIB_MINOR= 0
|
|
|
|
|
2005-01-21 08:15:36 +03:00
|
|
|
CPPFLAGS+= ${X11FLAGS.THREADS}
|
2003-09-12 06:49:56 +04:00
|
|
|
|
2005-09-24 17:51:46 +04:00
|
|
|
LIBDPLIBS=\
|
|
|
|
X11 ${NETBSDSRCDIR}/x11/lib/X11/dynamic
|
2003-09-12 06:49:56 +04:00
|
|
|
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.x11.mk>
|
|
|
|
|
|
|
|
# override <bsd.x11.mk>'s setting of LIBDIR
|
|
|
|
#
|
|
|
|
LIBDIR= ${X11LIBDIR}/locale/lib/common
|
|
|
|
|
2003-09-12 06:49:56 +04:00
|
|
|
.PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
|
|
|
|
libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|
|
|
|
${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}
|
2003-11-08 16:57:29 +03:00
|
|
|
${_MKTARGET_INSTALL}
|
2003-09-12 06:49:56 +04:00
|
|
|
${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
|
|
${.ALLSRC} ${.TARGET}
|