Deleted Added
full compact
Makefile.powerpc (715) Makefile.powerpc (757)
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.11 1993/11/07 04:41:11 wollman Exp $
3# $Id: Makefile.i386,v 1.12 1993/11/07 16:46:33 wollman 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

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

38CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
39LOAD_ADDRESS?= FE000000
40
41NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
42NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
43NORMAL_S= ${CPP} -I. -DLOCORE ${COPTS} $< | ${AS} ${ASFLAGS} -o $*.o
44DRIVER_C= ${CC} -c ${CFLAGS} ${PROF} $<
45DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
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

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

38CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
39LOAD_ADDRESS?= FE000000
40
41NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
42NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
43NORMAL_S= ${CPP} -I. -DLOCORE ${COPTS} $< | ${AS} ${ASFLAGS} -o $*.o
44DRIVER_C= ${CC} -c ${CFLAGS} ${PROF} $<
45DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
46SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o machdep.o
46SYSTEM_OBJS=locore.o exception.o swtch.o support.o ${OBJS} param.o \
47 ioconf.o conf.o machdep.o
47SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
48SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
49SYSTEM_LD= @${LD} -z -T ${LOAD_ADDRESS} -o $@ -X vers.o ${SYSTEM_OBJS}
50SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; \
51 ${DBSYM} -fT ${LOAD_ADDRESS} $@; ${STRIP} -x $@; size $@; chmod 755 $@
52
53# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
54# the script is identical for either... -- cgd

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

77
78symbols.sort: ${I386}/i386/symbols.raw
79 grep -v '^#' ${I386}/i386/symbols.raw \
80 | sed 's/^ //' | sort -u > symbols.sort
81
82locore.o: assym.s ${I386}/i386/locore.s machine/trap.h machine/psl.h \
83 machine/pte.h ${I386}/isa/vector.s ${I386}/isa/icu.s \
84 $S/sys/errno.h machine/specialreg.h ${I386}/isa/debug.h \
48SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
49SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
50SYSTEM_LD= @${LD} -z -T ${LOAD_ADDRESS} -o $@ -X vers.o ${SYSTEM_OBJS}
51SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; \
52 ${DBSYM} -fT ${LOAD_ADDRESS} $@; ${STRIP} -x $@; size $@; chmod 755 $@
53
54# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
55# the script is identical for either... -- cgd

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

78
79symbols.sort: ${I386}/i386/symbols.raw
80 grep -v '^#' ${I386}/i386/symbols.raw \
81 | sed 's/^ //' | sort -u > symbols.sort
82
83locore.o: assym.s ${I386}/i386/locore.s machine/trap.h machine/psl.h \
84 machine/pte.h ${I386}/isa/vector.s ${I386}/isa/icu.s \
85 $S/sys/errno.h machine/specialreg.h ${I386}/isa/debug.h \
85 ${I386}/isa/icu.h ${I386}/isa/isa.h vector.h $S/net/netisr.h
86 ${I386}/isa/icu.h ${I386}/isa/isa.h vector.h $S/net/netisr.h \
87 machine/asmacros.h
86 ${CPP} -I. -DLOCORE ${COPTS} ${I386}/i386/locore.s | \
87 ${AS} ${ASFLAGS} -o locore.o
88
88 ${CPP} -I. -DLOCORE ${COPTS} ${I386}/i386/locore.s | \
89 ${AS} ${ASFLAGS} -o locore.o
90
91exception.o: assym.s ${I386}/i386/exception.s machine/trap.h \
92 ${I386}/isa/vector.s ${I386}/isa/icu.s \
93 $S/sys/errno.h ${I386}/isa/icu.h ${I386}/isa/isa.h vector.h \
94 $S/net/netisr.h machine/asmacros.h
95 ${CPP} -I. -DLOCORE ${COPTS} ${I386}/i386/exception.s | \
96 ${AS} ${ASFLAGS} -o exception.o
97
98swtch.o: assym.s ${I386}/i386/swtch.s \
99 $S/sys/errno.h ${I386}/isa/debug.h machine/asmacros.h
100 ${CPP} -I. ${COPTS} ${I386}/i386/swtch.s | \
101 ${AS} ${ASFLAGS} -o swtch.o
102
103support.o: assym.s ${I386}/i386/support.s \
104 $S/sys/errno.h machine/asmacros.h
105 ${CPP} -I. ${COPTS} ${I386}/i386/support.s | \
106 ${AS} ${ASFLAGS} -o support.o
107
89machdep.o: ${I386}/i386/machdep.c Makefile
90 ${CC} -c ${CFLAGS} -DLOAD_ADDRESS=0x${LOAD_ADDRESS} ${PROF} $<
91
92# the following is necessary because autoconf.o depends on #if GENERIC
93autoconf.o: Makefile
94
95# depend on network configuration
96af.o uipc_proto.o locore.o: Makefile

--- 56 unchanged lines hidden ---
108machdep.o: ${I386}/i386/machdep.c Makefile
109 ${CC} -c ${CFLAGS} -DLOAD_ADDRESS=0x${LOAD_ADDRESS} ${PROF} $<
110
111# the following is necessary because autoconf.o depends on #if GENERIC
112autoconf.o: Makefile
113
114# depend on network configuration
115af.o uipc_proto.o locore.o: Makefile

--- 56 unchanged lines hidden ---