xref: /illumos-gate/usr/src/cmd/ast/libsum/Makefile (revision b30d1939)
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#
233d10f6d1SOlga Kryzhanovska# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
247c2fbfb3SApril Chin# Use is subject to license terms.
257c2fbfb3SApril Chin#
26*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
27*b30d1939SAndy Fiddaman#
287c2fbfb3SApril Chin
29*b30d1939SAndy FiddamanSHELL= /usr/bin/ksh93
307c2fbfb3SApril Chin
31*b30d1939SAndy Fiddamaninclude		$(SRC)/lib/Makefile.lib
327c2fbfb3SApril Chin
33*b30d1939SAndy FiddamanSUBDIRS= $(MACH)
347c2fbfb3SApril Chin$(BUILD64)SUBDIRS += $(MACH64)
357c2fbfb3SApril Chin
367c2fbfb3SApril Chinall :=		TARGET= all
377c2fbfb3SApril Chinclean :=	TARGET= clean
387c2fbfb3SApril Chinclobber :=	TARGET= clobber
397c2fbfb3SApril Chininstall :=	TARGET= install
40*b30d1939SAndy Fiddamaninstall_h :=	TARGET= install_h
41241c90a0SRichard Lowe_msg :=		TARGET= _msg
42*b30d1939SAndy Fiddaman_feature :=	TARGET= _feature
437c2fbfb3SApril Chin
447c2fbfb3SApril Chin.KEEP_STATE:
45*b30d1939SAndy Fiddaman.PARALLEL: $(SUBDIRS)
467c2fbfb3SApril Chin
47*b30d1939SAndy Fiddamanall clean clobber install _feature: $(SUBDIRS)
48*b30d1939SAndy Fiddaman_msg: $(MACH)
497c2fbfb3SApril Chin
50*b30d1939SAndy Fiddamaninclude Makefile.defs
51*b30d1939SAndy FiddamanHDRS= $(HEADERINSTALL)
52*b30d1939SAndy FiddamanHDRDIR32= $(MACH)/ast
53*b30d1939SAndy FiddamanHDRDIR64= $(MACH64)/ast
547c2fbfb3SApril Chininclude ../Makefile.asthdr
557c2fbfb3SApril Chin
56*b30d1939SAndy Fiddamaninstall_h: $(SUBDIRS) .WAIT $(ROOTHDRS)
57*b30d1939SAndy Fiddamaninstall: install_h
587c2fbfb3SApril Chin
593d10f6d1SOlga Kryzhanovska$(SUBDIRS): FRC
603d10f6d1SOlga Kryzhanovska	@cd $@; pwd; $(MAKE) $(TARGET)
617c2fbfb3SApril ChinFRC:
627c2fbfb3SApril Chin
63*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ