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