equal
deleted
inserted
replaced
1 # |
1 # |
2 # CDDL HEADER START |
2 # CDDL HEADER START |
3 # |
3 # |
4 # The contents of this file are subject to the terms of the |
4 # The contents of this file are subject to the terms of the |
5 # Common Development and Distribution License, Version 1.0 only |
5 # Common Development and Distribution License (the "License"). |
6 # (the "License"). You may not use this file except in compliance |
6 # You may not use this file except in compliance with the License. |
7 # with the License. |
|
8 # |
7 # |
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
10 # or http://www.opensolaris.org/os/licensing. |
9 # or http://www.opensolaris.org/os/licensing. |
11 # See the License for the specific language governing permissions |
10 # See the License for the specific language governing permissions |
12 # and limitations under the License. |
11 # and limitations under the License. |
20 # CDDL HEADER END |
19 # CDDL HEADER END |
21 # |
20 # |
22 # |
21 # |
23 #ident "%Z%%M% %I% %E% SMI" |
22 #ident "%Z%%M% %I% %E% SMI" |
24 # |
23 # |
25 # Copyright (c) 1998,2001 by Sun Microsystems, Inc. |
24 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
26 # All rights reserved. |
25 # Use is subject to license terms. |
27 # |
26 # |
28 # common target definitions for tool builds |
27 # common target definitions for tool builds |
29 |
28 |
30 clobber: clean |
29 clobber: clean |
31 -$(RM) $(PROG) $(CLOBBERFILES) |
30 -$(RM) $(PROG) $(CLOBBERFILES) |
38 |
37 |
39 %: %.pl |
38 %: %.pl |
40 $(RM) $@ |
39 $(RM) $@ |
41 cat $< > $@ |
40 cat $< > $@ |
42 chmod +x $@ |
41 chmod +x $@ |
|
42 |
|
43 %: %.py |
|
44 $(RM) $@ |
|
45 cat $< > $@ |
|
46 chmod +x $@ |