Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# CDDL HEADER START
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# The contents of this file are subject to the terms of the
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# Common Development and Distribution License, Version 1.0 only
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# (the "License"). You may not use this file except in compliance
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# with the License.
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# or http://www.opensolaris.org/os/licensing.
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# See the License for the specific language governing permissions
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# and limitations under the License.
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# When distributing Covered Code, include this CDDL HEADER in each
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# If applicable, add the following below this CDDL HEADER, with the
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# fields enclosed by brackets "[]" replaced with your own identifying
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# information: Portions Copyright [yyyy] [name of copyright owner]
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff# CDDL HEADER END
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# uts/intel/lofs/Makefile
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# Use is subject to license terms.
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
e44cd25d3fb2919c8033153fd86b983642513bb6Bob Halley
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
eb7ef395d27b1104f684e21836f200c052736d07Michael Graff# This makefile drives the production of the lofs file system
e44cd25d3fb2919c8033153fd86b983642513bb6Bob Halley# kernel module.
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# intel architecture dependent
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley# Path to the base of the uts directory tree (usually /usr/src/uts).
b9fcdde267398d4f94e5cc5fe280eba738191247Bob Halley#
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael GraffUTSBASE = ../..
0e0b744f611e1ffc2432ef0bf66bfc6ff90a556cMichael Graff
#
# Define the module and object file sets.
#
MODULE = lofs
OBJECTS = $(LOFS_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(LOFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
CERRWARN += -_gcc=-Wno-parentheses
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ