Makefile revision 1cb875ae88fb9463b368e725c2444776595895cb
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# CDDL HEADER START
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# The contents of this file are subject to the terms of the
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# Common Development and Distribution License (the "License").
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# You may not use this file except in compliance with the License.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# or http://www.opensolaris.org/os/licensing.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# See the License for the specific language governing permissions
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# and limitations under the License.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# When distributing Covered Code, include this CDDL HEADER in each
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# If applicable, add the following below this CDDL HEADER, with the
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# fields enclosed by brackets "[]" replaced with your own identifying
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# information: Portions Copyright [yyyy] [name of copyright owner]
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# CDDL HEADER END
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# Use is subject to license terms.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou#
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouinclude $(SRC)/lib/Makefile.lib
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouHDRS = netinet/vrrp.h libvrrpadm.h
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouHDRDIR = common
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouSUBDIRS = $(MACH)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou$(BUILD64)SUBDIRS += $(MACH64)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouPOFILE = libvrrpadm.po
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouMSGFILES = common/libvrrpadm.c
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouXGETFLAGS = -a -x libvrrpadm.xcl
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouall := TARGET = all
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouclean := TARGET = clean
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouclobber := TARGET = clobber
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouinstall := TARGET = install
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhoulint := TARGET = lint
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou.KEEP_STATE:
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouall clean clobber install lint: $(SUBDIRS)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouinstall_h: $(ROOTHDRS)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou$(POFILE): pofile_MSGFILES
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou_msg: $(MSGDOMAINPOFILE)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhoucheck: $(CHECKHDRS)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou$(SUBDIRS): FRC
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou @cd $@; pwd; $(MAKE) $(TARGET)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouFRC:
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouinclude $(SRC)/Makefile.msg.targ
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhouinclude $(SRC)/lib/Makefile.targ