xref: /onnv-gate/usr/src/lib/extendedFILE/Makefile.com (revision 2522:79989c8fe091)
11846Scraigm#
21846Scraigm# CDDL HEADER START
31846Scraigm#
41846Scraigm# The contents of this file are subject to the terms of the
51846Scraigm# Common Development and Distribution License (the "License").
61846Scraigm# You may not use this file except in compliance with the License.
71846Scraigm#
81846Scraigm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91846Scraigm# or http://www.opensolaris.org/os/licensing.
101846Scraigm# See the License for the specific language governing permissions
111846Scraigm# and limitations under the License.
121846Scraigm#
131846Scraigm# When distributing Covered Code, include this CDDL HEADER in each
141846Scraigm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151846Scraigm# If applicable, add the following below this CDDL HEADER, with the
161846Scraigm# fields enclosed by brackets "[]" replaced with your own identifying
171846Scraigm# information: Portions Copyright [yyyy] [name of copyright owner]
181846Scraigm#
191846Scraigm# CDDL HEADER END
201846Scraigm#
211846Scraigm#
221846Scraigm# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
231846Scraigm# Use is subject to license terms.
241846Scraigm#
251846Scraigm# ident	"%Z%%M%	%I%	%E% SMI"
261846Scraigm#
271846Scraigm
281846ScraigmLIBRARY = extendedFILE.a
291846ScraigmVERS = .1
301846Scraigm
311846ScraigmOBJECTS = extendedFILE.o
321846Scraigm
331846Scraigm# include library definitions
341846Scraigminclude ../../Makefile.lib
351846Scraigm
36*2522SrafSRCDIR =	../common
371846Scraigm
381846ScraigmLIBS = $(DYNLIB)
391846ScraigmLDLIBS += -lc
401846ScraigmCFLAGS += $(CCVERBOSE)
41*2522SrafCPPFLAGS += -D_REENTRANT -I../common -I../../common/inc
421846Scraigm
43*2522SrafDYNFLAGS +=	$(ZINTERPOSE)
441846Scraigm
451846Scraigm.KEEP_STATE:
461846Scraigm
471846Scraigmall: $(LIBS)
481846Scraigm
491846Scraigmlint:
501846Scraigm	$(LINT.c) $(SRCS) $(LDLIBS)
511846Scraigm
521860Scraigm$(DYNLIB):
531846Scraigm
541846Scraigm# include library targets
551846Scraigminclude ../../Makefile.targ
561846Scraigm
571846Scraigmpics/%.o: ../common/%.c
581846Scraigm	$(COMPILE.c) -o $@ $<
591846Scraigm	$(POST_PROCESS_O)
60