11cb875aeSCathy Zhou# 21cb875aeSCathy Zhou# CDDL HEADER START 31cb875aeSCathy Zhou# 41cb875aeSCathy Zhou# The contents of this file are subject to the terms of the 51cb875aeSCathy Zhou# Common Development and Distribution License (the "License"). 61cb875aeSCathy Zhou# You may not use this file except in compliance with the License. 71cb875aeSCathy Zhou# 81cb875aeSCathy Zhou# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91cb875aeSCathy Zhou# or http://www.opensolaris.org/os/licensing. 101cb875aeSCathy Zhou# See the License for the specific language governing permissions 111cb875aeSCathy Zhou# and limitations under the License. 121cb875aeSCathy Zhou# 131cb875aeSCathy Zhou# When distributing Covered Code, include this CDDL HEADER in each 141cb875aeSCathy Zhou# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151cb875aeSCathy Zhou# If applicable, add the following below this CDDL HEADER, with the 161cb875aeSCathy Zhou# fields enclosed by brackets "[]" replaced with your own identifying 171cb875aeSCathy Zhou# information: Portions Copyright [yyyy] [name of copyright owner] 181cb875aeSCathy Zhou# 191cb875aeSCathy Zhou# CDDL HEADER END 201cb875aeSCathy Zhou# 211cb875aeSCathy Zhou# 22*c5e0ece0SCathy Zhou# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 231cb875aeSCathy Zhou# Use is subject to license terms. 241cb875aeSCathy Zhou# 251cb875aeSCathy Zhou 261cb875aeSCathy ZhouLIBRARY = libvrrpadm.a 271cb875aeSCathy ZhouVERS = .1 281cb875aeSCathy ZhouOBJECTS = libvrrpadm.o 291cb875aeSCathy Zhou 301cb875aeSCathy Zhouinclude ../../Makefile.lib 311cb875aeSCathy Zhou 321cb875aeSCathy Zhou# install this library in the root filesystem 331cb875aeSCathy Zhou#include ../../Makefile.rootfs 341cb875aeSCathy Zhou 351cb875aeSCathy ZhouLIBS = $(DYNLIB) $(LINTLIB) 36*c5e0ece0SCathy ZhouLDLIBS += -lc -lsocket -ldladm -lscf 371cb875aeSCathy Zhou 381cb875aeSCathy ZhouSRCDIR = ../common 391cb875aeSCathy Zhou$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 401cb875aeSCathy Zhou 411cb875aeSCathy ZhouCFLAGS += $(CCVERBOSE) 421cb875aeSCathy ZhouCPPFLAGS += -I$(SRCDIR) -D_REENTRANT 431cb875aeSCathy Zhou 441cb875aeSCathy ZhouC99MODE = $(C99_ENABLE) 451cb875aeSCathy Zhou 461cb875aeSCathy Zhou.KEEP_STATE: 471cb875aeSCathy Zhou 481cb875aeSCathy Zhouall: $(LIBS) 491cb875aeSCathy Zhou 501cb875aeSCathy Zhoulint: lintcheck 511cb875aeSCathy Zhou 521cb875aeSCathy Zhouinclude $(SRC)/lib/Makefile.targ 53