xref: /freebsd/sys/conf/Makefile.powerpc (revision ad30f8e79bd1007cc2476e491bd21b4f5e389e0a)
1# Makefile.powerpc -- with config changes.
2# Copyright 1990 W. Jolitz
3#	from: @(#)Makefile.i386	7.1 5/10/91
4# $FreeBSD$
5#
6# Makefile for FreeBSD
7#
8# This makefile is constructed from a machine description:
9#	config machineid
10# Most changes should be made in the machine description
11#	/sys/powerpc/conf/``machineid''
12# after which you should do
13#	 config machineid
14# Generic makefile changes should be made in
15#	/sys/conf/Makefile.powerpc
16# after which config should be rerun for all machines.
17#
18
19# Which version of config(8) is required.
20%VERSREQ=	600010
21
22STD8X16FONT?=	iso
23
24.if !defined(S)
25.if exists(./@/.)
26S=	./@
27.else
28S=	../../..
29.endif
30.endif
31
32LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
33
34.include "$S/conf/kern.pre.mk"
35
36INCLUDES+= -I$S/contrib/libfdt
37
38CFLAGS+= -msoft-float
39
40DDB_ENABLED!=	grep DDB opt_ddb.h || true
41.if !empty(DDB_ENABLED)
42CFLAGS+=	-fno-omit-frame-pointer
43.endif
44
45%BEFORE_DEPEND
46
47%OBJS
48
49%FILES.c
50
51%FILES.s
52
53%FILES.m
54
55%CLEAN
56
57%RULES
58
59.include "$S/conf/kern.post.mk"
60