Makefile revision 0e42dee69ed771bf604dd1789fca9d77b5bbe302
6194N/A#
6194N/A# CDDL HEADER START
6194N/A#
6194N/A# The contents of this file are subject to the terms of the
6194N/A# Common Development and Distribution License (the "License").
6194N/A# You may not use this file except in compliance with the License.
6194N/A#
6194N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6194N/A# or http://www.opensolaris.org/os/licensing.
6194N/A# See the License for the specific language governing permissions
6194N/A# and limitations under the License.
6194N/A#
6194N/A# When distributing Covered Code, include this CDDL HEADER in each
6194N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6194N/A# If applicable, add the following below this CDDL HEADER, with the
6194N/A# fields enclosed by brackets "[]" replaced with your own identifying
6194N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6194N/A#
6194N/A# CDDL HEADER END
6194N/A#
6194N/A#
6194N/A#ident "%Z%%M% %I% %E% SMI"
6194N/A#
6194N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
6194N/A# Use is subject to license terms.
6194N/A#
6194N/A
6194N/AFSTYP_VERS=1
6194N/AFSTYPE= udfs
6194N/ALIBPROG= fstyp.so.${FSTYP_VERS}
6194N/A
6194N/Ainclude ../../../../lib/Makefile.lib
6194N/Ainclude ../../Makefile.fstype
6194N/A
6194N/ACFLAGS += $(C_PICFLAGS)
6194N/ADYNLIB= $(LIBPROG)
6194N/A
6194N/ALDLIBS += -lnvpair -ladm -lc
6194N/A
6194N/ALINTFLAGS += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
6194N/ALINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2
6194N/A
6194N/A#
6194N/A# Override PMAP dependency
6194N/A#
6194N/APMAP=
6194N/A
6194N/AOBJS= fstyp.o ud_lib.o
6194N/A
6194N/ASRCS= $(OBJS:%.o=%.c)
7291N/A
6194N/ACPPFLAGS += -DFSTYP_VERS=${FSTYP_VERS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
6194N/A
6194N/A$(LIBPROG): $(OBJS)
6194N/A $(LINK.c) $(CPPFLAGS) $(CFLAGS) $(DYNFLAGS) $(GSHARED) -o $@ $(OBJS) \
6194N/A $(LDLIBS)
6194N/A $(POST_PROCESS_SO)
6194N/A
6194N/A%.o: %.c
6194N/A $(COMPILE.c) -o $@ $<
6194N/A $(POST_PROCESS_O)
6194N/A
6194N/A.KEEP_STATE:
6194N/A
6194N/Aall: $(LIBPROG)
6194N/A
6194N/Ainstall: all
6194N/A $(RM) $(ROOTLIBFSTYPE)/fstyp
6194N/A $(LN) $(ROOTUSRSBIN)/fstyp $(ROOTLIBFSTYPE)/fstyp
6194N/A
6194N/Alint: lint_SRCS
6194N/A
6194N/Acstyle:
6194N/A $(CSTYLE) $(SRCS)
6194N/A
6194N/Aclean:
6194N/A $(RM) $(LIBPROG)
6194N/A
6194N/Aclobber: clean
6194N/A