source: trunk/third/gcc/objc/Makefile.in @ 11288

Revision 11288, 2.7 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r11287, which included commits to RCS files with non-trunk default branches.
Line 
1#  GNU Objective C Runtime Makefile
2#  Copyright (C) 1993, 1995, 1996, 1997 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#  This makefile is run by the parent dir's makefile.
21#  thisdir1=`pwd`; \
22#  srcdir1=`cd $(srcdir); pwd`; \
23#  cd objc; \
24#  $(MAKE) $(MAKEFLAGS) -f $$srcdir1/objc/Makefile libobjc.a \
25#    srcdir=$$srcdir1 tooldir=$(tooldir) AR="$(AR)" AR_FLAGS="$(AR_FLAGS)" \
26#    GCC_FOR_TARGET="$$thisdir1/xgcc -B$$thisdir1/" \
27#    GCC_CFLAGS="$(GCC_CFLAGS)" incinstalldir=$$thisdir1/include
28#    OBJC_THREAD_FILE="$(OBJC_THREAD_FILE)"
29#  Two targets are used by ../Makefile: `all' and `mostlyclean'.
30
31SHELL=/bin/sh
32
33.SUFFIXES: .m
34
35OPTIMIZE= -O
36
37srcdir = .
38VPATH = $(srcdir)
39
40AR = ar
41AR_FLAGS = rc
42
43# Define this as & to perform parallel make on a Sequent.
44# Note that this has some bugs, and it seems currently necessary
45# to compile all the gen* files first by hand to avoid erroneous results.
46P =
47
48# Definition of `all' is here so that new rules inserted by sed
49# do not specify the default target.
50all: all.indirect
51
52# sed inserts variable overrides after the following line.
53####target overrides
54####host overrides
55####cross overrides
56####build overrides
57#
58
59OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h \
60  NXConstStr.h Object.h Protocol.h encoding.h typedstream.h thr.h
61
62# Now figure out from those variables how to compile and link.
63all.indirect: Makefile compiler objc-runtime
64
65compiler:
66        cd ..; $(MAKE) cc1obj
67
68objc-runtime:
69        cd ..; $(MAKE) libobjc.a
70
71# copy objc headers to installation include directory
72copy-headers:
73        -rm -fr $(incinstalldir)/objc
74        -mkdir $(incinstalldir)/objc
75        for file in $(OBJC_H); do \
76          realfile=$(srcdir)/$${file}; \
77          cp $${realfile} $(incinstalldir)/objc; \
78          chmod a+r $(incinstalldir)/objc/$${file}; \
79        done
80
81Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
82        cd ..; $(SHELL) config.status
83
84mostlyclean:
85        -rm -f *.o libobjc.a xforward fflags
86clean: mostlyclean
87distclean: mostlyclean
88extraclean: mostlyclean
89
90# For Sun VPATH.
91
Note: See TracBrowser for help on using the repository browser.