Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
4901N/A#
4901N/A# CDDL HEADER START
4901N/A#
4901N/A# The contents of this file are subject to the terms of the
4901N/A# Common Development and Distribution License (the "License").
4901N/A# You may not use this file except in compliance with the License.
4901N/A#
4901N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4901N/A# or http://www.opensolaris.org/os/licensing.
4901N/A# See the License for the specific language governing permissions
4901N/A# and limitations under the License.
4901N/A#
4901N/A# When distributing Covered Code, include this CDDL HEADER in each
4901N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4901N/A# If applicable, add the following below this CDDL HEADER, with the
4901N/A# fields enclosed by brackets "[]" replaced with your own identifying
4901N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4901N/A#
4901N/A# CDDL HEADER END
4901N/A#
4901N/A#
4901N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4901N/A# Use is subject to license terms.
4901N/A#
4901N/A
4901N/APROG = th_manage th_define
4901N/ASHFILES = th_script
4901N/A
4901N/Ainclude ../Makefile.cmd
4901N/A
4901N/ACFLAGS += -I$(SRC)/uts/common
4901N/ALINTFLAGS += -I$(SRC)/uts/common
4901N/AC99MODE= $(C99_ENABLE)
4901N/ACFLAGS += $(CCVERBOSE)
4901N/ACERRWARN += -_gcc=-Wno-parentheses
4901N/ACERRWARN += -_gcc=-Wno-uninitialized
4901N/A
4901N/ASRCS = $(PROG:%=%.c)
4901N/AOBJECTS = $(SRCS:%.c=%.o)
4901N/A
4901N/ALDLIBS += -ldevinfo
4901N/Ath_manage := LDLIBS += -ldevice
4901N/A
4901N/AROOTPROG = $(PROG:%=$(ROOTUSRSBIN)/%)
4901N/A
4901N/ACLOBBERFILES = $(PROG) $(SHFILES)
4901N/A
4901N/A$(ROOTPROG) := FILEMODE = 0555
4901N/A
4901N/A.KEEP_STATE:
4901N/A
4901N/Aall: $(PROG) $(SHFILES)
4901N/A
4901N/A$(SHFILES): $(SHFILES).sh
4901N/A $(RM) $(SHFILES)
4901N/A $(CP) $(SHFILES).sh $(SHFILES)
4901N/A
4901N/Ainstall: all $(ROOTUSRSBINPROG) $(ROOTLIBSHFILES)
4901N/A
4901N/Aclean:
4901N/A $(RM) $(OBJECTS)
4901N/A
4901N/Alint:
4901N/A $(LINT.c) th_define.c $(LDLIBS)
4901N/A $(LINT.c) th_manage.c $(LDLIBS) -ldevice
4901N/A
4901N/Ainclude ../Makefile.targ
4901N/A