7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# CDDL HEADER START
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# The contents of this file are subject to the terms of the
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Common Development and Distribution License (the "License").
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# You may not use this file except in compliance with the License.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# or http://www.opensolaris.org/os/licensing.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# See the License for the specific language governing permissions
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# and limitations under the License.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# When distributing Covered Code, include this CDDL HEADER in each
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# If applicable, add the following below this CDDL HEADER, with the
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# fields enclosed by brackets "[]" replaced with your own identifying
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# information: Portions Copyright [yyyy] [name of copyright owner]
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# CDDL HEADER END
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Use is subject to license terms.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLIBRARY= libreparse.a
7a286c471efbab8562f7655a82931904703fffe0Dai NgoVERS= .1
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLOCOBJS = fs_reparse_lib.o
7a286c471efbab8562f7655a82931904703fffe0Dai NgoCOMOBJS = fs_reparse.o
7a286c471efbab8562f7655a82931904703fffe0Dai NgoOBJECTS = $(LOCOBJS) $(COMOBJS)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoCOMDIR = $(SRC)/common/fsreparse
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngoinclude ../../Makefile.lib
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoSRCDIR = ../common
7a286c471efbab8562f7655a82931904703fffe0Dai NgoSRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(COMOBJS:%.o=$(COMDIR)/%.c)
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLIBS = $(DYNLIB) $(LINTLIB)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLDLIBS += -lc -lnvpair
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoCFLAGS += $(CCVERBOSE)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoCPPFLAGS += -I$(COMDIR) -D_FILE_OFFSET_BITS=64
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo.KEEP_STATE:
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngoall: $(LIBS)
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngolint: lintcheck
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngoinclude ../../Makefile.targ
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngopics/%.o: $(COMDIR)/%.c
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo $(COMPILE.c) -o $@ $<
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo $(POST_PROCESS_O)