xref: /illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/Makefile (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
1eae2e508Skrishnae#
2eae2e508Skrishnae# CDDL HEADER START
3eae2e508Skrishnae#
4eae2e508Skrishnae# The contents of this file are subject to the terms of the
5eae2e508Skrishnae# Common Development and Distribution License (the "License").
6eae2e508Skrishnae# You may not use this file except in compliance with the License.
7eae2e508Skrishnae#
8eae2e508Skrishnae# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eae2e508Skrishnae# or http://www.opensolaris.org/os/licensing.
10eae2e508Skrishnae# See the License for the specific language governing permissions
11eae2e508Skrishnae# and limitations under the License.
12eae2e508Skrishnae#
13eae2e508Skrishnae# When distributing Covered Code, include this CDDL HEADER in each
14eae2e508Skrishnae# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15eae2e508Skrishnae# If applicable, add the following below this CDDL HEADER, with the
16eae2e508Skrishnae# fields enclosed by brackets "[]" replaced with your own identifying
17eae2e508Skrishnae# information: Portions Copyright [yyyy] [name of copyright owner]
18eae2e508Skrishnae#
19eae2e508Skrishnae# CDDL HEADER END
20eae2e508Skrishnae#
21eae2e508Skrishnae#
224df55fdeSJanie Lu# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23eae2e508Skrishnae# Use is subject to license terms.
24eae2e508Skrishnae#
255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
26eae2e508Skrishnae
27eae2e508SkrishnaeMODULE = fabric-xlate
28eae2e508SkrishnaeCLASS = common
294df55fdeSJanie LuSRCS = fabric-xlate.c fx_epkt.c fx_fabric.c fx_fire.c fx_subr.c
30eae2e508Skrishnae
31eae2e508Skrishnaeinclude ../../Makefile.plugin
32eae2e508Skrishnae
33494f7e12SKeith M WesolowskiCPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(KMFDIR)/include -I.
344df55fdeSJanie LuCPPFLAGS += -I$(SRC)/uts/sun4v/io/px
35eae2e508SkrishnaeINCDIRS = $(SRC)/uts/common
36eae2e508SkrishnaeCFLAGS += -I$(INCDIRS)
37eae2e508Skrishnae
38eae2e508SkrishnaeLDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
39eae2e508SkrishnaeLDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
40*5801b0f0SToomas SoomeNATIVE_LIBS += libxml2.so
417014882cSRichard Lowe
427014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
437014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
44d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT)
455661bb76SJohn Levon
465661bb76SJohn Levon# not linted
475661bb76SJohn LevonSMATCH=off
48