xref: /titanic_41/usr/src/cmd/fs.d/reparsed/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
17a286c47SDai Ngo#
27a286c47SDai Ngo# CDDL HEADER START
37a286c47SDai Ngo#
47a286c47SDai Ngo# The contents of this file are subject to the terms of the
57a286c47SDai Ngo# Common Development and Distribution License (the "License").
67a286c47SDai Ngo# You may not use this file except in compliance with the License.
77a286c47SDai Ngo#
87a286c47SDai Ngo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97a286c47SDai Ngo# or http://www.opensolaris.org/os/licensing.
107a286c47SDai Ngo# See the License for the specific language governing permissions
117a286c47SDai Ngo# and limitations under the License.
127a286c47SDai Ngo#
137a286c47SDai Ngo# When distributing Covered Code, include this CDDL HEADER in each
147a286c47SDai Ngo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157a286c47SDai Ngo# If applicable, add the following below this CDDL HEADER, with the
167a286c47SDai Ngo# fields enclosed by brackets "[]" replaced with your own identifying
177a286c47SDai Ngo# information: Portions Copyright [yyyy] [name of copyright owner]
187a286c47SDai Ngo#
197a286c47SDai Ngo# CDDL HEADER END
207a286c47SDai Ngo#
217a286c47SDai Ngo#
227a286c47SDai Ngo# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237a286c47SDai Ngo# Use is subject to license terms.
247a286c47SDai Ngo#
257a286c47SDai Ngo#
267a286c47SDai Ngoinclude		$(SRC)/Makefile.master
277a286c47SDai Ngo
287a286c47SDai NgoFSTYPE=		reparse
297a286c47SDai NgoTYPEPROG=	reparsed
307a286c47SDai Ngo
317a286c47SDai Ngoinclude		../Makefile.fstype
327a286c47SDai Ngo
337a286c47SDai NgoOBJS=		$(TYPEPROG).o
347a286c47SDai NgoSRCS=		$(TYPEPROG).c
357a286c47SDai NgoPOFILE=		$(TYPEPROG).po
367a286c47SDai Ngo
377a286c47SDai NgoCLOBBERFILES += $(TYPEPROG)
387a286c47SDai Ngo
397a286c47SDai NgoCFLAGS +=	$(CCVERBOSE)
40*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-unused-variable
417a286c47SDai NgoC99MODE=	$(C99_ENABLE)
427a286c47SDai Ngo
437a286c47SDai NgoLDLIBS +=	-lreparse -lnsl
447a286c47SDai Ngo
457a286c47SDai NgoCPPFLAGS +=	-I$(SRC)/uts/common
467a286c47SDai Ngo
477a286c47SDai Ngoall:		$(TYPEPROG)
487a286c47SDai Ngo
497a286c47SDai Ngocatalog:	$(POFILE)
507a286c47SDai Ngo
517a286c47SDai Ngolint:		lint_SRCS
527a286c47SDai Ngo
537a286c47SDai Ngoclean:
547a286c47SDai Ngo		$(RM) $(OBJS) $(POFILE)
557a286c47SDai Ngo
567a286c47SDai NgoMANIFEST=	reparsed.xml
577a286c47SDai NgoROOTMANIFESTDIR=	$(ROOTSVCNETWORKSHARES)
587a286c47SDai Ngo$(ROOTMANIFEST) := FILEMODE = 0444
597a286c47SDai Ngoinstall:	$(ROOTMANIFEST)
607a286c47SDai Ngo
617a286c47SDai Ngo.KEEP_STATE:
62