summaryrefslogtreecommitdiff
path: root/sbin/modload/Makefile
blob: 17f271c7c27ca07254612ddbc93d678d96b1323f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $OpenBSD: Makefile,v 1.4 2002/01/08 21:28:38 ericj Exp $

PROG=	modload
MAN=	modload.8

SRCS=	modload.c

.include <bsd.own.mk>	# for ELF_TOOLCHAIN

.if (${ELF_TOOLCHAIN:L} == "yes")
SRCS+=	elf.c
.else
SRCS+=	a.out.c
CFLAGS+=	-DUSE_AOUT
.endif

.include <bsd.prog.mk>