1dbed73cbSSangeeta Misra# 2dbed73cbSSangeeta Misra# CDDL HEADER START 3dbed73cbSSangeeta Misra# 4dbed73cbSSangeeta Misra# The contents of this file are subject to the terms of the 5dbed73cbSSangeeta Misra# Common Development and Distribution License (the "License"). 6dbed73cbSSangeeta Misra# You may not use this file except in compliance with the License. 7dbed73cbSSangeeta Misra# 8dbed73cbSSangeeta Misra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9dbed73cbSSangeeta Misra# or http://www.opensolaris.org/os/licensing. 10dbed73cbSSangeeta Misra# See the License for the specific language governing permissions 11dbed73cbSSangeeta Misra# and limitations under the License. 12dbed73cbSSangeeta Misra# 13dbed73cbSSangeeta Misra# When distributing Covered Code, include this CDDL HEADER in each 14dbed73cbSSangeeta Misra# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15dbed73cbSSangeeta Misra# If applicable, add the following below this CDDL HEADER, with the 16dbed73cbSSangeeta Misra# fields enclosed by brackets "[]" replaced with your own identifying 17dbed73cbSSangeeta Misra# information: Portions Copyright [yyyy] [name of copyright owner] 18dbed73cbSSangeeta Misra# 19dbed73cbSSangeeta Misra# CDDL HEADER END 20dbed73cbSSangeeta Misra# 21dbed73cbSSangeeta Misra# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22dbed73cbSSangeeta Misra# Use is subject to license terms. 23dbed73cbSSangeeta Misra# 24dbed73cbSSangeeta Misra 25dbed73cbSSangeeta MisraPROG = ilb_probe 26dbed73cbSSangeeta MisraOBJS = $(PROG:%=%.o) 27dbed73cbSSangeeta MisraSRCS = $(OBJS:%.o=%.c) 28dbed73cbSSangeeta Misra 29dbed73cbSSangeeta Misrainclude ../../../../Makefile.cmd 30dbed73cbSSangeeta Misra 31dbed73cbSSangeeta MisraLDLIBS += -lsocket -lnsl 32dbed73cbSSangeeta Misra 33dbed73cbSSangeeta Misra.KEEP_STATE: 34dbed73cbSSangeeta Misra 35dbed73cbSSangeeta Misraall: $(PROG) 36dbed73cbSSangeeta Misra 37dbed73cbSSangeeta Misrainclude ../../Makefile.lib 38dbed73cbSSangeeta Misra 39*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 40*7014882cSRichard Lowe 41dbed73cbSSangeeta MisraROOTLIBINETILB = $(ROOTLIBINET)/ilb 42dbed73cbSSangeeta MisraROOTLIBINETILBPROG = $(PROG:%=$(ROOTLIBINETILB)/%) 43dbed73cbSSangeeta Misra 44dbed73cbSSangeeta Misra$(ROOTLIBINETILB): $(ROOTLIBINET) 45dbed73cbSSangeeta Misra $(INS.dir) 46dbed73cbSSangeeta Misra 47dbed73cbSSangeeta Misra$(ROOTLIBINETILB)/%: % $(ROOTLIBINETILB) 48dbed73cbSSangeeta Misra $(INS.file) 49dbed73cbSSangeeta Misra 50dbed73cbSSangeeta Misrainstall: all $(ROOTLIBINETILBPROG) 51dbed73cbSSangeeta Misra 52dbed73cbSSangeeta Misraclean: 53dbed73cbSSangeeta Misra $(RM) $(OBJS) 54dbed73cbSSangeeta Misra 55dbed73cbSSangeeta Misralint: lint_SRCS 56dbed73cbSSangeeta Misra 57dbed73cbSSangeeta Misrainclude ../../../../Makefile.targ 58