Makefile.powerpc revision 209908
1# Makefile.powerpc -- with config changes.
2# Copyright 1990 W. Jolitz
3#	from: @(#)Makefile.i386	7.1 5/10/91
4# $FreeBSD: head/sys/conf/Makefile.powerpc 209908 2010-07-11 21:08:29Z raj $
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=	600004
21
22STD8X16FONT?=	iso
23
24.if !defined(S)
25.if exists(./@/.)
26S=	./@
27.else
28S=	../../..
29.endif
30.endif
31.include "$S/conf/kern.pre.mk"
32
33INCLUDES+= -I$S/contrib/libfdt
34
35CFLAGS+= -msoft-float
36
37DDB_ENABLED!=	grep DDB opt_ddb.h || true
38.if !empty(DDB_ENABLED)
39CFLAGS+=	-fno-omit-frame-pointer
40.endif
41
42%BEFORE_DEPEND
43
44%OBJS
45
46%FILES.c
47
48%FILES.s
49
50%FILES.m
51
52%CLEAN
53
54%RULES
55
56.include "$S/conf/kern.post.mk"
57