fm: remove sparc topo maps
[unleashed.git] / usr / src / lib / fm / topo / modules / sun4 / hostbridge / Makefile.hb
blobe286290f5483d9b517c3fbfd4fd1e10e94c5d08e
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
26 MODULE = hostbridge
27 CLASS = arch
28 SUN4DIR = ../../sun4/$(MODULE)
29 UTILDIR = ../../common/pcibus
30 HBDIR = ../../common/hostbridge
31 HBSRCS = hostbridge.c hb_sun4.c did.c did_hash.c did_props.c util.c
32 MODULESRCS = $(HBSRCS) $($(ARCH)_SRCS)
34 include ../../Makefile.plugin
36 LDLIBS += -ldevinfo -lsmbios
37 CPPFLAGS += -I$(SUN4DIR) -I$(UTILDIR) -I$(HBDIR)
39 %.o: $(SUN4DIR)/%.c
40         $(COMPILE.c) -o $@ $<
41         $(CTFCONVERT_O)
43 %.o: $(UTILDIR)/%.c
44         $(COMPILE.c) -o $@ $<
45         $(CTFCONVERT_O)