xref: /illumos-gate/usr/src/cmd/ipf/Makefile.ipf (revision f3ac6781)
17c478bd9Sstevel@tonic-gate#
233f2fefdSDarren Reed# CDDL HEADER START
333f2fefdSDarren Reed#
433f2fefdSDarren Reed# The contents of this file are subject to the terms of the
533f2fefdSDarren Reed# Common Development and Distribution License (the "License").
633f2fefdSDarren Reed# You may not use this file except in compliance with the License.
733f2fefdSDarren Reed#
833f2fefdSDarren Reed# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
933f2fefdSDarren Reed# or http://www.opensolaris.org/os/licensing.
1033f2fefdSDarren Reed# See the License for the specific language governing permissions
1133f2fefdSDarren Reed# and limitations under the License.
1233f2fefdSDarren Reed#
1333f2fefdSDarren Reed# When distributing Covered Code, include this CDDL HEADER in each
1433f2fefdSDarren Reed# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1533f2fefdSDarren Reed# If applicable, add the following below this CDDL HEADER, with the
1633f2fefdSDarren Reed# fields enclosed by brackets "[]" replaced with your own identifying
1733f2fefdSDarren Reed# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
1933f2fefdSDarren Reed# CDDL HEADER END
2033f2fefdSDarren Reed#
2133f2fefdSDarren Reed#
2233f2fefdSDarren Reed# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2333f2fefdSDarren Reed# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
255661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate
28*f3ac6781SToomas SoomeLIBIPF=		../lib/libipf.a
297c478bd9Sstevel@tonic-gate
30ab25eeb5SyzCOMMONIPF=	$(SRC)/uts/common/inet/ipf
31ab25eeb5SyzKERNELIPF=	$(SRC)/uts/common/inet/pfil
327c478bd9Sstevel@tonic-gate
337663b816SmlCPPFLAGS	+= -I$(COMMONIPF) -I$(KERNELIPF) -DSUNDDI -DUSE_INET6 \
342032ea7bSmeem		   -DSOLARIS2=$(RELEASE_MINOR)
357014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-variable
367014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-type-limits
37d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
387014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-label
397014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
407014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-unused-function
417014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-empty-body
425661bb76SJohn Levon
435661bb76SJohn Levon# not linted
445661bb76SJohn LevonSMATCH=off
455661bb76SJohn Levon
46