4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # uts/sun4u/chicago/ppm/Makefile
24 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 # This makefile drives the production of the platform power
30 # management driver in the sun4u Chicago system.
34 # Path to the base of the uts directory tree (usually /usr/src/uts).
39 # Define the module and object file sets.
42 ROOTMODULE
= $(ROOT_CHICAGO_DRV_DIR
)/$(MODULE
)
43 CONF_SRCDIR
= $(UTSBASE
)/sun4u
/chicago
/io
46 # Include common rules.
48 include $(UTSBASE
)/sun4u
/chicago
/Makefile.chicago
54 ALL_TARGET
= $(SRC_CONFILE
)
55 INSTALL_TARGET
= $(ROOT_CONFFILE
)
61 ALL_BUILDS
= $(ALL_BUILDSONLY64
)
62 DEF_BUILDS
= $(DEF_BUILDSONLY64
)
63 CLEANLINTFILES
+= $(LINT32_FILES
)
66 # The only thing we do from here is install the .conf file
68 CONF_INSTALL_DEPS
= $(DEF_BUILDS
:%=conf_install.
%)
69 CONF_INSTALL_TARGS
= conf_install
70 CONF_INSTALL_OBJ64
= $(CONF_INSTALL_TARGS
:%=%.obj64
)
71 CONF_INSTALL_DBG64
= $(CONF_INSTALL_TARGS
:%=%.debug64
)
73 $(CONF_INSTALL_OBJ64
): FRC
74 @BUILD_TYPE
=OBJ64
$(MAKE
) $(INSTALL_TARGET
)
76 $(CONF_INSTALL_DBG64
): FRC
77 @BUILD_TYPE
=DBG64
$(MAKE
) $(INSTALL_TARGET
)
80 # Turn on doubleword alignment for 64 bit registers
85 # Default build targets.
89 def
all clean clobber lint modlintlib
clean.lint
:
91 install: $(CONF_INSTALL_DEPS
)
94 # Include common targets.
96 include $(UTSBASE
)/sun4u
/chicago
/Makefile.targ