1*1cb875aeSCathy Zhou# 2*1cb875aeSCathy Zhou# CDDL HEADER START 3*1cb875aeSCathy Zhou# 4*1cb875aeSCathy Zhou# The contents of this file are subject to the terms of the 5*1cb875aeSCathy Zhou# Common Development and Distribution License (the "License"). 6*1cb875aeSCathy Zhou# You may not use this file except in compliance with the License. 7*1cb875aeSCathy Zhou# 8*1cb875aeSCathy Zhou# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*1cb875aeSCathy Zhou# or http://www.opensolaris.org/os/licensing. 10*1cb875aeSCathy Zhou# See the License for the specific language governing permissions 11*1cb875aeSCathy Zhou# and limitations under the License. 12*1cb875aeSCathy Zhou# 13*1cb875aeSCathy Zhou# When distributing Covered Code, include this CDDL HEADER in each 14*1cb875aeSCathy Zhou# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*1cb875aeSCathy Zhou# If applicable, add the following below this CDDL HEADER, with the 16*1cb875aeSCathy Zhou# fields enclosed by brackets "[]" replaced with your own identifying 17*1cb875aeSCathy Zhou# information: Portions Copyright [yyyy] [name of copyright owner] 18*1cb875aeSCathy Zhou# 19*1cb875aeSCathy Zhou# CDDL HEADER END 20*1cb875aeSCathy Zhou# 21*1cb875aeSCathy Zhou# 22*1cb875aeSCathy Zhou# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*1cb875aeSCathy Zhou# Use is subject to license terms. 24*1cb875aeSCathy Zhou# 25*1cb875aeSCathy Zhou 26*1cb875aeSCathy Zhouinclude $(SRC)/lib/Makefile.lib 27*1cb875aeSCathy Zhou 28*1cb875aeSCathy ZhouHDRS = netinet/vrrp.h libvrrpadm.h 29*1cb875aeSCathy ZhouHDRDIR = common 30*1cb875aeSCathy Zhou 31*1cb875aeSCathy ZhouSUBDIRS = $(MACH) 32*1cb875aeSCathy Zhou$(BUILD64)SUBDIRS += $(MACH64) 33*1cb875aeSCathy Zhou 34*1cb875aeSCathy ZhouPOFILE = libvrrpadm.po 35*1cb875aeSCathy ZhouMSGFILES = common/libvrrpadm.c 36*1cb875aeSCathy Zhou 37*1cb875aeSCathy ZhouXGETFLAGS = -a -x libvrrpadm.xcl 38*1cb875aeSCathy Zhou 39*1cb875aeSCathy Zhouall := TARGET = all 40*1cb875aeSCathy Zhouclean := TARGET = clean 41*1cb875aeSCathy Zhouclobber := TARGET = clobber 42*1cb875aeSCathy Zhouinstall := TARGET = install 43*1cb875aeSCathy Zhoulint := TARGET = lint 44*1cb875aeSCathy Zhou 45*1cb875aeSCathy Zhou.KEEP_STATE: 46*1cb875aeSCathy Zhou 47*1cb875aeSCathy Zhouall clean clobber install lint: $(SUBDIRS) 48*1cb875aeSCathy Zhou 49*1cb875aeSCathy Zhouinstall_h: $(ROOTHDRS) 50*1cb875aeSCathy Zhou 51*1cb875aeSCathy Zhou$(POFILE): pofile_MSGFILES 52*1cb875aeSCathy Zhou 53*1cb875aeSCathy Zhou_msg: $(MSGDOMAINPOFILE) 54*1cb875aeSCathy Zhou 55*1cb875aeSCathy Zhoucheck: $(CHECKHDRS) 56*1cb875aeSCathy Zhou 57*1cb875aeSCathy Zhou$(SUBDIRS): FRC 58*1cb875aeSCathy Zhou @cd $@; pwd; $(MAKE) $(TARGET) 59*1cb875aeSCathy Zhou 60*1cb875aeSCathy ZhouFRC: 61*1cb875aeSCathy Zhou 62*1cb875aeSCathy Zhouinclude $(SRC)/Makefile.msg.targ 63*1cb875aeSCathy Zhouinclude $(SRC)/lib/Makefile.targ 64