Makefile revision 551bc2a66868b5cb5be6b70ab9f55515e77a39a9
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
823c303d33c9e637a83d82208bcbafaf5f532d7bgstein# 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").
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# You may not use this file except in compliance with the License.
6f6f4a4bca281779d196acbdd5c017bb90858305trawick#
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# or http://www.opensolaris.org/os/licensing.
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# See the License for the specific language governing permissions
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# and limitations under the License.
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# When distributing Covered Code, include this CDDL HEADER in each
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4a81c8eb2a61b43a9dd0879a65feb834a6dde1d5stoddard# If applicable, add the following below this CDDL HEADER, with the
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# fields enclosed by brackets "[]" replaced with your own identifying
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein# information: Portions Copyright [yyyy] [name of copyright owner]
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein#
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein# CDDL HEADER END
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein#
225094adcf0dbac3a2f8973de864486ab087ce20rbb
225094adcf0dbac3a2f8973de864486ab087ce20rbb#
225094adcf0dbac3a2f8973de864486ab087ce20rbb# uts/i86pc/xnf/Makefile
225094adcf0dbac3a2f8973de864486ab087ce20rbb#
225094adcf0dbac3a2f8973de864486ab087ce20rbb# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# Use is subject to license terms.
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# ident "%Z%%M% %I% %E% SMI"
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# This makefile drives the production of the xve
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard# network driver kernel module.
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# i86pc architecture dependent
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj#
31a130dc6ed3face8b004f32ce84f8a1342d920emanoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# Path to the base of the uts directory tree (usually /usr/src/uts).
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard#
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardUTSBASE = ../..
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard# Define the module and object file sets.
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
10b386767f6c87b45937244371cb751f0b454d16wroweMODULE = xnf
10b386767f6c87b45937244371cb751f0b454d16wroweOBJECTS = $(XNF_OBJS:%=$(OBJS_DIR)/%)
863ec32e13d6c9619414c48b51109f3dca99cbc6wroweLINTS = $(XNF_OBJS:%.o=$(LINTS_DIR)/%.ln)
863ec32e13d6c9619414c48b51109f3dca99cbc6wroweROOTMODULE = $(ROOT_HVM_DRV_DIR)/$(MODULE)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardINC_PATH += -I$(UTSBASE)/common/xen
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# Include common rules.
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddardinclude $(UTSBASE)/i86pc/Makefile.i86pc
10b386767f6c87b45937244371cb751f0b454d16wroweinclude $(UTSBASE)/i86pc/Makefile.hvm
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wrowe# Define targets
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wroweALL_TARGET = $(BINARY)
10b386767f6c87b45937244371cb751f0b454d16wroweLINT_TARGET = $(MODULE).lint
10b386767f6c87b45937244371cb751f0b454d16wroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj
f6a6245816cd866361da8c576b1f47c7a54b6610fanf#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# Driver depends on MAC & IP
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick#
db3ccce11afac4fc1d4f51a65424412f7480c46cgsteinLDFLAGS += -dy -Nmisc/mac -Ndrv/ip -Ndrv/xpvd -Ndrv/xpv
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbbCPPFLAGS += -D_SOLARIS
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbbLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
2a6c49cfaef5979a5a06098f3ce987cd76769409manojLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
b187d568e1507d75139ebc13ca945b38fc05d55cstoddardLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard#
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard# Default build targets.
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard#
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard.KEEP_STATE:
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddarddef: $(DEF_DEPS)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
8bed76428f56e5c643174a2d6807c3f18016af5cbjhall: $(ALL_DEPS)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
8bed76428f56e5c643174a2d6807c3f18016af5cbjhclean: $(CLEAN_DEPS)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddardclobber: $(CLOBBER_DEPS)
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddard
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddardlint: $(LINT_DEPS)
2aae6faee508221efbeaba5547ca79b7a20ef047stoddard
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardmodlintlib: $(MODLINTLIB_DEPS)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweclean.lint: $(CLEAN_LINT_DEPS)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweinstall: $(INSTALL_DEPS)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wrowe# Include common targets.
10b386767f6c87b45937244371cb751f0b454d16wrowe#
75960f20f88dad6bc67892c711c429946063d133stoddardinclude $(UTSBASE)/i86pc/Makefile.targ
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard