xref: /titanic_41/usr/src/uts/sun4u/snowbird/Makefile.targ (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5ae115bc7Smrj# Common Development and Distribution License (the "License").
6ae115bc7Smrj# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
22*1e49577aSRod Evans# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate# uts/sun4u/snowbird/Makefile.targ
257c478bd9Sstevel@tonic-gate#	Common targets for sun4u snowbird implementation specific modules.
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate.KEEP_STATE:
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate# Rules for implementation subdirectories.
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DIR): $(ROOT_PLAT_DIR)
3548bc00d6Sjmcp	-$(INS.dir)
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_MOD_DIR): $(ROOT_SNOWBIRD_DIR)
3848bc00d6Sjmcp	-$(INS.dir)
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DRV_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
4148bc00d6Sjmcp	-$(INS.dir)
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DRV_DIR_64): $(ROOT_SNOWBIRD_DRV_DIR_32)
4448bc00d6Sjmcp	-$(INS.dir)
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_TOD_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
4748bc00d6Sjmcp	-$(INS.dir)
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_TOD_DIR_64): $(ROOT_SNOWBIRD_TOD_DIR_32)
5048bc00d6Sjmcp	-$(INS.dir)
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_MISC_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
5348bc00d6Sjmcp	-$(INS.dir)
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_MISC_DIR_64): $(ROOT_SNOWBIRD_MISC_DIR_32)
5648bc00d6Sjmcp	-$(INS.dir)
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DACF_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
5948bc00d6Sjmcp	-$(INS.dir)
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DACF_DIR_64): $(ROOT_SNOWBIRD_DACF_DIR_32)
6248bc00d6Sjmcp	-$(INS.dir)
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_MOD_DIR) FRC
657c478bd9Sstevel@tonic-gate	$(INS.file)
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_DACF_DIR) FRC
687c478bd9Sstevel@tonic-gate	$(INS.file)
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_MISC_DIR) FRC
717c478bd9Sstevel@tonic-gate	$(INS.file)
727c478bd9Sstevel@tonic-gate
737c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_DRV_DIR) FRC
747c478bd9Sstevel@tonic-gate	$(INS.file)
757c478bd9Sstevel@tonic-gate
767c478bd9Sstevel@tonic-gate$(ROOT_SNOWBIRD_TOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_TOD_DIR) FRC
777c478bd9Sstevel@tonic-gate	$(INS.file)
787c478bd9Sstevel@tonic-gate
797c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_DIR):	$(USR_PLAT_DIR)
8048bc00d6Sjmcp	$(INS.dir)
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_INC_DIR):	$(USR_SNOWBIRD_DIR)
8348bc00d6Sjmcp	-$(INS.dir)
847c478bd9Sstevel@tonic-gate
857c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_SBIN_DIR): $(USR_SNOWBIRD_DIR)
8648bc00d6Sjmcp	-$(INS.dir)
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_SBIN_PRTDIAG): $(USR_SNOWBIRD_SBIN_DIR)
8924fe0b3bSjmcp	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
907c478bd9Sstevel@tonic-gate
917c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_SBIN_FRUADM): $(USR_SNOWBIRD_SBIN_DIR)
9224fe0b3bSjmcp	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
937c478bd9Sstevel@tonic-gate
947c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_LIB_DIR): $(USR_SNOWBIRD_DIR)
9548bc00d6Sjmcp	-$(INS.dir)
967c478bd9Sstevel@tonic-gate
977c478bd9Sstevel@tonic-gate$(USR_SNOWBIRD_ISYS_DIR):	$(USR_SNOWBIRD_INC_DIR)
9848bc00d6Sjmcp	-$(INS.dir)
997c478bd9Sstevel@tonic-gate
1007c478bd9Sstevel@tonic-gate#
1017c478bd9Sstevel@tonic-gate#	Include common targets.
1027c478bd9Sstevel@tonic-gate#
1037c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/snowbird/Makefile.rules
1047c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/Makefile.targ
105