xref: /illumos-gate/usr/src/lib/libvrrpadm/Makefile (revision 241c90a0)
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#
221cb875aeSCathy Zhou# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
231cb875aeSCathy Zhou# Use is subject to license terms.
241cb875aeSCathy Zhou#
251cb875aeSCathy Zhou
261cb875aeSCathy Zhouinclude $(SRC)/lib/Makefile.lib
271cb875aeSCathy Zhou
281cb875aeSCathy ZhouHDRS =		netinet/vrrp.h libvrrpadm.h
291cb875aeSCathy ZhouHDRDIR =	common
301cb875aeSCathy Zhou
311cb875aeSCathy ZhouSUBDIRS =	$(MACH)
321cb875aeSCathy Zhou$(BUILD64)SUBDIRS += $(MACH64)
331cb875aeSCathy Zhou
341cb875aeSCathy ZhouPOFILE =	libvrrpadm.po
351cb875aeSCathy ZhouMSGFILES =      common/libvrrpadm.c
361cb875aeSCathy Zhou
371cb875aeSCathy ZhouXGETFLAGS =	-a -x libvrrpadm.xcl
381cb875aeSCathy Zhou
391cb875aeSCathy Zhouall :=		TARGET = all
401cb875aeSCathy Zhouclean :=	TARGET = clean
411cb875aeSCathy Zhouclobber :=	TARGET = clobber
421cb875aeSCathy Zhouinstall :=	TARGET = install
431cb875aeSCathy Zhou
441cb875aeSCathy Zhou.KEEP_STATE:
451cb875aeSCathy Zhou
46*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
471cb875aeSCathy Zhou
481cb875aeSCathy Zhouinstall_h:	$(ROOTHDRS)
491cb875aeSCathy Zhou
501cb875aeSCathy Zhou$(POFILE):	pofile_MSGFILES
511cb875aeSCathy Zhou
521cb875aeSCathy Zhou_msg:		$(MSGDOMAINPOFILE)
531cb875aeSCathy Zhou
541cb875aeSCathy Zhoucheck:		$(CHECKHDRS)
551cb875aeSCathy Zhou
561cb875aeSCathy Zhou$(SUBDIRS): FRC
571cb875aeSCathy Zhou	@cd $@; pwd; $(MAKE) $(TARGET)
581cb875aeSCathy Zhou
591cb875aeSCathy ZhouFRC:
601cb875aeSCathy Zhou
611cb875aeSCathy Zhouinclude $(SRC)/Makefile.msg.targ
621cb875aeSCathy Zhouinclude $(SRC)/lib/Makefile.targ
63