Makefile revision 275c9da86e89f8abf71135cf63d9fc23671b2e60
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# CDDL HEADER START
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# The contents of this file are subject to the terms of the
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Common Development and Distribution License (the "License").
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# You may not use this file except in compliance with the License.
0fe15dc8ddddeb39a5cad1f4f4afa25fa074a5d1Evgeny Vereshchagin#
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# or http://www.opensolaris.org/os/licensing.
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# See the License for the specific language governing permissions
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# and limitations under the License.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt#
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# When distributing Covered Code, include this CDDL HEADER in each
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# If applicable, add the following below this CDDL HEADER, with the
4be4833ece2856e0cacc09f8f8b2c02b320751faMartin Pitt# fields enclosed by brackets "[]" replaced with your own identifying
c50a4525aa8151b180d5a325e88c5f3812e66c36Martin Pitt# information: Portions Copyright [yyyy] [name of copyright owner]
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# CDDL HEADER END
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Use is subject to license terms.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# ident "%Z%%M% %I% %E% SMI"
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../../Makefile.lib
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../Makefile.defs
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierHDRS = libscsi.h
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierROOTHDRDIR = $(ROOTSCSIHDRDIR)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierROOTHDRS = $(HDRS:%=$(ROOTHDRDIR)/%)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierCHECKDIRS = $(HDRS:%.h=%.check)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierHDRDIR = common
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierSUBDIRS = $(MACH)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier$(BUILD64)SUBDIRS += $(MACH64)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierall := TARGET= all
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierclean := TARGET= clean
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierclobber := TARGET= clobber
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinstall := TARGET= install
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierlint := TARGET= lint
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalierinstall_h:= TARGET = install_h
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer.KEEP_STATE:
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyerall install clean clobber lint: $(SUBDIRS)
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyerinstall_h: $(ROOTHDRS)
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyercheck: $(CHECKHDRS)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier$(SUBDIRS): FRC
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier @cd $@; pwd; $(MAKE) $(TARGET)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierFRC:
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../Makefile.rootdirs
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../../Makefile.targ
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier