mrg dc051efc2d fix PR 48928: build the static libX11 properly. pull in the
ximcp, xlcDef, xlcUTF8Load, xlibi18n, and xomGeneric modules
directly.

also, don't include bsd.lib.mk in the fragment parts for these
modules, but in the module build itself.  otherwise, bsd.lib.mk
is included before SRCS is complete and the build strangely
seems to miss parts listed.

tested using the example in the PR.
2016-06-02 22:41:26 +00:00

16 lines
293 B
Makefile

# $NetBSD: Makefile,v 1.2 2016/06/02 22:41:27 mrg Exp $
LIBISMODULE= yes
SHLIB_MAJOR= 2 # XXX
SHLIB_MINOR= 0
.include <bsd.own.mk>
.include <bsd.x11.mk>
LIB= xomGeneric
LIBDIR= ${X11LIBDIR}/locale/lib/common
SRCS= ${SRCS.xomGeneric}
.include "../Makefile.xomGeneric"
.include <bsd.lib.mk>