Makefile revision 8793b36b40d14ad0a0fecc97738dc118a928f46c
7332N/A# The contents of this file are subject to the terms of the 7332N/A# Common Development and Distribution License (the "License"). 7332N/A# You may not use this file except in compliance with the License. 7332N/A# See the License for the specific language governing permissions 7332N/A# and limitations under the License. 7332N/A# When distributing Covered Code, include this CDDL HEADER in each 7332N/A# If applicable, add the following below this CDDL HEADER, with the 7332N/A# fields enclosed by brackets "[]" replaced with your own identifying 7332N/A# information: Portions Copyright [yyyy] [name of copyright owner] 7332N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 7332N/A# Use is subject to license terms. 7332N/A# This makefile drives the production of unix (and unix.o). 7332N/A# i86pc implementation architecture dependent 7332N/A# Define the module and object file sets. # This is UNIX_DIR. Use a short path. # instr_size needs a special header # For now, disable these lint checks; maintainers should endeavor # to investigate and remove these for maximum lint coverage. # Please do not carry these forward to new Makefiles. # Ensure that lint sees 'struct cpu' containing a fully declared # embedded 'struct machcpu' @
echo " .globl dboot_image" >>
$(DBOOT_S)# dboot is built as an intermediate target in dboot.o, so just make # Special rules for generating assym.h for inclusion in assembly files. # The global lint target builds the kernel lint library (llib-lunix.ln) # which is equivalent to a lint of /unix.o. Then all kernel modules for # this architecture are linted against the kernel lint library. # Note: lint errors in the kernel lint library will be repeated for # each module. It is important that the kernel lint library # be clean to keep the textual output to a reasonable level. @-
$(ECHO) "\n$(UNIX): (library construction):" @-
$(ECHO) "\n$(DBOOT): (library construction):"# Include common targets.