xref: /titanic_41/usr/src/lib/pysolaris/Makefile (revision 0b42f15ac52b077791d4ba079e8c163c592c3fda)
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.
24e4d060fbSSam Falkner#
25e4d060fbSSam Falkner
26e4d060fbSSam Falknerinclude	../Makefile.lib
27e4d060fbSSam Falkner
28e4d060fbSSam FalknerSUBDIRS=	$(MACH)
29e4d060fbSSam FalknerXGETTEXT=	$(GNUXGETTEXT)
30e4d060fbSSam FalknerXGETFLAGS=	$(GNUXGETFLAGS)
31e4d060fbSSam Falkner
32e4d060fbSSam Falknerall :=		TARGET= all
33e4d060fbSSam Falknerinstall :=	TARGET= install
34e4d060fbSSam Falknerclean :=	TARGET= clean
35e4d060fbSSam Falknerclobber :=	TARGET= clobber
36e4d060fbSSam Falknerlint :=		TARGET= lint
37e4d060fbSSam Falkner
38*b6805bf7SGordon RossMSGFIND =	$(FIND) . -name '*.py' -o -name '*.c'
39*b6805bf7SGordon RossMSGFILES =	$(MSGFIND:sh)
40*b6805bf7SGordon RossPYCFIND =	$(FIND) . -name '*.pyc'
41*b6805bf7SGordon RossPYCFILES = 	$(PYCFIND:sh)
42e4d060fbSSam FalknerPOFILE =	pysolaris.po
43e4d060fbSSam Falkner
44e4d060fbSSam Falkner.KEEP_STATE:
45e4d060fbSSam Falkner
46*b6805bf7SGordon Rossall install clean lint: $(SUBDIRS)
47*b6805bf7SGordon Rossclobber: $(SUBDIRS)
48*b6805bf7SGordon Ross	$(RM) $(POFILE) $(PYCFILES)
49e4d060fbSSam Falkner
50e4d060fbSSam Falkner$(POFILE):	pofile_MSGFILES
51e4d060fbSSam Falkner
52e4d060fbSSam Falkner_msg: $(MSGDOMAINPOFILE)
53e4d060fbSSam Falkner
54e4d060fbSSam Falkner$(SUBDIRS): FRC
55e4d060fbSSam Falkner	@cd $@; pwd; $(MAKE) $(TARGET)
56e4d060fbSSam Falkner
57e4d060fbSSam FalknerFRC:
58e4d060fbSSam Falkner
59e4d060fbSSam Falknerinclude ../../Makefile.msg.targ
60