Deleted Added
full compact
Makefile.powerpc (10079) Makefile.powerpc (11918)
1# Copyright 1990 W. Jolitz
2# from: @(#)Makefile.i386 7.1 5/10/91
1# Copyright 1990 W. Jolitz
2# from: @(#)Makefile.i386 7.1 5/10/91
3# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $
3# $Id: Makefile.i386,v 1.66 1995/08/16 16:11:48 bde Exp $
4#
5# Makefile for FreeBSD
6#
7# This makefile is constructed from a machine description:
8# config machineid
9# Most changes should be made in the machine description
10# /sys/i386/conf/``machineid''
11# after which you should do

--- 40 unchanged lines hidden (view full) ---

52NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
53# XXX errors leak out of all the pipes. Should use cc *.S.
54# XXX LOCORE means "don't declare C stuff" not "for locore.s".
55NORMAL_S= ${CPP} -DLOCORE ${COPTS} $< | ${AS} ${ASFLAGS} -o $*.o
56DRIVER_C= ${CC} -c ${CFLAGS} ${PROF} $<
57DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
58PROFILE_C= ${CC} -c ${CFLAGS} ${PARAM} $<
59
4#
5# Makefile for FreeBSD
6#
7# This makefile is constructed from a machine description:
8# config machineid
9# Most changes should be made in the machine description
10# /sys/i386/conf/``machineid''
11# after which you should do

--- 40 unchanged lines hidden (view full) ---

52NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
53# XXX errors leak out of all the pipes. Should use cc *.S.
54# XXX LOCORE means "don't declare C stuff" not "for locore.s".
55NORMAL_S= ${CPP} -DLOCORE ${COPTS} $< | ${AS} ${ASFLAGS} -o $*.o
56DRIVER_C= ${CC} -c ${CFLAGS} ${PROF} $<
57DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
58PROFILE_C= ${CC} -c ${CFLAGS} ${PARAM} $<
59
60SFILES= ${I386}/i386/exception.s ${I386}/i386/microtime.s \
61 ${I386}/i386/support.s ${I386}/i386/swtch.s ${I386}/apm/apm_setup.s
62SYSTEM_CFILES= ioconf.c param.c vnode_if.c
63SYSTEM_SFILES= ${I386}/i386/locore.s
64SYSTEM_OBJS= locore.o vnode_if.o ${OBJS} ioconf.o param.o
65SYSTEM_DEP= Makefile symbols.exclude symbols.sort ${SYSTEM_OBJS} libkern.a
66SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
67SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
68.if ${CFLAGS:M-g} == ""
69SYMORDER_EXCLUDE=-x symbols.exclude
70.endif
71SYSTEM_LD_TAIL= @echo rearranging symbols; \
72 symorder -m ${SYMORDER_EXCLUDE} symbols.sort $@; \
73 size $@; chmod 755 $@
74
75%BEFORE_DEPEND
76
77%OBJS
78
79%CFILES
80
60SYSTEM_CFILES= ioconf.c param.c vnode_if.c
61SYSTEM_SFILES= ${I386}/i386/locore.s
62SYSTEM_OBJS= locore.o vnode_if.o ${OBJS} ioconf.o param.o
63SYSTEM_DEP= Makefile symbols.exclude symbols.sort ${SYSTEM_OBJS} libkern.a
64SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
65SYSTEM_LD= @${LD} -Bstatic -Z -T ${LOAD_ADDRESS} -o $@ -X ${SYSTEM_OBJS} vers.o libkern.a
66.if ${CFLAGS:M-g} == ""
67SYMORDER_EXCLUDE=-x symbols.exclude
68.endif
69SYSTEM_LD_TAIL= @echo rearranging symbols; \
70 symorder -m ${SYMORDER_EXCLUDE} symbols.sort $@; \
71 size $@; chmod 755 $@
72
73%BEFORE_DEPEND
74
75%OBJS
76
77%CFILES
78
79%SFILES
80
81%LOAD
82
83%CLEAN
84
85# This is slightly different from before in that if you define PROF
86# to anything, it will assume profiling. Don't do "PROF=" to turn
87# profiling off!
88.if exists($S/libkern/obj)

--- 114 unchanged lines hidden ---
81%LOAD
82
83%CLEAN
84
85# This is slightly different from before in that if you define PROF
86# to anything, it will assume profiling. Don't do "PROF=" to turn
87# profiling off!
88.if exists($S/libkern/obj)

--- 114 unchanged lines hidden ---