Let this build by using BUILDSYMLINKS to workaround a problem in bsd.kmod.mk

that prevents a source file to be named exactly as the final module.  Thanks
to pooka@ and mrg@ for pointing out how to resolve this.

Also define NOMAN because there is no manual page here.
This commit is contained in:
jmmv 2008-02-10 10:51:18 +00:00
parent 199fb5f423
commit d902e11647

View File

@ -1,7 +1,12 @@
# $NetBSD: Makefile,v 1.1 2008/01/16 12:34:56 ad Exp $
# $NetBSD: Makefile,v 1.2 2008/02/10 10:51:18 jmmv Exp $
KMOD= example
SRCS= example.c
SRCS= real-example.c
# XXX A hack to workaround the fact that the final module is named
# example.o. To be removed once we change the extension of modules.
BUILDSYMLINKS= ${.CURDIR}/example.c real-example.c
NOMAN= # defined
.include <bsd.kmod.mk>