Makefile revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
39cf872a6df49bd5affe2ca6eaf683918184fbb4trawick# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
dec8fb7a4d03d8f0f485af9556bbd2b3f385696ejerenkrantz# You may not use this file except in compliance with the License.
dec8fb7a4d03d8f0f485af9556bbd2b3f385696ejerenkrantz#
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# or http://www.opensolaris.org/os/licensing.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# See the License for the specific language governing permissions
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# and limitations under the License.
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb#
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# When distributing Covered Code, include this CDDL HEADER in each
571760de5e60c0b459cb11be45507b923cd023eejwoolley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
571760de5e60c0b459cb11be45507b923cd023eejwoolley# If applicable, add the following below this CDDL HEADER, with the
9180a5933673ffb1af633c255ceee029340f3b1erbb# fields enclosed by brackets "[]" replaced with your own identifying
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# information: Portions Copyright [yyyy] [name of copyright owner]
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe#
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# CDDL HEADER END
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# Use is subject to license terms.
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein#
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#ident "%Z%%M% %I% %E% SMI"
6f6f4a4bca281779d196acbdd5c017bb90858305trawick#
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick#
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# Path to the base of the uts directory tree (usually /usr/src/uts).
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojUTSBASE = ../..
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# Define the module and object file sets.
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699sliveMODULE = softmac
af4c982a7cf4515f124935f99a329744035fc699sliveOBJECTS = $(SOFTMAC_OBJS:%=$(OBJS_DIR)/%)
af4c982a7cf4515f124935f99a329744035fc699sliveLINTS = $(SOFTMAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
af4c982a7cf4515f124935f99a329744035fc699sliveROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2a6c49cfaef5979a5a06098f3ce987cd76769409manojCONF_SRCDIR = $(UTSBASE)/common/io/softmac
531c23ff01a2489646f0a2029097013b328d935agstein
54e1babd5a5a56c576eeeace54110150769cc916coar#
54e1babd5a5a56c576eeeace54110150769cc916coar# Include common rules.
54e1babd5a5a56c576eeeace54110150769cc916coar#
54e1babd5a5a56c576eeeace54110150769cc916coarinclude $(UTSBASE)/sparc/Makefile.sparc
54e1babd5a5a56c576eeeace54110150769cc916coar
54e1babd5a5a56c576eeeace54110150769cc916coar#
54e1babd5a5a56c576eeeace54110150769cc916coar# Define targets
7fe18c15b669db9d191859695901dc4fcf3829dawrowe#
7fe18c15b669db9d191859695901dc4fcf3829dawroweALL_TARGET = $(BINARY) $(SRC_CONFILE)
7fe18c15b669db9d191859695901dc4fcf3829dawroweLINT_TARGET = $(MODULE).lint
b84f66c93f820824b1d5455181f55598b766319cwroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
7fe18c15b669db9d191859695901dc4fcf3829dawrowe
976501adbc040220270f7d1d77c4b8373033be69wrowe#
976501adbc040220270f7d1d77c4b8373033be69wrowe# Overrides
976501adbc040220270f7d1d77c4b8373033be69wrowe#
976501adbc040220270f7d1d77c4b8373033be69wroweCFLAGS += $(CCVERBOSE)
976501adbc040220270f7d1d77c4b8373033be69wroweLDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/strplumb -Nmisc/dls
b84f66c93f820824b1d5455181f55598b766319cwrowe
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb#
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# For now, disable these lint checks as it is a generic STREAMS problem;
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# maintainers should endeavor to investigate and remove these for maximum
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# lint coverage.
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb#
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
b84f66c93f820824b1d5455181f55598b766319cwrowe#
b84f66c93f820824b1d5455181f55598b766319cwrowe# Default build targets.
b84f66c93f820824b1d5455181f55598b766319cwrowe#
b84f66c93f820824b1d5455181f55598b766319cwrowe.KEEP_STATE:
a601d863bd772fefc4dc82a883589d8be6a44811wrowe
a601d863bd772fefc4dc82a883589d8be6a44811wrowedef: $(DEF_DEPS)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweall: $(ALL_DEPS)
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweclean: $(CLEAN_DEPS)
976501adbc040220270f7d1d77c4b8373033be69wrowe
976501adbc040220270f7d1d77c4b8373033be69wroweclobber: $(CLOBBER_DEPS)
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantzlint: $(LINT_DEPS)
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantzmodlintlib: $(MODLINTLIB_DEPS)
a07e2eca227b37afdd16de2f3fc3b9ac2be173ceianh
a07e2eca227b37afdd16de2f3fc3b9ac2be173ceianhclean.lint: $(CLEAN_LINT_DEPS)
a07e2eca227b37afdd16de2f3fc3b9ac2be173ceianh
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantzinstall: $(INSTALL_DEPS)
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz#
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz# Include common targets.
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz#
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantzinclude $(UTSBASE)/sparc/Makefile.targ
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz