1*b30d1939SAndy Fiddaman# 2*b30d1939SAndy Fiddaman# CDDL HEADER START 3*b30d1939SAndy Fiddaman# 4*b30d1939SAndy Fiddaman# The contents of this file are subject to the terms of the 5*b30d1939SAndy Fiddaman# Common Development and Distribution License (the "License"). 6*b30d1939SAndy Fiddaman# You may not use this file except in compliance with the License. 7*b30d1939SAndy Fiddaman# 8*b30d1939SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*b30d1939SAndy Fiddaman# or http://www.opensolaris.org/os/licensing. 10*b30d1939SAndy Fiddaman# See the License for the specific language governing permissions 11*b30d1939SAndy Fiddaman# and limitations under the License. 12*b30d1939SAndy Fiddaman# 13*b30d1939SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each 14*b30d1939SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*b30d1939SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the 16*b30d1939SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying 17*b30d1939SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner] 18*b30d1939SAndy Fiddaman# 19*b30d1939SAndy Fiddaman# CDDL HEADER END 20*b30d1939SAndy Fiddaman# 21*b30d1939SAndy Fiddaman 22*b30d1939SAndy Fiddaman# 23*b30d1939SAndy Fiddaman# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24*b30d1939SAndy Fiddaman# Use is subject to license terms. 25*b30d1939SAndy Fiddaman# 26*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association. 27*b30d1939SAndy Fiddaman# 28*b30d1939SAndy Fiddaman 29*b30d1939SAndy FiddamanSHELL= /usr/bin/ksh93 30*b30d1939SAndy Fiddaman 31*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.lib 32*b30d1939SAndy Fiddaman 33*b30d1939SAndy FiddamanSUBDIRS= $(MACH) 34*b30d1939SAndy Fiddaman$(BUILD64)SUBDIRS += $(MACH64) 35*b30d1939SAndy Fiddaman 36*b30d1939SAndy Fiddamanall := TARGET= all 37*b30d1939SAndy Fiddamanclean := TARGET= clean 38*b30d1939SAndy Fiddamanclobber := TARGET= clobber 39*b30d1939SAndy Fiddamaninstall := TARGET= install 40*b30d1939SAndy Fiddamaninstall_h := TARGET= install_h 41*b30d1939SAndy Fiddaman_msg := TARGET= _msg 42*b30d1939SAndy Fiddaman_feature := TARGET= _feature 43*b30d1939SAndy Fiddaman 44*b30d1939SAndy Fiddaman.KEEP_STATE: 45*b30d1939SAndy Fiddaman.PARALLEL: $(SUBDIRS) 46*b30d1939SAndy Fiddaman 47*b30d1939SAndy Fiddamanall clean clobber install _feature: $(SUBDIRS) 48*b30d1939SAndy Fiddaman_msg: $(MACH) 49*b30d1939SAndy Fiddaman 50*b30d1939SAndy Fiddamaninclude Makefile.defs 51*b30d1939SAndy FiddamanHDRS= $(HEADERINSTALL) 52*b30d1939SAndy FiddamanHDRDIR32= $(MACH)/ast 53*b30d1939SAndy FiddamanHDRDIR64= $(MACH64)/ast 54*b30d1939SAndy Fiddamaninclude ../Makefile.asthdr 55*b30d1939SAndy Fiddaman 56*b30d1939SAndy Fiddamaninstall_h: $(SUBDIRS) .WAIT $(ROOTHDRS) 57*b30d1939SAndy Fiddamaninstall: install_h 58*b30d1939SAndy Fiddaman 59*b30d1939SAndy Fiddaman$(SUBDIRS): FRC 60*b30d1939SAndy Fiddaman @cd $@; pwd; $(MAKE) $(TARGET) 61*b30d1939SAndy FiddamanFRC: 62*b30d1939SAndy Fiddaman 63*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ 64