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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [objc/] [Make-lang.in] - Blame information for rev 321

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

Line No. Rev Author Line
1 289 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 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
# Use maximal warnings for this front end.
47
objc-warn = $(STRICT_WARN)
48
 
49
# Language-specific object files for Objective C.
50
OBJC_OBJS = objc/objc-lang.o objc/objc-act.o
51
 
52
objc_OBJS = $(OBJC_OBJS) cc1obj-checksum.o
53
 
54
cc1obj-dummy$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) dummy-checksum.o $(BACKEND) $(LIBDEPS)
55
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
56
              $(OBJC_OBJS) $(C_AND_OBJC_OBJS) dummy-checksum.o \
57
              $(BACKEND) $(LIBS) $(BACKENDLIBS)
58
 
59
cc1obj-checksum.c : cc1obj-dummy$(exeext) build/genchecksum$(build_exeext)
60
        build/genchecksum$(build_exeext) cc1obj-dummy$(exeext) > $@
61
 
62
cc1obj-checksum.o : cc1obj-checksum.c $(CONFIG_H) $(SYSTEM_H)
63
 
64
cc1obj$(exeext): $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o $(BACKEND) $(LIBDEPS)
65
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
66
              $(OBJC_OBJS) $(C_AND_OBJC_OBJS) cc1obj-checksum.o \
67
              $(BACKEND) $(LIBS) $(BACKENDLIBS)
68
 
69
# Objective C language specific files.
70
 
71
objc/objc-lang.o : objc/objc-lang.c \
72
   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
73
   $(C_TREE_H) $(DIAGNOSTIC_H) \
74
   $(GGC_H) langhooks.h $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-objc.h \
75
   c-objc-common.h objc/objc-act.h $(GIMPLE_H)
76
 
77
objc/objc-act.o : objc/objc-act.c \
78
   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(RTL_H) $(TM_P_H) \
79
   $(EXPR_H) $(TARGET_H) $(C_TREE_H) $(DIAGNOSTIC_H) toplev.h $(FLAGS_H) \
80
   objc/objc-act.h input.h $(FUNCTION_H) output.h debug.h langhooks.h \
81
   $(LANGHOOKS_DEF_H) $(HASHTAB_H) $(C_PRAGMA_H) gt-objc-objc-act.h \
82
   $(GIMPLE_H) c-lang.h
83
 
84
objc.srcextra:
85
 
86
#
87
# Build hooks:
88
 
89
objc.all.cross:
90
objc.start.encap:
91
objc.rest.encap:
92
objc.info:
93
objc.install-info:
94
objc.dvi:
95
objc.pdf:
96
objc.install-pdf:
97
objc.html:
98
objc.install-html:
99
objc.man:
100
objc.srcinfo:
101
objc.srcman:
102
objc.install-plugin:
103
 
104
objc.tags: force
105
        cd $(srcdir)/objc; etags -o TAGS.sub *.c *.h; \
106
        etags --include TAGS.sub --include ../TAGS.sub
107
 
108
lang_checks += check-objc
109
 
110
#
111
# Install hooks:
112
# cc1obj is installed elsewhere as part of $(COMPILERS).
113
 
114
objc.install-common:
115
 
116
objc.install-man:
117
 
118
objc.uninstall:
119
#
120
# Clean hooks:
121
# A lot of the ancillary files are deleted by the main makefile.
122
# We just have to delete files specific to us.
123
objc.mostlyclean:
124
        -rm -f objc/*$(objext) objc/xforward objc/fflags
125
        -rm -f objc/*$(coverageexts)
126
objc.clean: objc.mostlyclean
127
        -rm -rf objc-headers
128
objc.distclean:
129
        -rm -f objc/Makefile objc/Make-host objc/Make-target
130
        -rm -f objc/config.status objc/config.cache
131
objc.maintainer-clean:
132
 
133
#
134
# Stage hooks:
135
 
136
objc.stage1: stage1-start
137
        -mv objc/*$(objext) stage1/objc
138
objc.stage2: stage2-start
139
        -mv objc/*$(objext) stage2/objc
140
objc.stage3: stage3-start
141
        -mv objc/*$(objext) stage3/objc
142
objc.stage4: stage4-start
143
        -mv objc/*$(objext) stage4/objc
144
objc.stageprofile: stageprofile-start
145
        -mv objc/*$(objext) stageprofile/objc
146
objc.stagefeedback: stagefeedback-start
147
        -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.