8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / strategy / Makefile
blob80a819601dc3ff59d32c78e5e06c7bb7d2fc4446
2 # CDDL HEADER START
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
7 # with the License.
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]
20 # CDDL HEADER END
23 # uts/intel/strategy/Makefile
25 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
26 # Use is subject to license terms.
30 # This makefile drives the production of the strategy "misc"
31 # kernel module.
33 # intel architecture dependent
37 # Path to the base of the uts directory tree (usually /usr/src/uts).
39 UTSBASE = ../..
42 # Define the module and object file sets.
44 MODULE = strategy
45 OBJECTS = $(STRATEGY_OBJS:%=$(OBJS_DIR)/%)
46 LINTS = $(STRATEGY_OBJS:%.o=$(LINTS_DIR)/%.ln)
47 ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
50 # Include common rules.
52 include $(UTSBASE)/intel/Makefile.intel
54 CERRWARN += -_gcc=-Wno-parentheses
57 # Define targets
59 ALL_TARGET = $(BINARY)
60 LINT_TARGET = $(MODULE).lint
61 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
64 # Overrides.
66 DEBUG_FLGS =
67 DEBUG_DEFS += $(DEBUG_FLGS)
70 # Default build targets.
72 .KEEP_STATE:
74 def: $(DEF_DEPS)
76 all: $(ALL_DEPS)
78 clean: $(CLEAN_DEPS)
80 clobber: $(CLOBBER_DEPS)
82 lint: $(LINT_DEPS)
84 modlintlib: $(MODLINTLIB_DEPS)
86 clean.lint: $(CLEAN_LINT_DEPS)
88 install: $(INSTALL_DEPS)
91 # Include common targets.
93 include $(UTSBASE)/intel/Makefile.targ