xref: /illumos-gate/usr/src/lib/libreparse/Makefile (revision 7a286c471efbab8562f7655a82931904703fffe0)
1*7a286c47SDai Ngo#
2*7a286c47SDai Ngo# CDDL HEADER START
3*7a286c47SDai Ngo#
4*7a286c47SDai Ngo# The contents of this file are subject to the terms of the
5*7a286c47SDai Ngo# Common Development and Distribution License (the "License").
6*7a286c47SDai Ngo# You may not use this file except in compliance with the License.
7*7a286c47SDai Ngo#
8*7a286c47SDai Ngo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7a286c47SDai Ngo# or http://www.opensolaris.org/os/licensing.
10*7a286c47SDai Ngo# See the License for the specific language governing permissions
11*7a286c47SDai Ngo# and limitations under the License.
12*7a286c47SDai Ngo#
13*7a286c47SDai Ngo# When distributing Covered Code, include this CDDL HEADER in each
14*7a286c47SDai Ngo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7a286c47SDai Ngo# If applicable, add the following below this CDDL HEADER, with the
16*7a286c47SDai Ngo# fields enclosed by brackets "[]" replaced with your own identifying
17*7a286c47SDai Ngo# information: Portions Copyright [yyyy] [name of copyright owner]
18*7a286c47SDai Ngo#
19*7a286c47SDai Ngo# CDDL HEADER END
20*7a286c47SDai Ngo#
21*7a286c47SDai Ngo#
22*7a286c47SDai Ngo# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*7a286c47SDai Ngo# Use is subject to license terms.
24*7a286c47SDai Ngo#
25*7a286c47SDai Ngo
26*7a286c47SDai Ngoinclude ../Makefile.lib
27*7a286c47SDai Ngo
28*7a286c47SDai NgoHDRS=		rp_plugin.h
29*7a286c47SDai NgoHDRDIR=		common
30*7a286c47SDai Ngo
31*7a286c47SDai NgoSUBDIRS=		$(MACH)
32*7a286c47SDai Ngo$(BUILD64)SUBDIRS +=	$(MACH64)
33*7a286c47SDai NgoPOFILE=		libreparse.po
34*7a286c47SDai NgoMSGFILES=	common/fs_reparse_lib.c
35*7a286c47SDai Ngo
36*7a286c47SDai Ngoall :=		TARGET = all
37*7a286c47SDai Ngoclean :=	TARGET = clean
38*7a286c47SDai Ngoclobber :=	TARGET = clobber
39*7a286c47SDai Ngoinstall :=	TARGET = install
40*7a286c47SDai Ngolint :=		TARGET = lint
41*7a286c47SDai Ngo
42*7a286c47SDai Ngo.KEEP_STATE:
43*7a286c47SDai Ngo
44*7a286c47SDai Ngoall clean clobber install lint: $(SUBDIRS)
45*7a286c47SDai Ngo
46*7a286c47SDai Ngoinstall_h:	$(ROOTHDRS)
47*7a286c47SDai Ngo
48*7a286c47SDai Ngocheck:		$(CHECKHDRS)
49*7a286c47SDai Ngo
50*7a286c47SDai Ngo$(POFILE):	pofile_MSGFILES
51*7a286c47SDai Ngo
52*7a286c47SDai Ngo_msg:		$(MSGDOMAINPOFILE)
53*7a286c47SDai Ngo
54*7a286c47SDai Ngo$(SUBDIRS): FRC
55*7a286c47SDai Ngo	@cd $@; pwd; $(MAKE) $(TARGET)
56*7a286c47SDai Ngo
57*7a286c47SDai NgoFRC:
58*7a286c47SDai Ngo
59*7a286c47SDai Ngoinclude $(SRC)/lib/Makefile.targ
60*7a286c47SDai Ngoinclude $(SRC)/Makefile.msg.targ
61