32 lines
690 B
Makefile
32 lines
690 B
Makefile
# $NetBSD: Makefile.xlibi18n,v 1.7 2005/09/24 13:51:47 chs Exp $
|
|
|
|
MKLINKLIB= no
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${X11SRCDIR.xc}/lib/X11
|
|
|
|
SHLIB_MAJOR= 2
|
|
SHLIB_MINOR= 0
|
|
|
|
CPPFLAGS+= ${X11FLAGS.THREADS}
|
|
|
|
LIBDPLIBS=\
|
|
X11 ${NETBSDSRCDIR}/x11/lib/X11/dynamic
|
|
|
|
.include <bsd.x11.mk>
|
|
|
|
# override <bsd.x11.mk>'s setting of LIBDIR
|
|
#
|
|
LIBDIR= ${X11LIBDIR}/locale/lib/common
|
|
|
|
.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}
|
|
${_MKTARGET_INSTALL}
|
|
${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
${.ALLSRC} ${.TARGET}
|