kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / uts / sun4u / starfire / platmod / Makefile
blobb5ee9dbb76eb35881cce56b263d8d4122aa7598e
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I% %E% SMI"
30 # This makefile drives the production of the sun4u starfire platform
31 # module.
33 # sun4u starfire implementation architecture dependent
37 # Path to the base of the uts directory tree (usually /usr/src/uts).
39 UTSBASE = ../../..
41 # Define the module and object file sets.
43 MODULE = platmod
44 OBJECTS = $(STARFIRE_OBJS:%=$(OBJS_DIR)/%)
45 ROOTMODULE = $(ROOT_STARFIRE_MISC_DIR)/$(MODULE)
46 PLAT_DIR = .
49 # Include common rules.
51 include $(UTSBASE)/sun4u/starfire/Makefile.starfire
54 # Override defaults
56 CLEANFILES += $(PLATLIB)
59 # Define targets
61 ALL_TARGET = $(PLATLIB)
62 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
65 # Default build targets.
67 .KEEP_STATE:
69 def: $(DEF_DEPS)
71 all: $(ALL_DEPS)
73 clean: $(CLEAN_DEPS)
75 clobber: $(CLOBBER_DEPS)
77 install: $(INSTALL_DEPS)
79 $(PLATLIB): $(BINARY)
80 $(BUILD.SO) $(BINARY)
83 # Include common targets.
85 include $(UTSBASE)/sun4u/starfire/Makefile.targ