xref: /illumos-gate/usr/src/lib/pysolaris/Makefile (revision 70143b9fb6146f632b4b5d924e508df293b600df)
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.
2445ede40bSAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
25e4d060fbSSam Falkner#
26e4d060fbSSam Falkner
27e4d060fbSSam Falknerinclude	../Makefile.lib
28e4d060fbSSam Falkner
29*70143b9fSRichard LoweSUBDIRS= py3
30*70143b9fSRichard Lowe$(BUILDPY3b)SUBDIRS += py3b
31e4d060fbSSam Falkner
32e4d060fbSSam Falknerall :=		TARGET= all
33e4d060fbSSam Falknerinstall :=	TARGET= install
34e4d060fbSSam Falknerclean :=	TARGET= clean
35e4d060fbSSam Falknerclobber :=	TARGET= clobber
36e4d060fbSSam Falkner
37b6805bf7SGordon RossPYCFIND =	$(FIND) . -name '*.pyc'
38b6805bf7SGordon RossPYCFILES =	$(PYCFIND:sh)
39e4d060fbSSam Falkner
40e4d060fbSSam Falkner.KEEP_STATE:
41e4d060fbSSam Falkner
42241c90a0SRichard Loweall install clean: $(SUBDIRS)
43b6805bf7SGordon Rossclobber: $(SUBDIRS)
44aeac2d87SRichard Lowe	$(RM) $(PYCFILES)
45e4d060fbSSam Falkner
46e4d060fbSSam Falkner$(SUBDIRS): FRC
47e4d060fbSSam Falkner	@cd $@; pwd; $(MAKE) $(TARGET)
48e4d060fbSSam Falkner
49e4d060fbSSam FalknerFRC:
50e4d060fbSSam Falkner
51e4d060fbSSam Falknerinclude ../../Makefile.msg.targ
52