Makefile.powerpc revision 277990
154359Sroberto# Makefile.powerpc -- with config changes. 254359Sroberto# Copyright 1990 W. Jolitz 354359Sroberto# from: @(#)Makefile.i386 7.1 5/10/91 454359Sroberto# $FreeBSD: head/sys/conf/Makefile.powerpc 277990 2015-01-31 19:16:51Z nwhitehorn $ 554359Sroberto# 654359Sroberto# Makefile for FreeBSD 754359Sroberto# 854359Sroberto# This makefile is constructed from a machine description: 954359Sroberto# config machineid 1054359Sroberto# Most changes should be made in the machine description 1154359Sroberto# /sys/powerpc/conf/``machineid'' 1254359Sroberto# after which you should do 1354359Sroberto# config machineid 1454359Sroberto# Generic makefile changes should be made in 1554359Sroberto# /sys/conf/Makefile.powerpc 1654359Sroberto# after which config should be rerun for all machines. 1754359Sroberto# 1854359Sroberto 1954359Sroberto# Which version of config(8) is required. 2054359Sroberto%VERSREQ= 600012 2154359Sroberto 2254359SrobertoSTD8X16FONT?= iso 2354359Sroberto 2454359Sroberto.if !defined(S) 2554359Sroberto.if exists(./@/.) 2654359SrobertoS= ./@ 2754359Sroberto.else 2854359SrobertoS= ../../.. 2954359Sroberto.endif 3054359Sroberto.endif 3154359Sroberto 3254359SrobertoLDSCRIPT_NAME?= ldscript.${MACHINE_ARCH} 3354359Sroberto 3454359Sroberto.include "$S/conf/kern.pre.mk" 3554359Sroberto 3654359SrobertoINCLUDES+= -I$S/contrib/libfdt 3754359Sroberto 3854359SrobertoCFLAGS+= -msoft-float -Wa,-many 3954359Sroberto 4054359Sroberto.if ${MACHINE_ARCH} == "powerpc64" 4154359SrobertoCFLAGS+= -fPIC 4254359SrobertoLDFLAGS+= -pie 4354359Sroberto.endif 4454359Sroberto 4554359Sroberto.if !empty(DDB_ENABLED) 4654359SrobertoCFLAGS+= -fno-omit-frame-pointer 4754359Sroberto.endif 4854359Sroberto 4954359Sroberto%BEFORE_DEPEND 5054359Sroberto 5154359Sroberto%OBJS 5254359Sroberto 5354359Sroberto%FILES.c 5454359Sroberto 5554359Sroberto%FILES.s 5654359Sroberto 5754359Sroberto%FILES.m 5854359Sroberto 5954359Sroberto%CLEAN 6054359Sroberto 6154359Sroberto%RULES 6254359Sroberto 6354359Sroberto.include "$S/conf/kern.post.mk" 6454359Sroberto