17c478bd9Sstevel@tonic-gate# 2381a2a9aSdr146992# CDDL HEADER START 3381a2a9aSdr146992# 4381a2a9aSdr146992# The contents of this file are subject to the terms of the 5381a2a9aSdr146992# Common Development and Distribution License (the "License"). 6381a2a9aSdr146992# You may not use this file except in compliance with the License. 7381a2a9aSdr146992# 8381a2a9aSdr146992# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9381a2a9aSdr146992# or http://www.opensolaris.org/os/licensing. 10381a2a9aSdr146992# See the License for the specific language governing permissions 11381a2a9aSdr146992# and limitations under the License. 12381a2a9aSdr146992# 13381a2a9aSdr146992# When distributing Covered Code, include this CDDL HEADER in each 14381a2a9aSdr146992# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15381a2a9aSdr146992# If applicable, add the following below this CDDL HEADER, with the 16381a2a9aSdr146992# fields enclosed by brackets "[]" replaced with your own identifying 17381a2a9aSdr146992# information: Portions Copyright [yyyy] [name of copyright owner] 18381a2a9aSdr146992# 19381a2a9aSdr146992# CDDL HEADER END 20381a2a9aSdr146992# 21381a2a9aSdr146992# 22*eb1a3463STruong Nguyen# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 25*eb1a3463STruong Nguyen 26*eb1a3463STruong NguyenPROG= svc.ipfd 27*eb1a3463STruong NguyenSRCS = ipfd.c 287c478bd9Sstevel@tonic-gate 29381a2a9aSdr146992MANIFEST= ipfilter.xml 30381a2a9aSdr146992SVCMETHOD= ipfilter 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateinclude $(SRC)/cmd/Makefile.cmd 337c478bd9Sstevel@tonic-gate 34*eb1a3463STruong NguyenLDLIBS += -lscf -lumem 35*eb1a3463STruong Nguyen 367c478bd9Sstevel@tonic-gateROOTMANIFESTDIR= $(ROOTSVCNETWORK) 37*eb1a3463STruong NguyenROOTCMDDIR= $(ROOT)/lib/svc/bin 387c478bd9Sstevel@tonic-gate 39*eb1a3463STruong Nguyenall: $(PROG) 407c478bd9Sstevel@tonic-gate 41*eb1a3463STruong Nguyen$(PROG): $(SRCS) 42*eb1a3463STruong Nguyen $(LINK.c) -o $@ $(LDLIBS) $(SRCS) $(CTFMERGE_HOOK) 43*eb1a3463STruong Nguyen $(POST_PROCESS) 44*eb1a3463STruong Nguyen 45*eb1a3463STruong Nguyenclean: 46*eb1a3463STruong Nguyen $(RM) $(PROG) 47*eb1a3463STruong Nguyen 48*eb1a3463STruong Nguyeninstall: all $(ROOTCMD) $(ROOTMANIFEST) $(ROOTSVCMETHOD) 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gatecheck: $(CHKMANIFEST) 51a192e900Samaguire 52a192e900Samaguireinclude $(SRC)/cmd/Makefile.targ 53