Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 0N/A# Use is subject to license terms. 0N/A# ident "%Z%%M% %I% %E% SMI" 0N/A# This makefile drives the production of /unix (and unix.o). 0N/A# sun4v implementation architecture dependent 0N/A# Path to the base of the uts directory tree (usually /usr/src/uts). 0N/A# Define the module and object file sets. 0N/A# Include common rules. 0N/A# This is UNIX_DIR. Use a short path. 0N/A# lint pass one enforcement 0N/A# Turn on doubleword alignment for 64 bit counter timer registers 0N/A# For now, disable these lint checks; maintainers should endeavor 0N/A# to investigate and remove these for maximum lint coverage. 0N/A# Please do not carry these forward to new Makefiles. 0N/A# Default build targets. # ${LD} -dy -b -z nodefs -o $@ -e _start -I $(KRTLD) -M $(MAPFILE) \ # $(UNIX_O) $(MODSTUBS_O) $(GENUNIX_DIR)/$(GENUNIX) # Special rules for generating assym.h for inclusion in assembly files. # CPU_OBJ now comprises of 2 object files which come from sun4 common # and from architecture dependent code. OBJS_DIR is prepended where # CPU_OBJ is defined to allow for building multiple CPU_OBJ's # 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):"# Include common targets.