1*a5f69788Scraigm# 2*a5f69788Scraigm# CDDL HEADER START 3*a5f69788Scraigm# 4*a5f69788Scraigm# The contents of this file are subject to the terms of the 5*a5f69788Scraigm# Common Development and Distribution License (the "License"). 6*a5f69788Scraigm# You may not use this file except in compliance with the License. 7*a5f69788Scraigm# 8*a5f69788Scraigm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*a5f69788Scraigm# or http://www.opensolaris.org/os/licensing. 10*a5f69788Scraigm# See the License for the specific language governing permissions 11*a5f69788Scraigm# and limitations under the License. 12*a5f69788Scraigm# 13*a5f69788Scraigm# When distributing Covered Code, include this CDDL HEADER in each 14*a5f69788Scraigm# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*a5f69788Scraigm# If applicable, add the following below this CDDL HEADER, with the 16*a5f69788Scraigm# fields enclosed by brackets "[]" replaced with your own identifying 17*a5f69788Scraigm# information: Portions Copyright [yyyy] [name of copyright owner] 18*a5f69788Scraigm# 19*a5f69788Scraigm# CDDL HEADER END 20*a5f69788Scraigm# 21*a5f69788Scraigm# 22*a5f69788Scraigm# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*a5f69788Scraigm# Use is subject to license terms. 24*a5f69788Scraigm# 25*a5f69788Scraigm# ident "%Z%%M% %I% %E% SMI" 26*a5f69788Scraigm# 27*a5f69788Scraigm# lib/extendedFILE/Makefile.com 28*a5f69788Scraigm 29*a5f69788ScraigmLIBRARY = extendedFILE.a 30*a5f69788ScraigmVERS = .1 31*a5f69788Scraigm 32*a5f69788ScraigmOBJECTS = extendedFILE.o 33*a5f69788Scraigm 34*a5f69788Scraigm# include library definitions 35*a5f69788Scraigminclude ../../Makefile.lib 36*a5f69788Scraigm 37*a5f69788ScraigmMAPFILE = $(MAPDIR)/mapfile 38*a5f69788ScraigmCLOBBERFILES += $(MAPFILE) 39*a5f69788Scraigm 40*a5f69788ScraigmSRCS = $(OBJECTS:%.o=../common/%.c) 41*a5f69788Scraigm 42*a5f69788ScraigmLIBS = $(DYNLIB) 43*a5f69788ScraigmLDLIBS += -lc 44*a5f69788ScraigmCFLAGS += $(CCVERBOSE) 45*a5f69788ScraigmCPPFLAGS += -D_REENTRANT -I../common 46*a5f69788ScraigmDYNFLAGS += -M$(MAPFILE) $(ZINTERPOSE) 47*a5f69788Scraigm 48*a5f69788ScraigmCPPFLAGS += -I../../common/inc 49*a5f69788Scraigm 50*a5f69788Scraigm.KEEP_STATE: 51*a5f69788Scraigm 52*a5f69788Scraigmall: $(LIBS) 53*a5f69788Scraigm 54*a5f69788Scraigmlint: 55*a5f69788Scraigm $(LINT.c) $(SRCS) $(LDLIBS) 56*a5f69788Scraigm 57*a5f69788Scraigm$(DYNLIB): $(MAPFILE) 58*a5f69788Scraigm 59*a5f69788Scraigm$(MAPFILE): 60*a5f69788Scraigm @cd $(MAPDIR); $(MAKE) mapfile 61*a5f69788Scraigm 62*a5f69788Scraigm# include library targets 63*a5f69788Scraigminclude ../../Makefile.targ 64*a5f69788Scraigm 65*a5f69788Scraigmpics/%.o: ../common/%.c 66*a5f69788Scraigm $(COMPILE.c) -o $@ $< 67*a5f69788Scraigm $(POST_PROCESS_O) 68