1e4d060fbSSam Falkner# 2e4d060fbSSam Falkner# CDDL HEADER START 3e4d060fbSSam Falkner# 4e4d060fbSSam Falkner# The contents of this file are subject to the terms of the 5e4d060fbSSam Falkner# Common Development and Distribution License (the "License"). 6e4d060fbSSam Falkner# You may not use this file except in compliance with the License. 7e4d060fbSSam Falkner# 8e4d060fbSSam Falkner# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9e4d060fbSSam Falkner# or http://www.opensolaris.org/os/licensing. 10e4d060fbSSam Falkner# See the License for the specific language governing permissions 11e4d060fbSSam Falkner# and limitations under the License. 12e4d060fbSSam Falkner# 13e4d060fbSSam Falkner# When distributing Covered Code, include this CDDL HEADER in each 14e4d060fbSSam Falkner# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15e4d060fbSSam Falkner# If applicable, add the following below this CDDL HEADER, with the 16e4d060fbSSam Falkner# fields enclosed by brackets "[]" replaced with your own identifying 17e4d060fbSSam Falkner# information: Portions Copyright [yyyy] [name of copyright owner] 18e4d060fbSSam Falkner# 19e4d060fbSSam Falkner# CDDL HEADER END 20e4d060fbSSam Falkner# 21e4d060fbSSam Falkner# 22e4d060fbSSam Falkner# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 23e4d060fbSSam Falkner# Use is subject to license terms. 24*d561bb99SAndy Fiddaman# Copyright 2018 OmniOS Community Edition (OmniOSce) Association. 25e4d060fbSSam Falkner# 26e4d060fbSSam Falkner 27e4d060fbSSam Falknerinclude ../Makefile.lib 28e4d060fbSSam Falkner 29*d561bb99SAndy FiddamanSUBDIRS= 30*d561bb99SAndy Fiddaman$(BUILDPY2)SUBDIRS += $(MACH) 31*d561bb99SAndy Fiddaman$(BUILD64)$(BUILDPY2)SUBDIRS += $(MACH64) 32*d561bb99SAndy Fiddaman$(BUILD64)$(BUILDPY3)SUBDIRS += py3 33e4d060fbSSam Falkner 34e4d060fbSSam Falknerall := TARGET= all 35e4d060fbSSam Falknerinstall := TARGET= install 36e4d060fbSSam Falknerclean := TARGET= clean 37e4d060fbSSam Falknerclobber := TARGET= clobber 38e4d060fbSSam Falknerlint := TARGET= lint 39e4d060fbSSam Falkner 40b6805bf7SGordon RossPYCFIND = $(FIND) . -name '*.pyc' 41b6805bf7SGordon RossPYCFILES = $(PYCFIND:sh) 42e4d060fbSSam Falkner 43e4d060fbSSam Falkner.KEEP_STATE: 44e4d060fbSSam Falkner 45b6805bf7SGordon Rossall install clean lint: $(SUBDIRS) 46b6805bf7SGordon Rossclobber: $(SUBDIRS) 47aeac2d87SRichard Lowe $(RM) $(PYCFILES) 48e4d060fbSSam Falkner 49e4d060fbSSam Falkner$(SUBDIRS): FRC 50e4d060fbSSam Falkner @cd $@; pwd; $(MAKE) $(TARGET) 51e4d060fbSSam Falkner 52e4d060fbSSam FalknerFRC: 53e4d060fbSSam Falkner 54e4d060fbSSam Falknerinclude ../../Makefile.msg.targ 55