summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/stand/boot/Makefile
blob: f8c7986218bd4f26dbe8b9955234730e6767715b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.2 1996/12/28 06:31:21 rahnds Exp $
#       $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $

R=              ..
.PATH:          $(.CURDIR)/$(R)
PROG=           boot.ppc
SRCS=           Locore.c boot.c ofdev.c net.c netif_of.c alloc.c
#CFLAGS+=       -DDEBUG -DNETIF_DEBUG
CFLAGS+=       -DEXEC_ELF
NOMAN=
STRIP=
MAKEELF=        makeelf
BINDIR=         /usr/mdec

LIBS!=          cd $(.CURDIR)/$(R); $(MAKE) libdep

$(PROG):        $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o ${.TARGET}
#	${MAKEELF} $(REAL_VIRT) a.out $(.TARGET)

.include <bsd.prog.mk>