Home | History | Annotate | Download | only in ural
      1  6629  zf162725 #
      2  6629  zf162725 # CDDL HEADER START
      3  6629  zf162725 #
      4  6629  zf162725 # The contents of this file are subject to the terms of the
      5  6629  zf162725 # Common Development and Distribution License (the "License").
      6  6629  zf162725 # You may not use this file except in compliance with the License.
      7  6629  zf162725 #
      8  6629  zf162725 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9  6629  zf162725 # or http://www.opensolaris.org/os/licensing.
     10  6629  zf162725 # See the License for the specific language governing permissions
     11  6629  zf162725 # and limitations under the License.
     12  6629  zf162725 #
     13  6629  zf162725 # When distributing Covered Code, include this CDDL HEADER in each
     14  6629  zf162725 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15  6629  zf162725 # If applicable, add the following below this CDDL HEADER, with the
     16  6629  zf162725 # fields enclosed by brackets "[]" replaced with your own identifying
     17  6629  zf162725 # information: Portions Copyright [yyyy] [name of copyright owner]
     18  6629  zf162725 #
     19  6629  zf162725 # CDDL HEADER END
     20  6629  zf162725 #
     21  6629  zf162725 #
     22  6629  zf162725 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     23  6629  zf162725 # Use is subject to license terms.
     24  6629  zf162725 #
     25  6629  zf162725 
     26  6629  zf162725 # ident	"%Z%%M%	%I%	%E% SMI"
     27  6629  zf162725 #
     28  6629  zf162725 # This makefile drives the production of the ural driver kernel module.
     29  6629  zf162725 #
     30  6629  zf162725 # i86pc architecture dependent
     31  6629  zf162725 #
     32  6629  zf162725 
     33  6629  zf162725 #
     34  6629  zf162725 #	Path to the base of the uts directory tree (usually /usr/src/uts).
     35  6629  zf162725 #
     36  6629  zf162725 UTSBASE	= ../..
     37  6629  zf162725 
     38  6629  zf162725 #
     39  6629  zf162725 #	Define the module and object file sets.
     40  6629  zf162725 #
     41  6629  zf162725 MODULE		= ural
     42  6629  zf162725 OBJECTS		= $(URAL_OBJS:%=$(OBJS_DIR)/%)
     43  6629  zf162725 LINTS           = $(URAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
     44  6629  zf162725 ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
     45  6629  zf162725 
     46  6629  zf162725 #
     47  6629  zf162725 #	Include common rules.
     48  6629  zf162725 #
     49  6629  zf162725 include $(UTSBASE)/intel/Makefile.intel
     50  6629  zf162725 
     51  6629  zf162725 #
     52  6629  zf162725 #	Define targets
     53  6629  zf162725 #
     54  6629  zf162725 ALL_TARGET	= $(BINARY)
     55  6629  zf162725 LINT_TARGET	= $(MODULE).lint
     56  6629  zf162725 INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
     57  6629  zf162725 
     58  6629  zf162725 #
     59  6629  zf162725 #	Driver depends on GLDv3 & wifi kernel support module.
     60  6629  zf162725 #
     61  6629  zf162725 LDFLAGS		+= -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
     62  6629  zf162725 
     63  6629  zf162725 #
     64  6629  zf162725 #	Default build targets.
     65  6629  zf162725 #
     66  6629  zf162725 .KEEP_STATE:
     67  6629  zf162725 
     68  6629  zf162725 def:		$(DEF_DEPS)
     69  6629  zf162725 
     70  6629  zf162725 all:		$(ALL_DEPS)
     71  6629  zf162725 
     72  6629  zf162725 clean:		$(CLEAN_DEPS)
     73  6629  zf162725 
     74  6629  zf162725 clobber:	$(CLOBBER_DEPS)
     75  6629  zf162725 
     76  6629  zf162725 lint:		$(LINT_DEPS)
     77  6629  zf162725 
     78  6629  zf162725 modlintlib:	$(MODLINTLIB_DEPS)
     79  6629  zf162725 
     80  6629  zf162725 clean.lint:	$(CLEAN_LINT_DEPS)
     81  6629  zf162725 
     82  6629  zf162725 install:	$(INSTALL_DEPS)
     83  6629  zf162725 
     84  6629  zf162725 #
     85  6629  zf162725 #	Include common targets.
     86  6629  zf162725 #
     87  6629  zf162725 include $(UTSBASE)/intel/Makefile.targ
     88  6629  zf162725 
     89  6629  zf162725 #
     90  6629  zf162725 #	If you have any special case that general
     91  6629  zf162725 #	Makefile rules don't serve for you, just do
     92  6629  zf162725 #	it yourself.
     93  6629  zf162725 #
     94