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