
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.
19 lines
341 B
Makefile
19 lines
341 B
Makefile
# $NetBSD: Makefile,v 1.4 2016/06/02 22:41:26 mrg Exp $
|
|
|
|
LIBISMODULE= yes
|
|
SHLIB_MAJOR= 2 # XXX
|
|
SHLIB_MINOR= 0
|
|
|
|
.include <bsd.own.mk>
|
|
.include <bsd.x11.mk>
|
|
|
|
LIB= ximcp
|
|
LIBDIR= ${X11LIBDIR}/locale/lib/common
|
|
SRCS= ${SRCS.ximcp}
|
|
CFLAGS+=-I${X11SRCDIR.X11}/src
|
|
|
|
CWARNFLAGS.clang+= -Wno-unused
|
|
|
|
.include "../Makefile.ximcp"
|
|
.include <bsd.lib.mk>
|