8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / nca / Makefile
blobbeb7e0457ff7c1d59abff592762e32d8109b8f8f
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 # uts/intel/nca/Makefile
24 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 # ident "%Z%%M% %I% %E% SMI"
29 # This makefile drives the production of the nca driver
30 # kernel module.
32 # Intel architecture dependent
36 # Path to the base of the uts directory tree (usually /usr/src/uts).
38 UTSBASE = ../..
41 # Define the module and object file sets.
43 MODULE = nca
44 OBJECTS = $(NCA_OBJS:%=$(OBJS_DIR)/%)
45 LINTS = $(NCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
47 ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
48 CONF_SRCDIR = $(UTSBASE)/common/inet/nca
51 # Include common rules.
53 include $(UTSBASE)/intel/Makefile.intel
56 # Define targets
58 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
59 LINT_TARGET = $(MODULE).lint
60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
63 # Overrides
65 LDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
68 # For now, disable these lint checks; maintainers should endeavor
69 # to investigate and remove these for maximum lint coverage.
70 # Please do not carry these forward to new Makefiles.
72 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
75 # Default build targets.
77 .KEEP_STATE:
79 def: $(DEF_DEPS)
81 all: $(ALL_DEPS)
83 clean: $(CLEAN_DEPS)
85 clobber: $(CLOBBER_DEPS)
87 lint: $(LINT_DEPS)
89 modlintlib: $(MODLINTLIB_DEPS)
91 clean.lint: $(CLEAN_LINT_DEPS)
93 install: $(INSTALL_DEPS)
95 $(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
96 -$(RM) $@; ln $(ROOTMODULE) $@
99 # Include common targets.
101 include $(UTSBASE)/intel/Makefile.targ