diff --git a/sbin/modload/Makefile b/sbin/modload/Makefile index 2b01a9e15627..724e8ba01209 100644 --- a/sbin/modload/Makefile +++ b/sbin/modload/Makefile @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.9 2008/01/16 12:34:58 ad Exp $ +# $NetBSD: Makefile,v 1.10 2008/02/09 19:33:00 jmmv Exp $ -.if ("1" == "1") # LKMS +.include + +.if ${MKMODULAR} != "no" # LKMS PROG= modload SRCS= modload.c MAN= modload.8 -.include # for OBJECT_FMT - .if (${OBJECT_FMT} == "ELF") SRCS+= elf.c .else diff --git a/sbin/modunload/Makefile b/sbin/modunload/Makefile index a31cbf26e486..b3bc1a733def 100644 --- a/sbin/modunload/Makefile +++ b/sbin/modunload/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/01/16 12:34:58 ad Exp $ +# $NetBSD: Makefile,v 1.10 2008/02/09 19:33:00 jmmv Exp $ # # Makefile for modunload # @@ -34,7 +34,9 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -.if ("1" == "1") # LKMs +.include + +.if ${MKMODULAR} != "no" # LKMs PROG= modunload MAN= modunload.8