diff options
Diffstat (limited to 'sys/arch/macppc/stand/Makefile.inc')
-rw-r--r-- | sys/arch/macppc/stand/Makefile.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/arch/macppc/stand/Makefile.inc b/sys/arch/macppc/stand/Makefile.inc new file mode 100644 index 00000000000..24ea0c6d5be --- /dev/null +++ b/sys/arch/macppc/stand/Makefile.inc @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile.inc,v 1.1 2001/09/01 15:39:02 drahn Exp $ +# $NetBSD: Makefile.inc,v 1.1 1996/09/30 16:34:59 ws Exp $ + +.if !defined(__stand_makefile_inc) +__stand_makefile_inc=1 + +KERN_AS= library + +S=$(.CURDIR)/../../../$(R) + +.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) +.BEGIN: + @([ -h machine ] || ln -s $(S)/arch/$(MACHINE)/include machine) +.endif + +# +EXTRACFLAGS= -msoft-float +REAL_VIRT?= -v +ENTRY?= _start + +INCLUDES+= -I. -I$(.OBJDIR) -I$(.CURDIR)/.. -I$(S)/arch -I$(S) +INCLUDES+= -I$(S)/lib/libsa +DEFS+= -DSTANDALONE -DFIREPOWERBUGS +CFLAGS+= $(INCLUDES) $(DEFS) $(EXTRACFLAGS) +LDFLAGS?= -X -N -Ttext $(RELOC) -e $(ENTRY) + +cleandir: + rm -rf lib machine + +.endif |