xref: /onnv-gate/usr/src/lib/libsum/Makefile (revision 11082:2209146bde7a)
18462SApril.Chin@Sun.COM#
28462SApril.Chin@Sun.COM# CDDL HEADER START
38462SApril.Chin@Sun.COM#
48462SApril.Chin@Sun.COM# The contents of this file are subject to the terms of the
58462SApril.Chin@Sun.COM# Common Development and Distribution License (the "License").
68462SApril.Chin@Sun.COM# You may not use this file except in compliance with the License.
78462SApril.Chin@Sun.COM#
88462SApril.Chin@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98462SApril.Chin@Sun.COM# or http://www.opensolaris.org/os/licensing.
108462SApril.Chin@Sun.COM# See the License for the specific language governing permissions
118462SApril.Chin@Sun.COM# and limitations under the License.
128462SApril.Chin@Sun.COM#
138462SApril.Chin@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
148462SApril.Chin@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
158462SApril.Chin@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
168462SApril.Chin@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
178462SApril.Chin@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
188462SApril.Chin@Sun.COM#
198462SApril.Chin@Sun.COM# CDDL HEADER END
208462SApril.Chin@Sun.COM#
218462SApril.Chin@Sun.COM
228462SApril.Chin@Sun.COM#
23*11082Solga.kryzhanovska@gmail.com# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
248462SApril.Chin@Sun.COM# Use is subject to license terms.
258462SApril.Chin@Sun.COM#
268462SApril.Chin@Sun.COM
278462SApril.Chin@Sun.COMSHELL=/usr/bin/ksh93
288462SApril.Chin@Sun.COM
298462SApril.Chin@Sun.COMinclude		../Makefile.lib
308462SApril.Chin@Sun.COM
318462SApril.Chin@Sun.COMSUBDIRS =	$(MACH)
328462SApril.Chin@Sun.COM$(BUILD64)SUBDIRS += $(MACH64)
338462SApril.Chin@Sun.COM
348462SApril.Chin@Sun.COMall :=		TARGET= all
358462SApril.Chin@Sun.COMclean :=	TARGET= clean
368462SApril.Chin@Sun.COMclobber :=	TARGET= clobber
378462SApril.Chin@Sun.COMinstall :=	TARGET= install
388462SApril.Chin@Sun.COMlint :=		TARGET= lint
398462SApril.Chin@Sun.COM_msg := 	TARGET= _msg
408462SApril.Chin@Sun.COM
418462SApril.Chin@Sun.COM.KEEP_STATE:
428462SApril.Chin@Sun.COM
438462SApril.Chin@Sun.COMall clean clobber install lint _msg: $(SUBDIRS)
448462SApril.Chin@Sun.COM
458462SApril.Chin@Sun.COMLIBRARY= 	libsum.a
468462SApril.Chin@Sun.COM
478462SApril.Chin@Sun.COMHDRS= \
488462SApril.Chin@Sun.COM	sum.h
498462SApril.Chin@Sun.COM
508462SApril.Chin@Sun.COMHDRDIR32= $(MACH)/include/ast
518462SApril.Chin@Sun.COMHDRDIR64= $(MACH64)/include/ast
528462SApril.Chin@Sun.COMinclude ../Makefile.asthdr
538462SApril.Chin@Sun.COM
548462SApril.Chin@Sun.COMinstall_h: $(ROOTHDRS)
558462SApril.Chin@Sun.COM
568462SApril.Chin@Sun.COM# We don't check these header files because they're owned by AT&T/AST
578462SApril.Chin@Sun.COMcheck:
588462SApril.Chin@Sun.COM
59*11082Solga.kryzhanovska@gmail.com$(SUBDIRS): FRC
60*11082Solga.kryzhanovska@gmail.com	@cd $@; pwd; $(MAKE) $(TARGET)
618462SApril.Chin@Sun.COM
628462SApril.Chin@Sun.COMFRC:
638462SApril.Chin@Sun.COM
648462SApril.Chin@Sun.COMinclude ../Makefile.targ
65