xref: /titanic_50/usr/src/uts/sun4u/boston/Makefile.targ (revision 2115f0c6268615f93b17e507aae4a01e67538165)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# ident	"%Z%%M%	%I%	%E% SMI"
6#
7#	Common targets for sun4u implementation specific modules.
8#
9
10.KEEP_STATE:
11
12IMPLEMENTED_PLATFORM   = SUNW,Sun-Fire-V445
13#
14# Rules for implementation subdirectories.
15#
16$(ROOT_BOSTON_DIR): $(ROOT_PLAT_DIR)
17	-$(INS.dir.root.sys)
18
19$(ROOT_BOSTON_MOD_DIR): $(ROOT_BOSTON_DIR)
20	-$(INS.dir.root.sys)
21
22$(ROOT_BOSTON_MISC_DIR_32): $(ROOT_BOSTON_MOD_DIR)
23	-$(INS.dir.root.sys)
24
25$(ROOT_BOSTON_MISC_DIR_64): $(ROOT_BOSTON_MISC_DIR_32)
26	-$(INS.dir.root.sys)
27
28$(ROOT_BOSTON_DRV_DIR_32): $(ROOT_BOSTON_MOD_DIR)
29	-$(INS.dir.root.sys)
30
31$(ROOT_BOSTON_DRV_DIR_64): $(ROOT_BOSTON_DRV_DIR_32)
32	-$(INS.dir.root.sys)
33
34$(ROOT_BOSTON_CRYPTO_DIR_32): $(ROOT_BOSTON_MOD_DIR)
35	-$(INS.dir.root.sys)
36
37$(ROOT_BOSTON_CRYPTO_DIR_64): $(ROOT_BOSTON_CRYPTO_DIR_32)
38	-$(INS.dir.root.sys)
39
40$(USR_BOSTON_DIR): $(USR_PLAT_DIR)
41	-$(INS.dir.root.sys)
42
43$(USR_BOSTON_INC_DIR): $(USR_BOSTON_DIR)
44	-$(INS.slink4)
45
46$(USR_BOSTON_SBIN_DIR): $(USR_BOSTON_DIR)
47	$(INS.dir.root.bin)
48
49$(USR_BOSTON_SBIN_EEPROM): $(USR_BOSTON_SBIN_DIR)
50	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/eeprom $@ $(CHOWNLINK) $(CHGRPLINK)
51
52$(USR_BOSTON_SBIN_PRTDIAG): $(USR_BOSTON_SBIN_DIR)
53	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@ $(CHOWNLINK) $(CHGRPLINK)
54
55$(USR_BOSTON_SBIN_TRAPSTAT): $(USR_BOSTON_SBIN_DIR)
56	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/trapstat $@ $(CHOWNLINK) $(CHGRPLINK)
57
58$(USR_BOSTON_LIB_DIR): $(USR_BOSTON_DIR)
59	-$(INS.dir.root.bin)
60
61$(USR_BOSTON_ISYS_DIR): $(USR_BOSTON_INC_DIR)
62	$(INS.dir.root.bin)
63
64$(ROOT_BOSTON_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_BOSTON_MOD_DIR)
65	$(INS.file)
66
67$(ROOT_BOSTON_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_BOSTON_MISC_DIR)
68	$(INS.file)
69
70$(ROOT_BOSTON_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_BOSTON_DRV_DIR)
71	$(INS.file)
72
73#
74#	Include common targets.
75#
76include $(UTSBASE)/sun4u/boston/Makefile.rules
77include $(UTSBASE)/sun4u/Makefile.targ
78