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