898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# CDDL HEADER START
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# The contents of this file are subject to the terms of the
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Common Development and Distribution License (the "License").
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# You may not use this file except in compliance with the License.
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer#
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# or http://www.opensolaris.org/os/licensing.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# See the License for the specific language governing permissions
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# and limitations under the License.
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt#
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# When distributing Covered Code, include this CDDL HEADER in each
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4be4833ece2856e0cacc09f8f8b2c02b320751faMartin Pitt# If applicable, add the following below this CDDL HEADER, with the
c50a4525aa8151b180d5a325e88c5f3812e66c36Martin Pitt# fields enclosed by brackets "[]" replaced with your own identifying
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier# information: Portions Copyright [yyyy] [name of copyright owner]
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# CDDL HEADER END
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Use is subject to license terms.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierPROG= svc.ipfd
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierSRCS = ipfd.c
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierMANIFEST= ipfilter.xml
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierSVCMETHOD= ipfilter
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(SRC)/cmd/Makefile.cmd
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLDLIBS += -lscf -lumem
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierROOTMANIFESTDIR= $(ROOTSVCNETWORK)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierROOTCMDDIR= $(ROOT)/lib/svc/bin
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierall: $(PROG)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier$(PROG): $(SRCS)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier $(LINK.c) -o $@ $(LDLIBS) $(SRCS) $(CTFMERGE_HOOK)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier $(POST_PROCESS)
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierclean:
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier $(RM) $(PROG)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierlint: lint_SRCS
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinstall: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevaliercheck: $(CHKMANIFEST)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude $(SRC)/cmd/Makefile.targ
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt