xref: /titanic_52/usr/src/cmd/devfsadm/i386/Makefile (revision 6c9596d46e3a733328712fdad3ea5ee362795acc)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26
27MISC_LINK_ISA	= misc_link_i386
28LX_LINK_ISA	= lx_link_i386
29XEN_LINK	= xen_link
30
31LINK_SRCS_i386 = 			\
32	$(MISC_LINK_ISA).c		\
33	$(LX_LINK_ISA).c		\
34	$(XEN_LINK).c
35
36LINK_OBJS_i386 =			\
37	$(MISC_LINK_ISA).o		\
38	$(LX_LINK_ISA).o		\
39	$(XEN_LINK).o
40
41LINK_MODS_i386 =			\
42	SUNW_$(MISC_LINK_ISA).so	\
43	SUNW_$(LX_LINK_ISA).so		\
44	SUNW_$(XEN_LINK).so
45
46include ../Makefile.com
47
48$(LX_LINK_ISA).o $(LX_LINK_ISA).ln $(LX_LINK_ISA).po \
49	:= CPPFLAGS += -I$(UTSBASE)/common/brand/lx
50
51$(XEN_LINK).o $(XEN_LINK).ln $(XEN_LINK).po \
52	:= CPPFLAGS += -I$(UTSBASE)/i86xpv
53
54install: all
55