Merge from vendor branch CVS:
[dragonfly.git] / contrib / gcc / objc / Makefile.in
1 #  GNU Objective C frontend Makefile
2 #  Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
3 #
4 #  This file is part of GNU CC.
5 #
6 #  GNU CC is free software; you can redistribute it and/or modify it under the
7 #  terms of the GNU General Public License as published by the Free Software
8 #  Foundation; either version 2, or (at your option) any later version.
9 #
10 #  GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY
11 #  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 #  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
13 #  details.
14 #
15 #  You should have received a copy of the GNU General Public License along with
16 #  GNU CC; see the file COPYING.  If not, write to the Free Software
17 #  Foundation, 59 Temple Place - Suite 330,
18 #  Boston, MA 02111-1307, USA.
19
20 #  The Makefile built from this file lives in the objc language subdirectory.
21 #  Its purpose is to provide support for:
22 #
23 #  1. recursion where necessary, and only then (building .o's), and
24 #  2. building and debugging cc1objc from the language subdirectory.
25 #
26 #  The parent Makefile handles all other chores, with help from the language
27 #  Makefile fragment.
28 #
29 #  The targets for external use are `all' and `mostlyclean'.
30
31 SHELL=/bin/sh
32
33 OPTIMIZE= -O
34
35 srcdir = .
36 VPATH = $(srcdir)
37
38 AR = ar
39 AR_FLAGS = rc
40
41 # Define this as & to perform parallel make on a Sequent.
42 # Note that this has some bugs, and it seems currently necessary 
43 # to compile all the gen* files first by hand to avoid erroneous results.
44 P =
45
46 # Definition of `all' is here so that new rules inserted by sed
47 # do not specify the default target.
48 all: all.indirect
49
50 # sed inserts variable overrides after the following line.
51 ####target overrides
52 ####host overrides
53 ####cross overrides
54 ####build overrides
55 #\f
56
57 # Now figure out from those variables how to compile and link.
58 all.indirect: Makefile frontend
59
60 frontend:
61         cd ..; $(MAKE) cc1obj$(exeext)
62
63 Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
64         cd ..; $(SHELL) config.status
65
66 mostlyclean:
67         -rm -f *.o xforward fflags
68 clean: mostlyclean
69 distclean: mostlyclean
70 extraclean: mostlyclean
71
72 # For Sun VPATH.
73