xref: /illumos-gate/usr/src/uts/intel/dlpistub/Makefile (revision 0aaef2f550fa500248f59b0b8a14225b5afbd198)
1*e11c3f44Smeem#
2*e11c3f44Smeem# CDDL HEADER START
3*e11c3f44Smeem#
4*e11c3f44Smeem# The contents of this file are subject to the terms of the
5*e11c3f44Smeem# Common Development and Distribution License (the "License").
6*e11c3f44Smeem# You may not use this file except in compliance with the License.
7*e11c3f44Smeem#
8*e11c3f44Smeem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*e11c3f44Smeem# or http://www.opensolaris.org/os/licensing.
10*e11c3f44Smeem# See the License for the specific language governing permissions
11*e11c3f44Smeem# and limitations under the License.
12*e11c3f44Smeem#
13*e11c3f44Smeem# When distributing Covered Code, include this CDDL HEADER in each
14*e11c3f44Smeem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*e11c3f44Smeem# If applicable, add the following below this CDDL HEADER, with the
16*e11c3f44Smeem# fields enclosed by brackets "[]" replaced with your own identifying
17*e11c3f44Smeem# information: Portions Copyright [yyyy] [name of copyright owner]
18*e11c3f44Smeem#
19*e11c3f44Smeem# CDDL HEADER END
20*e11c3f44Smeem#
21*e11c3f44Smeem# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22*e11c3f44Smeem# Use is subject to license terms.
23*e11c3f44Smeem#
24*e11c3f44Smeem# This makefile drives the production of the dlpistub STREAMS module.
25*e11c3f44Smeem# intel architecture dependent
26*e11c3f44Smeem#
27*e11c3f44Smeem
28*e11c3f44Smeem#
29*e11c3f44Smeem#	Path to the base of the uts directory tree (usually /usr/src/uts).
30*e11c3f44Smeem#
31*e11c3f44SmeemUTSBASE	= ../..
32*e11c3f44Smeem
33*e11c3f44Smeem#
34*e11c3f44Smeem#	Define the module and object file sets.
35*e11c3f44Smeem#
36*e11c3f44SmeemMODULE		= dlpistub
37*e11c3f44SmeemOBJECTS		= $(DLPISTUB_OBJS:%=$(OBJS_DIR)/%)
38*e11c3f44SmeemROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
39*e11c3f44SmeemCONF_SRCDIR	= $(UTSBASE)/common/inet/dlpistub
40*e11c3f44Smeem
41*e11c3f44Smeem#
42*e11c3f44Smeem#	Include common rules.
43*e11c3f44Smeem#
44*e11c3f44Smeeminclude $(UTSBASE)/intel/Makefile.intel
45*e11c3f44Smeem
46*e11c3f44Smeem#
47*e11c3f44Smeem#	Define targets
48*e11c3f44Smeem#
49*e11c3f44SmeemALL_TARGET	= $(BINARY) $(SRC_CONFFILE)
50*e11c3f44SmeemINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
51*e11c3f44Smeem
52*e11c3f44Smeem#
53*e11c3f44Smeem#	Overrides.
54*e11c3f44Smeem#
55*e11c3f44SmeemCFLAGS		+= $(CCVERBOSE)
56*e11c3f44Smeem
57*e11c3f44Smeem#
58*e11c3f44Smeem#	Default build targets.
59*e11c3f44Smeem#
60*e11c3f44Smeem.KEEP_STATE:
61*e11c3f44Smeem
62*e11c3f44Smeemdef:		$(DEF_DEPS)
63*e11c3f44Smeem
64*e11c3f44Smeemall:		$(ALL_DEPS)
65*e11c3f44Smeem
66*e11c3f44Smeemclean:		$(CLEAN_DEPS)
67*e11c3f44Smeem
68*e11c3f44Smeemclobber:	$(CLOBBER_DEPS)
69*e11c3f44Smeem
70*e11c3f44Smeeminstall:	$(INSTALL_DEPS)
71*e11c3f44Smeem
72*e11c3f44Smeem#
73*e11c3f44Smeem#	Include common targets.
74*e11c3f44Smeem#
75*e11c3f44Smeeminclude $(UTSBASE)/intel/Makefile.targ
76