Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License, Version 1.0 only
486N/A# (the "License"). You may not use this file except in compliance
486N/A# with the License.
486N/A#
486N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
486N/A# or http://www.opensolaris.org/os/licensing.
486N/A# See the License for the specific language governing permissions
486N/A# and limitations under the License.
486N/A#
486N/A# When distributing Covered Code, include this CDDL HEADER in each
486N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
486N/A# If applicable, add the following below this CDDL HEADER, with the
486N/A# fields enclosed by brackets "[]" replaced with your own identifying
486N/A# information: Portions Copyright [yyyy] [name of copyright owner]
486N/A#
486N/A# CDDL HEADER END
486N/A#
486N/A#
486N/A#pragma ident "%Z%%M% %I% %E% SMI"
486N/A#
486N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
486N/A# Use is subject to license terms.
486N/A#
486N/A
486N/AFSTYPE= udfs
486N/ALIBPROG= fstyp
486N/AATTMK= $(LIBPROG)
486N/A
486N/Ainclude ../../Makefile.fstype
486N/A
486N/ACFLAGS += $(CCVERBOSE)
493N/ACPPFLAGS += -D_LARGEFILE64_SOURCE
486N/ALDLIBS += -ladm
486N/A
493N/ASRCS= fstyp.c ud_lib.c
486N/A
911N/A# for messaging catalog
911N/A#
911N/APOFILE= fstyp.po
911N/A
486N/Acatalog: $(POFILE)
486N/A
486N/A$(POFILE): $(SRCS)
486N/A $(RM) $@
486N/A $(COMPILE.cpp) $(SRCS) > $(POFILE).i
493N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
493N/A sed "/^domain/d" messages.po > $@
486N/A $(RM) $(POFILE).i messages.po
486N/A
fstyp: fstyp.o ud_lib.o
$(LINK.c) -o $@ fstyp.o ud_lib.o $(LDLIBS)
$(POST_PROCESS)
clean :
rm -f fstyp.o ud_lib.o
lint:
$(LINT.c) -mu $(SRCS)
putback :
-cstyle -p fstyp.c
-cstyle -p ud_lib.c
-keywords fstyp.c
-keywords ud_lib.c
-keywords Makefile