2005-06-27 05:00:04 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2005/06/27 01:00:05 christos Exp $
|
1993-06-07 23:51:59 +04:00
|
|
|
|
|
|
|
PROG= modload
|
1999-06-13 16:54:40 +04:00
|
|
|
SRCS= modload.c
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= modload.8
|
1993-06-07 23:51:59 +04:00
|
|
|
|
1999-06-13 16:54:40 +04:00
|
|
|
.include <bsd.own.mk> # for OBJECT_FMT
|
|
|
|
|
|
|
|
.if (${OBJECT_FMT} == "ELF")
|
|
|
|
SRCS+= elf.c
|
|
|
|
.else
|
|
|
|
SRCS+= a.out.c
|
|
|
|
CFLAGS+=-DUSE_AOUT
|
|
|
|
.endif
|
|
|
|
|
1993-06-07 23:51:59 +04:00
|
|
|
.include <bsd.prog.mk>
|