8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / p123_pcbe / Makefile
blob71b7d9bcece459fcf099f282b845bc595e377297
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
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
27 # This Makefile builds the Pentium 1, 2, and 3 Performance Counter BackEnd (PCBE)
30 UTSBASE = ../..
33 # Define module and object file sets.
35 MODULE = pcbe.GenuineIntel.6
36 OBJECTS = $(P123_PCBE_OBJS:%=$(OBJS_DIR)/%)
37 LINTS = $(P123_PCBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
38 ROOTMODULE = $(USR_PCBE_DIR)/$(MODULE)
39 ROOTLINK = $(USR_PCBE_DIR)/pcbe.GenuineIntel.5
42 # Include common rules.
44 include $(UTSBASE)/intel/Makefile.intel
47 # Define targets.
49 ALL_TARGET = $(BINARY)
50 LINT_MODULE = p123_pcbe
51 LINT_TARGET = $(LINT_MODULE).lint
52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
55 # For now, disable these lint checks; maintainers should endeavor
56 # to investigate and remove these for maximum lint coverage.
57 # Please do not carry these forward to new Makefiles.
59 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
60 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
61 LINTTAGS += -erroff=E_STATIC_UNUSED
63 CERRWARN += -_gcc=-Wno-type-limits
64 CERRWARN += -_gcc=-Wno-unused-function
67 # Default build targets.
69 .KEEP_STATE:
71 def: $(DEF_DEPS)
73 all: $(ALL_DEPS)
75 clean: $(CLEAN_DEPS)
77 clobber: $(CLOBBER_DEPS)
79 lint: $(LINT_DEPS)
81 modlintlib: $(MODLINTLIB_DEPS)
83 clean.lint: $(CLEAN_LINT_DEPS)
85 install: $(INSTALL_DEPS)
87 $(ROOTLINK): $(ROOTMODULE)
88 -$(RM) $@; ln $(ROOTMODULE) $@
91 # Include common targets.
93 include $(UTSBASE)/intel/Makefile.targ