Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
98e1584b29f1a2323dfa98b88270c57354cd13dbTinderbox User#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER START
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# The contents of this file are subject to the terms of the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Common Development and Distribution License, Version 1.0 only
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# (the "License"). You may not use this file except in compliance
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# with the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# or http://www.opensolaris.org/os/licensing.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# See the License for the specific language governing permissions
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# and limitations under the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# CDDL HEADER END
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Use is subject to license terms.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# ident "%Z%%M% %I% %E% SMI"
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# cmd/cvcd/sparc/sun4u/starcat/cvcd
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson#
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonPROG= cvcd
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonROOTFS_PROG= $(PROG)
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonPLATFORM= SUNW,Sun-Fire-15000
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Create default so empty rules don't confuse make
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas GustafssonCLASS= 32
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonSRCS= $(PROG:%=%.c)
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas GustafssonOBJS= $(PROG:%=%.o)
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafssoninclude ../../../../Makefile.cmd
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsinclude ../../../../../Makefile.psm
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsFILEMODE= 0755
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsOWNER= root
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsGROUP= sys
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsROOTPSMPROG = $(ROOT_PSM_LIB_DIR)/$(PROG)
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark AndrewsCPPFLAGS = -I$(USR_PSM_INCL_DIR) -I$(SRC)/uts/sun4u/starcat $(CPPFLAGS.master)
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
364162f4ae54b4c3a7602cec9add2aa9b3a89ad2Mark AndrewsLDLIBS += -lsocket
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews.KEEP_STATE:
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrewsall: $(ROOTFS_PROG)
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrewsinstall: all .WAIT $(ROOTPSMPROG)
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsclean:
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson $(RM) $(PROG) $(OBJS)
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewslint: lint_PROG
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews
230f8da57ce436687289c928c209a5b90979dbbaMark Andrewsinclude ../../../../Makefile.targ
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrewsinclude ../../../../../Makefile.psm.targ
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews