xref: /onnv-gate/usr/src/uts/sun4v/huron/Makefile (revision 10907:881ceecbca49)
14669Sfw157321#
24669Sfw157321# CDDL HEADER START
34669Sfw157321#
44669Sfw157321# The contents of this file are subject to the terms of the
54669Sfw157321# Common Development and Distribution License (the "License").
64669Sfw157321# You may not use this file except in compliance with the License.
74669Sfw157321#
84669Sfw157321# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94669Sfw157321# or http://www.opensolaris.org/os/licensing.
104669Sfw157321# See the License for the specific language governing permissions
114669Sfw157321# and limitations under the License.
124669Sfw157321#
134669Sfw157321# When distributing Covered Code, include this CDDL HEADER in each
144669Sfw157321# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154669Sfw157321# If applicable, add the following below this CDDL HEADER, with the
164669Sfw157321# fields enclosed by brackets "[]" replaced with your own identifying
174669Sfw157321# information: Portions Copyright [yyyy] [name of copyright owner]
184669Sfw157321#
194669Sfw157321# CDDL HEADER END
204669Sfw157321#
214669Sfw157321#
224669Sfw157321# uts/sun4v/huron/Makefile
23*10907SSree.Vemuri@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
244669Sfw157321# Use is subject to license terms.
254669Sfw157321#
264669Sfw157321#
274669Sfw157321#	This makefile drives the production of the sun4v huron platform
284669Sfw157321#	modules.
294669Sfw157321#
304669Sfw157321#	sun4v huron implementation architecture dependent
314669Sfw157321#
324669Sfw157321
334669Sfw157321#
344669Sfw157321#	Path to the base of the uts directory tree (usually /usr/src/uts).
354669Sfw157321#
364669Sfw157321UTSBASE	= ../..
374669Sfw157321
384669Sfw157321#
394669Sfw157321#	Include common rules.
404669Sfw157321#
414669Sfw157321include $(UTSBASE)/sun4v/Makefile.sun4v
424669Sfw157321
434669Sfw157321USR_PLAT_DIR = $(ROOT)/usr/platform
444669Sfw157321
454669Sfw157321include $(UTSBASE)/sun4v/Makefile.huron
464669Sfw157321
474669Sfw157321def		:=	TARGET= def
484669Sfw157321all		:=	TARGET= all
494669Sfw157321install		:=	TARGET= install
504669Sfw157321install_h	:=	TARGET= install_h
514669Sfw157321clean		:=	TARGET= clean
524669Sfw157321clobber		:=	TARGET= clobber
534669Sfw157321lint		:=	TARGET= lint
544669Sfw157321lintlib		:=	TARGET= lintlib
554669Sfw157321modlintlib	:=	TARGET= modlintlib
564669Sfw157321modlist		:=	TARGET= modlist
574669Sfw157321modlist		:=	NO_STATE= -K $$MODSTATE$$$$
584669Sfw157321clean.lint	:=	TARGET= clean.lint
594669Sfw157321check		:=	TARGET= check
604669Sfw157321
614669Sfw157321#
624669Sfw157321#	Default build targets.
634669Sfw157321#
644669Sfw157321.KEEP_STATE:
654669Sfw157321
664743Sfw157321def:
674743Sfw157321
684669Sfw157321lintlib:      unix
694669Sfw157321
704669Sfw157321IMPLEMENTED_PLATFORM	= SUNW,SPARC-Enterprise-T5120
714669Sfw157321LINKED_PLATFORMS	= SUNW,SPARC-Enterprise-T5220
724669Sfw157321
734669Sfw157321
744669Sfw157321$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
754669Sfw157321	$(INS.slink3)
764669Sfw157321
774669Sfw157321all:
784669Sfw157321
794669Sfw157321install:	$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
804669Sfw157321
814669Sfw157321install_h check:
824669Sfw157321
834669Sfw157321lint:
844669Sfw157321
854669Sfw157321clean:
864669Sfw157321
874669Sfw157321clobber:	clean
884669Sfw157321
894669Sfw157321modlist:
904669Sfw157321
914669Sfw157321EXPORT_SRC:
924669Sfw157321	$(RM) Makefile+
934669Sfw157321	sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
944669Sfw157321		< Makefile > Makefile+
954669Sfw157321	$(MV) Makefile+ Makefile
964669Sfw157321	$(CHMOD) 444 Makefile
974669Sfw157321# EXPORT DELETE END
984669Sfw157321
994669Sfw157321#
100