OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [objc/] [Make-lang.in] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 717 jeremybenn
# Top level -*- makefile -*- fragment for GNU Objective-C
2
#   Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2007,
3
#   2008, 2009, 2010, 2011 Free Software Foundation, Inc.
4
 
5
#This file is part of GCC.
6
 
7
#GCC is free software; you can redistribute it and/or modify
8
#it under the terms of the GNU General Public License as published by
9
#the Free Software Foundation; either version 3, or (at your option)
10
#any later version.
11
 
12
#GCC is distributed in the hope that it will be useful,
13
#but WITHOUT ANY WARRANTY; without even the implied warranty of
14
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
#GNU General Public License for more details.
16
 
17
# You should have received a copy of the GNU General Public License
18
# along with GCC; see the file COPYING3.  If not see
19
# .
20
 
21
 
22
# This file provides the language dependent support in the main Makefile.
23
# Each language makefile fragment must provide the following targets:
24
#
25
# foo.all.cross, foo.start.encap, foo.rest.encap,
26
# foo.install-common, foo.install-man, foo.install-info, foo.install-pdf,
27
# foo.install-html, foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall,
28
# foo.mostlyclean, foo.clean, foo.distclean,
29
# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
30
#
31
# where `foo' is the name of the language.
32
#
33
# It should also provide rules for:
34
#
35
# - making any compiler driver (eg: g++)
36
# - the compiler proper (eg: cc1plus)
37
# - define the names for selecting the language in LANGUAGES.
38
 
39
#
40
# Define the names for selecting Objective-C in LANGUAGES.
41
objc: cc1obj$(exeext)
42
 
43
# Tell GNU make to ignore these if they exist.
44
.PHONY: objc
45
 
46
START_HDRS = $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_TREE_H) \
47
  c-lang.h langhooks.h c-family/c-objc.h objc/objc-act.h
48
 
49
# Use maximal warnings for this front end.
50
objc-warn = $(STRICT_WARN)
51
 
52
# Language-specific object files for Objective C.
53
OBJC_OBJS = objc/objc-lang.o objc/objc-act.o \
54
   objc/objc-runtime-shared-support.o \
55
   objc/objc-gnu-runtime-abi-01.o \
56
   objc/objc-next-runtime-abi-01.o \
57
   objc/objc-next-runtime-abi-02.o \
58
   objc/objc-encoding.o \
59
   objc/objc-map.o
60
 
61
objc_OBJS = $(OBJC_OBJS) cc1obj-checksum.o
62
 
63
cc1obj-checksum.c : build/genchecksum$(build_exeext) checksum-options \
64
        $(OBJC_OBJS) $(C_AND_OBJC_OBJS) $(BACKEND) $(LIBDEPS)
65
        build/genchecksum$(build_exeext) $(OBJC_OBJS) $(C_AND_OBJC_OBJS) \
66
        $(BACKEND) $(LIBDEPS) checksum-options > cc1obj-checksum.c.tmp && \
67
        $(srcdir)/../move-if-change cc1obj-checksum.c.tmp cc1obj-checksum.c
68
 
69
cc1obj-checksum.o : cc1obj-checksum.c $(CONFIG_H) $(SYSTEM_H)
70
 
71
cc1obj$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o $(BACKEND) $(LIBDEPS)
72
        +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
73
              $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o \
74
              $(BACKEND) $(LIBS) $(BACKENDLIBS)
75
 
76
# Objective C language specific files.
77
 
78
# When editing, please keep the objc/ header dependencies in
79
# alphabetical order, and try to use a similar logical order for the
80
# other files between the different targets.
81
 
82
objc/objc-lang.o : objc/objc-lang.c \
83
   $(START_HDRS) \
84
   $(GGC_H) \
85
   $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-objc.h \
86
   c-objc-common.h
87
 
88
objc/objc-runtime-shared-support.o : objc/objc-runtime-shared-support.c \
89
   gt-objc-objc-runtime-shared-support.h \
90
   $(START_HDRS) \
91
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
92
   objc/objc-encoding.h \
93
   objc/objc-next-metadata-tags.h \
94
   objc/objc-runtime-shared-support.h
95
 
96
objc/objc-gnu-runtime-abi-01.o: objc/objc-gnu-runtime-abi-01.c \
97
   gt-objc-objc-gnu-runtime-abi-01.h \
98
   $(START_HDRS) \
99
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
100
   toplev.h \
101
   objc/objc-encoding.h \
102
   objc/objc-runtime-hooks.h \
103
   objc/objc-runtime-shared-support.h
104
 
105
objc/objc-next-runtime-abi-01.o: objc/objc-next-runtime-abi-01.c \
106
   gt-objc-objc-next-runtime-abi-01.h \
107
   $(START_HDRS) \
108
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
109
   $(TARGET_H) output.h \
110
   objc/objc-encoding.h \
111
   objc/objc-next-metadata-tags.h \
112
   objc/objc-runtime-hooks.h \
113
   objc/objc-runtime-shared-support.h
114
 
115
objc/objc-next-runtime-abi-02.o: objc/objc-next-runtime-abi-02.c \
116
   gt-objc-objc-next-runtime-abi-02.h \
117
   $(START_HDRS) \
118
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
119
   $(TARGET_H) \
120
   objc/objc-encoding.h \
121
   objc/objc-next-metadata-tags.h \
122
   objc/objc-runtime-hooks.h \
123
   objc/objc-runtime-shared-support.h
124
 
125
objc/objc-act.o : objc/objc-act.c \
126
   gt-objc-objc-act.h \
127
   $(START_HDRS) \
128
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
129
   toplev.h $(FUNCTION_H) output.h debug.h $(LANGHOOKS_DEF_H) \
130
   $(HASHTAB_H) $(GIMPLE_H) \
131
   $(C_PRAGMA_H) $(C_TARGET_H) \
132
   objc/objc-encoding.h \
133
   objc/objc-map.h \
134
   objc/objc-runtime-hooks.h \
135
   objc/objc-runtime-shared-support.h
136
 
137
objc/objc-encoding.o : objc/objc-encoding.c \
138
   $(START_HDRS) \
139
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
140
   $(OBSTACK_H) \
141
   objc/objc-encoding.h \
142
   objc/objc-runtime-shared-support.h
143
 
144
objc/objc-map.o : objc/objc-map.c \
145
   $(START_HDRS) \
146
   $(GGC_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) input.h \
147
   $(OBSTACK_H) \
148
   objc/objc-map.h
149
 
150
objc.srcextra:
151
 
152
#
153
# Build hooks:
154
 
155
objc.all.cross:
156
objc.start.encap:
157
objc.rest.encap:
158
objc.info:
159
objc.install-info:
160
objc.dvi:
161
objc.pdf:
162
objc.install-pdf:
163
objc.html:
164
objc.install-html:
165
objc.man:
166
objc.srcinfo:
167
objc.srcman:
168
objc.install-plugin:
169
 
170
objc.tags: force
171
        cd $(srcdir)/objc; etags -o TAGS.sub *.c *.h; \
172
        etags --include TAGS.sub --include ../TAGS.sub
173
 
174
lang_checks += check-objc
175
 
176
# The following allows you to do 'make check-objc -j2'.  The
177
# execute.exp tests will be run in parallel with all the other ones.
178
lang_checks_parallelized += check-objc
179
check_objc_parallelize = gnu-encoding.exp execute.exp exceptions.exp
180
 
181
#
182
# Install hooks:
183
# cc1obj is installed elsewhere as part of $(COMPILERS).
184
 
185
objc.install-common:
186
 
187
objc.install-man:
188
 
189
objc.uninstall:
190
#
191
# Clean hooks:
192
# A lot of the ancillary files are deleted by the main makefile.
193
# We just have to delete files specific to us.
194
objc.mostlyclean:
195
        -rm -f objc/*$(objext) objc/xforward objc/fflags
196
        -rm -f objc/*$(coverageexts)
197
objc.clean: objc.mostlyclean
198
        -rm -rf objc-headers
199
objc.distclean:
200
        -rm -f objc/Makefile objc/Make-host objc/Make-target
201
        -rm -f objc/config.status objc/config.cache
202
objc.maintainer-clean:
203
 
204
#
205
# Stage hooks:
206
 
207
objc.stage1: stage1-start
208
        -mv objc/*$(objext) stage1/objc
209
objc.stage2: stage2-start
210
        -mv objc/*$(objext) stage2/objc
211
objc.stage3: stage3-start
212
        -mv objc/*$(objext) stage3/objc
213
objc.stage4: stage4-start
214
        -mv objc/*$(objext) stage4/objc
215
objc.stageprofile: stageprofile-start
216
        -mv objc/*$(objext) stageprofile/objc
217
objc.stagefeedback: stagefeedback-start
218
        -mv objc/*$(objext) stagefeedback/objc

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.