Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# CDDL HEADER START
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# The contents of this file are subject to the terms of the
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Common Development and Distribution License (the "License").
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# You may not use this file except in compliance with the License.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# or http://www.opensolaris.org/os/licensing.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# See the License for the specific language governing permissions
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# and limitations under the License.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# When distributing Covered Code, include this CDDL HEADER in each
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# If applicable, add the following below this CDDL HEADER, with the
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# fields enclosed by brackets "[]" replaced with your own identifying
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# information: Portions Copyright [yyyy] [name of copyright owner]
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# CDDL HEADER END
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Use is subject to license terms.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# This makefile drives the production of the kernel configuration files.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# intel architecture dependent
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Path to the base of the uts directory tree (usually /usr/src/uts).
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Include common rules.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Define the module and object file sets.
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenCONFIGFILES = name_to_major minor_perm driver_aliases name_to_sysnum \
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen driver_classes dacf.conf $(PATH2INST) mach
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenALTBOOTIMAGE = solaris.xpm # Temporary, for compatibility
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenSRCFILES = $(CONFIGFILES:%=$(SRCDIR)/%) $(SECCONFIG:%=$(SRCDIR)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenROOTCONFIGFILES = $(CONFIGFILES:%=$(ROOTETC)/%) $(SECCONFIG:%=$(ROOTETCSEC)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenROOTCONFIGFILES += $(BOOTIMAGE:%=$(ROOTBOOT)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenROOTCONFIGFILES += $(BOOTENVRC:%=$(BOOTSOLARIS)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenROOTCONFIGFILES += $(DEVMASTER:%=$(BOOTDEVICEDB)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders HatlenROOTALTBOOTIMAGE = $(ALTBOOTIMAGE:%=$(ROOTBOOT)/%)
b5a3e3418c7a5756d5acc7ffc8b00cfc8f25844bKnut Anders Hatlen# Default build targets.
# etc/path_to_inst has permissions different from the other config files
$(INS.file)
$(INS.file)
$(ROOTBOOT):
$(INS.file)
$(BOOTSOLARIS):
$(INS.file)
$(BOOTDEVICEDB):
$(INS.file)