NetBSD/sys/arch/sparc/stand/installboot/Makefile

37 lines
720 B
Makefile
Raw Normal View History

2002-01-02 08:21:34 +03:00
# $NetBSD: Makefile,v 1.24 2002/01/02 05:21:34 mrg Exp $
NOMAN= # defined
.include <bsd.own.mk>
WARNS?=1
PROG= installboot
SRCS= installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
CPPFLAGS+=-DBOOT_AOUT -DBOOT_ELF32
CFLAGS+=-g
LIBSA=${.CURDIR}/../../../../lib/libsa
.PATH.c: ${LIBSA}
CPPFLAGS+=-I${LIBSA} -I.
CPPFLAGS+=-I${.CURDIR}/..
1995-10-01 00:43:35 +03:00
LDSTATIC?= -static
2002-01-02 08:21:34 +03:00
.if !defined(HOSTPROGNAME)
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
2000-08-10 17:27:47 +04:00
@([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)
2000-08-16 12:24:01 +04:00
@([ -h sparc ] || ln -s ${.CURDIR}/../../../sparc/include sparc)
.NOPATH: machine sparc
.endif
CLEANFILES+= machine sparc
2002-01-02 08:21:34 +03:00
.endif
2002-01-02 08:21:34 +03:00
.ifndef HOSTPROG
.include <bsd.prog.mk>
2002-01-02 08:21:34 +03:00
.endif