Merge trunk version 206243 into gupc branch.
[official-gcc.git] / gcc / upc / Makefile.in
blob4e2984fd2fcb4f8c251ca78a0bce58e0ffff1959
1 # Makefile.in: GNU UPC front-end Makefile
3 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
4 # 2010, 2011
5 # Free Software Foundation, Inc.
6 # Contributed by Gary Funck <gary@intrepid.com>
7 # and Nenad Vukicevic <nenad@intrepid.com>.
8 # Based on original implementation
9 # by Jesse M. Draper <jdraper@super.org>
10 # and William W. Carlson <wwc@super.org>.
11 # Derived from objc/Makefile.in
13 # This file is part of GCC.
15 # GCC is free software; you can redistribute it and/or modify
16 # it under the terms of the GNU General Public License as published by
17 # the Free Software Foundation; either version 3, or (at your option)
18 # any later version.
20 # GCC is distributed in the hope that it will be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 # GNU General Public License for more details.
25 # You should have received a copy of the GNU General Public License
26 # along with GCC; see the file COPYING3. If not see
27 # <http://www.gnu.org/licenses/>.
29 # The Makefile built from this file lives in the upc language subdirectory.
30 # Its purpose is to provide support for:
32 # 1. recursion where necessary, and only then (building .o's), and
33 # 2. building and debugging cc1upcc from the language subdirectory.
35 # The parent Makefile handles all other chores, with help from the language
36 # Makefile fragment.
38 # The targets for external use are `all' and `mostlyclean'.
40 SHELL=/bin/sh
42 OPTIMIZE= -O
44 srcdir = .
45 VPATH = $(srcdir)
47 AR = ar
48 AR_FLAGS = rc
50 # Define this as & to perform parallel make on a Sequent.
51 # Note that this has some bugs, and it seems currently necessary
52 # to compile all the gen* files first by hand to avoid erroneous results.
53 P =
55 # Definition of `all' is here so that new rules inserted by sed
56 # do not specify the default target.
57 all: all.indirect
59 # sed inserts variable overrides after the following line.
60 ####target overrides
61 ####host overrides
62 ####cross overrides
63 ####build overrides
64 #\f
66 # Now figure out from those variables how to compile and link.
67 all.indirect: Makefile frontend
69 frontend:
70 cd ..; $(MAKE) cc1upc$(exeext)
72 Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
73 cd ..; $(SHELL) config.status
75 mostlyclean:
76 -rm -f *.o xforward fflags
77 clean: mostlyclean
78 distclean: mostlyclean
79 extraclean: mostlyclean
81 # For Sun VPATH.