Branch
Hash :
1a08f436
Author :
Date :
2010-08-25T09:23:17
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
# ========== Copyright Header Begin ==========================================
#
# Hypervisor Software File: depend.mk
#
# Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
#
# - Do no alter or remove copyright notices
#
# - Redistribution and use of this software in source and binary forms, with
# or without modification, are permitted provided that the following
# conditions are met:
#
# - Redistribution of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# - Redistribution in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# Neither the name of Sun Microsystems, Inc. or the names of contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# This software is provided "AS IS," without a warranty of any kind.
# ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
# INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN
# MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR
# ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
# DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN
# OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
# FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
# DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
# ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF
# SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
#
# You acknowledge that this software is not designed, licensed or
# intended for use in the design, construction, operation or maintenance of
# any nuclear facility.
#
# ========== Copyright Header End ============================================
# id: @(#)depend.mk 1.4 03/07/17
# purpose: @(#)depend.mk
# copyright 1985-1990 Bradley Forthware
# copyright: Copyright 1990-2003 Sun Microsystems, Inc. All Rights Reserved
# copyright: Use is subject to license terms.
FORTH-SOURCES = \
${BP}/os/sun/sparc/loadutil.fth \
${BP}/fm/lib/copyrigh.fth \
${BP}/fm/lib/transien.fth \
${BP}/fm/lib/headless.fth \
${BP}/fm/lib/brackif.fth \
${BP}/fm/kernel/sparc/loadsyms.fth \
${BP}/fm/lib/stubs.fth \
${BP}/fm/lib/filetool.fth \
${BP}/fm/lib/dispose.fth \
${BP}/fm/lib/showspac.fth \
${BP}/fm/lib/chains.fth \
${BP}/os/stand/romable.fth \
${BP}/fm/lib/hidden.fth \
${BP}/fm/lib/th.fth \
${BP}/fm/lib/patch.fth \
${BP}/fm/kernel/hashcach.fth \
${BP}/fm/lib/strings.fth \
${BP}/fm/lib/suspend.fth \
${BP}/fm/lib/util.fth \
${BP}/fm/lib/format.fth \
${BP}/fm/lib/cirstack.fth \
${BP}/fm/lib/pseudors.fth \
${BP}/fm/lib/headtool.fth \
${BP}/fm/lib/needs.fth \
${BP}/fm/lib/stringar.fth \
${BP}/fm/lib/split.fth \
${BP}/fm/lib/dump.fth \
${BP}/fm/lib/words.fth \
${BP}/fm/lib/decomp.fth \
${BP}/fm/lib/seechain.fth \
${BP}/fm/lib/loadedit.fth \
${BP}/fm/lib/fileed.fth \
${BP}/fm/lib/editcmd.fth \
${BP}/fm/lib/unixedit.fth \
${BP}/fm/lib/cmdcpl.fth \
${BP}/fm/lib/fcmdcpl.fth \
${BP}/fm/lib/caller.fth \
${BP}/fm/lib/callfind.fth \
${BP}/fm/lib/substrin.fth \
${BP}/fm/lib/sift.fth \
${BP}/fm/lib/array.fth \
${BP}/fm/lib/linklist.fth \
${BP}/fm/lib/initsave.fth \
${BP}/cpu/sparc/assem.fth \
${BP}/cpu/sparc/code.fth \
${BP}/cpu/sparc/asmmacro.fth \
${BP}/fm/lib/loclabel.fth \
${BP}/cpu/sparc/disforw.fth \
${BP}/cpu/sparc/ultra/impldis.fth \
${BP}/fm/lib/instdis.fth \
${BP}/fm/lib/sparc/decompm.fth \
${BP}/os/stand/sparc/notmeta.fth \
${BP}/fm/lib/sparc/bitops.fth \
${BP}/fm/cwrapper/binhdr.fth \
${BP}/fm/cwrapper/sparc/savefort.fth \
${BP}/cpu/sparc/doccall.fth \
${BP}/fm/lib/sparc/debugm.fth \
${BP}/fm/lib/debug.fth \
${BP}/fm/lib/sparc/objsup.fth \
${BP}/fm/lib/objects.fth \
${BP}/cpu/sparc/cpustate.fth \
${BP}/fm/lib/savedstk.fth \
${BP}/fm/lib/rstrace.fth \
${BP}/fm/lib/sparc/ftrace.fth \
${BP}/fm/lib/sparc/cpubpsup.fth \
${BP}/fm/lib/breakpt.fth \
${BP}/cpu/sparc/call.fth \
${BP}/os/sun/sparc/signal.fth \
${BP}/os/sun/sparc/catchexc.fth \
${BP}/os/unix/sparc/arcbpsup.fth \
${BP}/fm/lib/version.fth
FORTH32-SOURCES = \
${FORTH-SOURCES} \
${BP}/cpu/sparc/traps.fth \
${BP}/cpu/sparc/register.fth \
${BP}/fm/lib/sparc/ctrace.fth
FORTH64-SOURCES = \
${FORTH-SOURCES} \
${BP}/cpu/sparc/traps9.fth \
${BP}/cpu/sparc/register9.fth \
${BP}/fm/lib/sparc/ctrace9.fth
# Start with the 32 bit forths
${BOOTSTRAPFORTH}.dic: ${BOOTSTRAPKERNEL}.dic ${BOOTSTRAPKERNEL}.fth
${BOOTSTRAPFORTH}.dic: ${BP}/os/sun/sparc/loadutil.fth
${BOOTSTRAPFORTH}.dic: ${FORTH} ${FORTH32-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH} ${VERBOSE} \
-d ${BOOTSTRAPKERNEL}.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${BOOTSTRAPKERNEL}.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
${BOOTSTRAPFORTH}-xref.dic: ${BOOTSTRAPKERNEL}-xref.dic
${BOOTSTRAPFORTH}-xref.dic: ${BOOTSTRAPKERNEL}-xref.fth
${BOOTSTRAPFORTH}-xref.dic: ${BP}/os/sun/sparc/loadutil.fth
${BOOTSTRAPFORTH}-xref.dic: ${FORTH} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH} ${VERBOSE} \
-d ${BOOTSTRAPKERNEL}-xref.dic -u ${FFLAGS} \
-D dic-file-name=$@ -D XREF -x $@.xref \
-D kernel-hdr-file=${BOOTSTRAPKERNEL}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
# now the rest
${F32T32}.dic: ${K32T32}-xref.dic ${K32T32}-xref.fth
${F32T32}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F32T32}.dic: ${FORTH} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH} ${VERBOSE} \
-d ${K32T32}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K32T32}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
${F32T16S2}.dic: ${K32T16S2}-xref.dic ${K32T16S2}-xref.fth
${F32T16S2}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F32T16S2}.dic: ${FORTH} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH} ${VERBOSE} \
-d ${K32T16S2}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K32T16S2}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
${F32T16S4}.dic: ${K32T16S4}-xref.dic ${K32T16S4}-xref.fth
${F32T16S4}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F32T16S4}.dic: ${FORTH} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH} ${VERBOSE} \
-d ${K32T16S4}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K32T16S4}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
# Now the 64bit ones
# These all have a dependancy upon the same 32bit kernel
${F64T32}.dic: ${K64T32}-xref.dic ${K64T32}-xref.fth
${F64T32}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F64T32}.dic: ${FORTH64} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH64} ${VERBOSE} \
-d ${K64T32}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K64T32}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
${F64T16S2}.dic: ${K64T16S2}-xref.dic ${K64T16S2}-xref.fth
${F64T16S2}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F64T16S2}.dic: ${FORTH64} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH64} ${VERBOSE} \
-d ${K64T16S2}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K64T16S2}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
${F64T16S4}.dic: ${K64T16S4}-xref.dic ${K64T16S4}-xref.fth
${F64T16S4}.dic: ${BP}/os/sun/sparc/loadutil.fth
${F64T16S4}.dic: ${FORTH64} ${FORTH-SOURCES}
@${NOTIFY} Creating $@
( BP=${BP}; export BP; \
${FORTH64} ${VERBOSE} \
-d ${K64T16S4}-xref.dic -u ${FFLAGS} \
-D XREF -D dic-file-name=$@ \
-D kernel-hdr-file=${K64T16S4}-xref.fth \
-s "${FTHFLAGS}" \
${BP}/os/sun/sparc/loadutil.fth \
)
clean::
${RM} ${BOOTSTRAPFORTH}.dic
${RM} ${F32T32}.dic
${RM} ${F32T16S2}.dic
${RM} ${F32T16S4}.dic
${RM} ${F64T32}.dic
${RM} ${F64T16S2}.dic
${RM} ${F64T16S4}.dic