xref: /titanic_44/usr/src/lib/libsum/Makefile (revision 3d10f6d1f4b3a823e77eca62a717bbbcf6c04a05)
17c2fbfb3SApril Chin#
27c2fbfb3SApril Chin# CDDL HEADER START
37c2fbfb3SApril Chin#
47c2fbfb3SApril Chin# The contents of this file are subject to the terms of the
57c2fbfb3SApril Chin# Common Development and Distribution License (the "License").
67c2fbfb3SApril Chin# You may not use this file except in compliance with the License.
77c2fbfb3SApril Chin#
87c2fbfb3SApril Chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c2fbfb3SApril Chin# or http://www.opensolaris.org/os/licensing.
107c2fbfb3SApril Chin# See the License for the specific language governing permissions
117c2fbfb3SApril Chin# and limitations under the License.
127c2fbfb3SApril Chin#
137c2fbfb3SApril Chin# When distributing Covered Code, include this CDDL HEADER in each
147c2fbfb3SApril Chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c2fbfb3SApril Chin# If applicable, add the following below this CDDL HEADER, with the
167c2fbfb3SApril Chin# fields enclosed by brackets "[]" replaced with your own identifying
177c2fbfb3SApril Chin# information: Portions Copyright [yyyy] [name of copyright owner]
187c2fbfb3SApril Chin#
197c2fbfb3SApril Chin# CDDL HEADER END
207c2fbfb3SApril Chin#
217c2fbfb3SApril Chin
227c2fbfb3SApril Chin#
23*3d10f6d1SOlga Kryzhanovska# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
247c2fbfb3SApril Chin# Use is subject to license terms.
257c2fbfb3SApril Chin#
267c2fbfb3SApril Chin
277c2fbfb3SApril ChinSHELL=/usr/bin/ksh93
287c2fbfb3SApril Chin
297c2fbfb3SApril Chininclude		../Makefile.lib
307c2fbfb3SApril Chin
317c2fbfb3SApril ChinSUBDIRS =	$(MACH)
327c2fbfb3SApril Chin$(BUILD64)SUBDIRS += $(MACH64)
337c2fbfb3SApril Chin
347c2fbfb3SApril Chinall :=		TARGET= all
357c2fbfb3SApril Chinclean :=	TARGET= clean
367c2fbfb3SApril Chinclobber :=	TARGET= clobber
377c2fbfb3SApril Chininstall :=	TARGET= install
387c2fbfb3SApril Chinlint :=		TARGET= lint
397c2fbfb3SApril Chin_msg := 	TARGET= _msg
407c2fbfb3SApril Chin
417c2fbfb3SApril Chin.KEEP_STATE:
427c2fbfb3SApril Chin
437c2fbfb3SApril Chinall clean clobber install lint _msg: $(SUBDIRS)
447c2fbfb3SApril Chin
457c2fbfb3SApril ChinLIBRARY= 	libsum.a
467c2fbfb3SApril Chin
477c2fbfb3SApril ChinHDRS= \
487c2fbfb3SApril Chin	sum.h
497c2fbfb3SApril Chin
507c2fbfb3SApril ChinHDRDIR32= $(MACH)/include/ast
517c2fbfb3SApril ChinHDRDIR64= $(MACH64)/include/ast
527c2fbfb3SApril Chininclude ../Makefile.asthdr
537c2fbfb3SApril Chin
547c2fbfb3SApril Chininstall_h: $(ROOTHDRS)
557c2fbfb3SApril Chin
567c2fbfb3SApril Chin# We don't check these header files because they're owned by AT&T/AST
577c2fbfb3SApril Chincheck:
587c2fbfb3SApril Chin
59*3d10f6d1SOlga Kryzhanovska$(SUBDIRS): FRC
60*3d10f6d1SOlga Kryzhanovska	@cd $@; pwd; $(MAKE) $(TARGET)
617c2fbfb3SApril Chin
627c2fbfb3SApril ChinFRC:
637c2fbfb3SApril Chin
647c2fbfb3SApril Chininclude ../Makefile.targ
65