17c478bdstevel@tonic-gate# 27c478bdstevel@tonic-gate# CDDL HEADER START 37c478bdstevel@tonic-gate# 47c478bdstevel@tonic-gate# The contents of this file are subject to the terms of the 50e42deeartem# Common Development and Distribution License (the "License"). 60e42deeartem# You may not use this file except in compliance with the License. 77c478bdstevel@tonic-gate# 87c478bdstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bdstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bdstevel@tonic-gate# See the License for the specific language governing permissions 117c478bdstevel@tonic-gate# and limitations under the License. 127c478bdstevel@tonic-gate# 137c478bdstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bdstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bdstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bdstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bdstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bdstevel@tonic-gate# 197c478bdstevel@tonic-gate# CDDL HEADER END 207c478bdstevel@tonic-gate# 217c478bdstevel@tonic-gate# 220e42deeartem# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 237c478bdstevel@tonic-gate# Use is subject to license terms. 247c478bdstevel@tonic-gate# 257c478bdstevel@tonic-gate 260e42deeartemFSTYP_VERS=1 277c478bdstevel@tonic-gateFSTYPE= udfs 280e42deeartemLIBPROG= fstyp.so.${FSTYP_VERS} 297c478bdstevel@tonic-gate 300e42deearteminclude ../../../../lib/Makefile.lib 310e42deearteminclude ../../Makefile.fstype 327c478bdstevel@tonic-gate 33f808c85raf# There should be a mapfile here 34f808c85rafMAPFILES = 35f808c85raf 360e42deeartemCFLAGS += $(C_PICFLAGS) 370e42deeartemDYNLIB= $(LIBPROG) 387c478bdstevel@tonic-gate 397014882Richard LoweCERRWARN += -_gcc=-Wno-unused-function 40d3b5f56John LevonCERRWARN += $(CNOWARN_UNINIT) 417014882Richard Lowe 420e42deeartemLDLIBS += -lnvpair -ladm -lc 437c478bdstevel@tonic-gate 440e42deeartemLINTFLAGS += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2 450e42deeartemLINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_NAME_DEF_NOT_USED2 460e42deeartem 470e42deeartem# 480e42deeartem# Override PMAP dependency 497c478bdstevel@tonic-gate# 500e42deeartemPMAP= 510e42deeartem 52b6805bfGordon Ross# No msg catalog here. 53b6805bfGordon RossPOFILE= 54b6805bfGordon Ross 550e42deeartemOBJS= fstyp.o ud_lib.o 560e42deeartem 570e42deeartemSRCS= $(OBJS:%.o=%.c) 580e42deeartem 590e42deeartemCPPFLAGS += -DFSTYP_VERS=${FSTYP_VERS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 600e42deeartem 610e42deeartem$(LIBPROG): $(OBJS) 620e42deeartem $(LINK.c) $(CPPFLAGS) $(CFLAGS) $(DYNFLAGS) $(GSHARED) -o $@ $(OBJS) \ 630e42deeartem $(LDLIBS) 640e42deeartem $(POST_PROCESS_SO) 650e42deeartem 660e42deeartem%.o: %.c 670e42deeartem $(COMPILE.c) -o $@ $< 680e42deeartem $(POST_PROCESS_O) 690e42deeartem 700e42deeartem.KEEP_STATE: 717c478bdstevel@tonic-gate 720e42deeartemall: $(LIBPROG) 737c478bdstevel@tonic-gate 740e42deearteminstall: all 750e42deeartem $(RM) $(ROOTLIBFSTYPE)/fstyp 760e42deeartem $(LN) $(ROOTUSRSBIN)/fstyp $(ROOTLIBFSTYPE)/fstyp 777c478bdstevel@tonic-gate 780e42deeartemlint: lint_SRCS 797c478bdstevel@tonic-gate 800e42deeartemcstyle: 810e42deeartem $(CSTYLE) $(SRCS) 827c478bdstevel@tonic-gate 830e42deeartemclean: 84b6805bfGordon Ross $(RM) $(OBJS) 85