1f41150baSkrishnae# 2f41150baSkrishnae# CDDL HEADER START 3f41150baSkrishnae# 4f41150baSkrishnae# The contents of this file are subject to the terms of the 5f41150baSkrishnae# Common Development and Distribution License (the "License"). 6f41150baSkrishnae# You may not use this file except in compliance with the License. 7f41150baSkrishnae# 8f41150baSkrishnae# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f41150baSkrishnae# or http://www.opensolaris.org/os/licensing. 10f41150baSkrishnae# See the License for the specific language governing permissions 11f41150baSkrishnae# and limitations under the License. 12f41150baSkrishnae# 13f41150baSkrishnae# When distributing Covered Code, include this CDDL HEADER in each 14f41150baSkrishnae# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f41150baSkrishnae# If applicable, add the following below this CDDL HEADER, with the 16f41150baSkrishnae# fields enclosed by brackets "[]" replaced with your own identifying 17f41150baSkrishnae# information: Portions Copyright [yyyy] [name of copyright owner] 18f41150baSkrishnae# 19f41150baSkrishnae# CDDL HEADER END 20f41150baSkrishnae# 21f41150baSkrishnae# 224df55fdeSJanie Lu# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23f41150baSkrishnae# Use is subject to license terms. 24f41150baSkrishnae# 255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 26f41150baSkrishnae 27f41150baSkrishnaeMODULE = fabric-xlate 28f41150baSkrishnaeCLASS = common 294df55fdeSJanie LuSRCS = fabric-xlate.c fx_epkt.c fx_fabric.c fx_fire.c fx_subr.c 30f41150baSkrishnae 31f41150baSkrishnaeinclude ../../Makefile.plugin 32f41150baSkrishnae 33494f7e12SKeith M WesolowskiCPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(KMFDIR)/include -I. 344df55fdeSJanie LuCPPFLAGS += -I$(SRC)/uts/sun4v/io/px 35f41150baSkrishnaeINCDIRS = $(SRC)/uts/common 36f41150baSkrishnaeCFLAGS += -I$(INCDIRS) 37f41150baSkrishnae 38f41150baSkrishnaeLDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm 39f41150baSkrishnaeLDLIBS += -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