Makefile revision 0f1702c5201310f0529cd5abb77652e5e9b241b6
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# 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").
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# You may not use this file except in compliance with the License.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# or http://www.opensolaris.org/os/licensing.
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# See the License for the specific language governing permissions
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# and limitations under the License.
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# When distributing Covered Code, include this CDDL HEADER in each
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If applicable, add the following below this CDDL HEADER, with the
4a81c8eb2a61b43a9dd0879a65feb834a6dde1d5stoddard# fields enclosed by brackets "[]" replaced with your own identifying
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# CDDL HEADER END
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
a9de2fcc94b1c6eebb717fe14b80d066598cb8d3trawick#
a9de2fcc94b1c6eebb717fe14b80d066598cb8d3trawick# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick# Use is subject to license terms.
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# This makefile drives the production of the kernel socket module
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard#
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard# Path to the base of the uts directory tree (usually /usr/src/uts).
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardUTSBASE = ../..
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wrowe# Define the module and object file sets.
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe#
863ec32e13d6c9619414c48b51109f3dca99cbc6wroweMODULE = ksocket
75960f20f88dad6bc67892c711c429946063d133stoddardOBJECTS = $(KSOCKET_OBJS:%=$(OBJS_DIR)/%)
75960f20f88dad6bc67892c711c429946063d133stoddardLINTS = $(KSOCKET_OBJS:%.o=$(LINTS_DIR)/%.ln)
75960f20f88dad6bc67892c711c429946063d133stoddardROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# Include common rules.
75960f20f88dad6bc67892c711c429946063d133stoddard#
10b386767f6c87b45937244371cb751f0b454d16wroweinclude $(UTSBASE)/sparc/Makefile.sparc
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wrowe# Define targets
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wroweALL_TARGET = $(BINARY)
10b386767f6c87b45937244371cb751f0b454d16wroweLINT_TARGET = $(MODULE).lint
10b386767f6c87b45937244371cb751f0b454d16wroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj
f6a6245816cd866361da8c576b1f47c7a54b6610fanf#
f6a6245816cd866361da8c576b1f47c7a54b6610fanf# Overrides.
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick#
db3ccce11afac4fc1d4f51a65424412f7480c46cgsteinCFLAGS += $(CCVERBOSE)
63a6e35c961449778b328496ee9f476c160b930emanojLDFLAGS += -dy -Nfs/sockfs
63a6e35c961449778b328496ee9f476c160b930emanoj
63a6e35c961449778b328496ee9f476c160b930emanoj#
63a6e35c961449778b328496ee9f476c160b930emanoj# Default build targets.
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb#
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb.KEEP_STATE:
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickdef: $(DEF_DEPS)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickall: $(ALL_DEPS)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickclean: $(CLEAN_DEPS)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
2a6c49cfaef5979a5a06098f3ce987cd76769409manojclobber: $(CLOBBER_DEPS)
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard
b187d568e1507d75139ebc13ca945b38fc05d55cstoddardlint: $(LINT_DEPS)
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardmodlintlib: $(MODLINTLIB_DEPS)
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardclean.lint: $(CLEAN_LINT_DEPS)
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddard
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardinstall: $(INSTALL_DEPS)
8bed76428f56e5c643174a2d6807c3f18016af5cbjh
8bed76428f56e5c643174a2d6807c3f18016af5cbjh#
8bed76428f56e5c643174a2d6807c3f18016af5cbjh# Include common targets.
8bed76428f56e5c643174a2d6807c3f18016af5cbjh#
8bed76428f56e5c643174a2d6807c3f18016af5cbjhinclude $(UTSBASE)/intel/Makefile.targ
cfc020d6d6fc9b31d8945915e65a8787a796eb73stoddard