NetBSD/sbin/modload/Makefile
jmmv 9e8fd365e9 Add the ability to specify load-time properties for modules. This adds
three new flags to the new modload utility: -b, -i and -s, which are used
to pass boolean, integer and string parameters respectively.
2008-03-02 11:20:59 +00:00

28 lines
372 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/03/02 11:20:59 jmmv Exp $
.include <bsd.own.mk>
.if ${MKMODULAR} != "no" # new module framework
PROG= modload
SRCS= main.c
MAN= modload.8
LDADD= -lprop
.else # LKMS
PROG= modload
SRCS= modload.c
MAN= modload.8
.if (${OBJECT_FMT} == "ELF")
SRCS+= elf.c
.else
SRCS+= a.out.c
CFLAGS+=-DUSE_AOUT
.endif
.endif
.include <bsd.prog.mk>