Skip to content

Commit 7b352d6

Browse files
committed
Fix formatting in Makefile
1 parent 4e475ef commit 7b352d6

File tree

1 file changed

+42
-41
lines changed

1 file changed

+42
-41
lines changed

gcc/rust/Make-lang.in

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Make-lang.in -- Top level -*- makefile -*- fragment for GCC Rust frontend.
22

3-
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
3+
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
44

55
# This file is part of GCC.
66

@@ -11,7 +11,7 @@
1111

1212
# GCC is distributed in the hope that it will be useful,
1313
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
# GNU General Public License for more details.
1616

1717
# You should have received a copy of the GNU General Public License
@@ -54,7 +54,7 @@ gccrs$(exeext): $(GCCRS_D_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a $(LIBDEPS)
5454
$(GCCRS_D_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a \
5555
$(EXTRA_GCC_LIBS) $(LIBS)
5656

57-
# List of host object files used by the rust language - files for translation from the parse tree
57+
# List of host object files used by the rust language - files for translation from the parse tree
5858
# to GENERIC
5959
# The compiler proper, not driver
6060
GRS_OBJS = \
@@ -69,12 +69,13 @@ GRS_OBJS = \
6969
rust/rust-parse.o \
7070
rust/rust-ast-full-test.o \
7171
rust/rust-session-manager.o \
72-
rust/rust-resolution.o \
72+
rust/rust-name-resolution.o \
73+
rust/rust-type-resolution.o \
7374
rust/rust-scan.o \
7475
rust/rust-compile.o \
7576
rust/rust-macro-expand.o \
7677
$(END)
77-
# removed object files from here
78+
# removed object files from here
7879

7980
# All language-specific object files for Rust.
8081
RUST_ALL_OBJS = $(GRS_OBJS) $(RUST_TARGET_OBJS)
@@ -93,25 +94,25 @@ lang_checks_parallelized += check-rust
9394
check_rust_parallelize = 10
9495

9596
# Copies its dependencies into the source directory. This generally should be used for generated files
96-
# such as Bison output files which are not version-controlled, but should be included in any release
97-
# tarballs. This target will be executed during a bootstrap if ‘--enable-generated-files-in-srcdir’
98-
# was specified as a configure option.
99-
rust.srcextra:
97+
# such as Bison output files which are not version-controlled, but should be included in any release
98+
# tarballs. This target will be executed during a bootstrap if ‘--enable-generated-files-in-srcdir’
99+
# was specified as a configure option.
100+
rust.srcextra:
100101

101102
rust.all.cross:
102103

103104
# idk what this does but someone used it
104105
rust.start.encap: gccrs$(exeext)
105106
rust.rest.encap:
106107

107-
# Build generated man pages for the front end from Texinfo manuals (see Man Page Generation), in the
108-
# build directory. This target is only called if the necessary tools are available, but should ignore
109-
# errors so as not to stop the build if errors occur; man pages are optional and the tools involved
110-
# may be installed in a broken way.
108+
# Build generated man pages for the front end from Texinfo manuals (see Man Page Generation), in the
109+
# build directory. This target is only called if the necessary tools are available, but should ignore
110+
# errors so as not to stop the build if errors occur; man pages are optional and the tools involved
111+
# may be installed in a broken way.
111112
rust.man:
112113

113114
# Copies its dependencies into the source directory. These targets will be executed during a bootstrap
114-
# if ‘--enable-generated-files-in-srcdir’ was specified as a configure option.
115+
# if ‘--enable-generated-files-in-srcdir’ was specified as a configure option.
115116
rust.srcman:
116117

117118
# Clean hooks.
@@ -122,40 +123,40 @@ rust.mostlyclean:
122123
rust.clean: rust.mostlyclean
123124

124125
# Builds an etags TAGS file in the language subdirectory in the source tree.
125-
# TODO: add more directories if I add more
126+
# TODO: add more directories if I add more
126127
rust.tags: force
127128
cd $(srcdir)/rust; \
128129
etags -o TAGS.sub *.y *.l *.cc *.h ast/*.h ast/*.cc lex/*.h lex/*.cc parse/*.h parse/*.cc; \
129130
etags --include TAGS.sub --include ../TAGS.sub
130131

131132
# Build documentation hooks.
132133

133-
# Build info documentation for the front end, in the build directory. This target is only called by
134-
# ‘make bootstrap’ if a suitable version of makeinfo is available, so does not need to check for this,
135-
# and should fail if an error occurs.
136-
rust.info:
134+
# Build info documentation for the front end, in the build directory. This target is only called by
135+
# ‘make bootstrap’ if a suitable version of makeinfo is available, so does not need to check for this,
136+
# and should fail if an error occurs.
137+
rust.info:
137138

138-
rust.srcinfo:
139+
rust.srcinfo:
139140

140-
# Build DVI documentation for the front end, in the build directory. This should be done using
141-
# $(TEXI2DVI), with appropriate -I arguments pointing to directories of included files.
142-
rust.dvi:
141+
# Build DVI documentation for the front end, in the build directory. This should be done using
142+
# $(TEXI2DVI), with appropriate -I arguments pointing to directories of included files.
143+
rust.dvi:
143144

144-
# Build PDF documentation for the front end, in the build directory. This should be done using
145-
# $(TEXI2PDF), with appropriate -I arguments pointing to directories of included files.
146-
rust.pdf:
145+
# Build PDF documentation for the front end, in the build directory. This should be done using
146+
# $(TEXI2PDF), with appropriate -I arguments pointing to directories of included files.
147+
rust.pdf:
147148

148-
doc/rust.info:
149-
doc/rust.dvi:
150-
doc/rust.pdf:
149+
doc/rust.info:
150+
doc/rust.dvi:
151+
doc/rust.pdf:
151152

152-
# Build HTML documentation for the front end, in the build directory.
153-
rust.html:
153+
# Build HTML documentation for the front end, in the build directory.
154+
rust.html:
154155

155156
# Install hooks.
156157

157-
# Install everything that is part of the front end, apart from the compiler executables listed in
158-
# compilers in config-lang.in.
158+
# Install everything that is part of the front end, apart from the compiler executables listed in
159+
# compilers in config-lang.in.
159160
rust.install-common: installdirs
160161
# -rm -f $(DESTDIR)$(bindir)/$(GCCRS_INSTALL_NAME)$(exeext)
161162
# -rm -f $(DESTDIR)$(bindir)/$(GCCRS_TARGET_INSTALL_NAME)$(exeext)
@@ -172,11 +173,11 @@ rust.install-common: installdirs
172173
( cd $(DESTDIR)$(bindir) && \
173174
$(LN) $(GCCRS_INSTALL_NAME)$(exeext) $(GCCRS_TARGET_INSTALL_NAME)$(exeext) ); \
174175

175-
# Install headers needed for plugins.
176+
# Install headers needed for plugins.
176177
rust.install-plugin:
177178

178-
# Uninstall files installed by installing the compiler. This is currently documented not to be
179-
# supported, so the hook need not do anything.
179+
# Uninstall files installed by installing the compiler. This is currently documented not to be
180+
# supported, so the hook need not do anything.
180181
rust.uninstall:
181182
# -rm -rf $(DESTDIR)/$(bindir)/$(GCCRS_INSTALL_NAME)$(exeext)
182183
-rm -f gccrs$(exeext) grs1$(exeext)
@@ -186,13 +187,13 @@ rust.uninstall:
186187
# No rust-specific selftests
187188
selftest-rust:
188189

189-
# Install info documentation for the front end, if it is present in the source directory. This target
190-
# should have dependencies on info files that should be installed.
191-
rust.install-info:
190+
# Install info documentation for the front end, if it is present in the source directory. This target
191+
# should have dependencies on info files that should be installed.
192+
rust.install-info:
192193

193-
rust.install-pdf:
194+
rust.install-pdf:
194195

195-
# Install man pages for the front end. This target should ignore errors.
196+
# Install man pages for the front end. This target should ignore errors.
196197
rust.install-man:
197198

198199
# Stage hooks:

0 commit comments

Comments
 (0)