1 # Makefile.in: GNU UPC front-end Makefile
3 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
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)
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
38 # The targets for external use are `all' and `mostlyclean'.
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.
55 # Definition of `all' is here so that new rules inserted by sed
56 # do not specify the default target.
59 # sed inserts variable overrides after the following line.
66 # Now figure out from those variables how to compile and link.
67 all.indirect
: Makefile frontend
70 cd ..
; $(MAKE
) cc1upc
$(exeext
)
72 Makefile
: $(srcdir)/Makefile.in
$(srcdir)/..
/configure
73 cd ..
; $(SHELL
) config.status
76 -rm -f
*.o xforward
fflags
78 distclean: mostlyclean
79 extraclean
: mostlyclean