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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [java/] [Make-lang.in] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 287 jeremybenn
# Top level -*- makefile -*- fragment for the GNU compiler for the Java(TM)
2
# language.
3
#   Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
#   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5
 
6
#This file is part of GCC.
7
 
8
#GCC is free software; you can redistribute it and/or modify
9
#it under the terms of the GNU General Public License as published by
10
#the Free Software Foundation; either version 3, or (at your option)
11
#any later version.
12
 
13
#GCC is distributed in the hope that it will be useful,
14
#but WITHOUT ANY WARRANTY; without even the implied warranty of
15
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
#GNU General Public License for more details.
17
 
18
#You should have received a copy of the GNU General Public License
19
#along with GCC; see the file COPYING3.  If not see
20
#.
21
 
22
#Java and all Java-based marks are trademarks or registered trademarks
23
#of Sun Microsystems, Inc. in the United States and other countries.
24
#The Free Software Foundation is independent of Sun Microsystems, Inc.
25
 
26
# This file provides the language dependent support in the main Makefile.
27
# Each language makefile fragment must provide the following targets:
28
#
29
# foo.all.cross, foo.start.encap, foo.rest.encap,
30
# foo.install-common, foo.install-man, foo.install-info, foo.install-pdf,
31
# foo.install-html, foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall,
32
# foo.mostlyclean, foo.clean, foo.distclean,
33
# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
34
#
35
# where `foo' is the name of the language.
36
#
37
# It should also provide rules for:
38
#
39
# - making any compiler driver (eg: g++)
40
# - the compiler proper (eg: jc1)
41
# - define the names for selecting the language in LANGUAGES.
42
 
43
# Actual names to use when installing a native compiler.
44
JAVA_INSTALL_NAME := $(shell echo gcj|sed '$(program_transform_name)')
45
JAVA_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcj|sed '$(program_transform_name)')
46
 
47
XGCJ = gcj
48
 
49
# Define the names for selecting java in LANGUAGES.
50
java: jc1$(exeext) $(XGCJ)$(exeext) jvgenmain$(exeext) jcf-dump$(exeext)
51
 
52
# Define the name of target independent tools to be installed in $(bindir)
53
# Names are subject to changes
54
JAVA_TARGET_INDEPENDENT_BIN_TOOLS = jcf-dump
55
 
56
# Tell GNU make to ignore these if they exist.
57
.PHONY: java
58
 
59
jvspec.o: $(srcdir)/java/jvspec.c $(SYSTEM_H) coretypes.h $(TM_H) \
60
  $(GCC_H) $(CONFIG_H) java/jcf.h java/javaop.h
61
        (SHLIB_LINK='$(SHLIB_LINK)'; \
62
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(DRIVER_DEFINES) \
63
                $(INCLUDES) $(srcdir)/java/jvspec.c $(OUTPUT_OPTION))
64
 
65
# Create the compiler driver for $(XGCJ).
66
$(XGCJ)$(exeext): $(GCC_OBJS) jvspec.o java/jcf-path.o version.o \
67
           prefix.o intl.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
68
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \
69
          jvspec.o java/jcf-path.o prefix.o intl.o \
70
          version.o $(EXTRA_GCC_OBJS) $(LIBS)
71
 
72
# Create a version of the $(XGCJ) driver which calls the cross-compiler.
73
$(XGCJ)-cross$(exeext): $(XGCJ)$(exeext)
74
        -rm -f $(XGCJ)-cross$(exeext)
75
        cp $(XGCJ)$(exeext) $(XGCJ)-cross$(exeext)
76
 
77
java.srcextra:
78
 
79
# Executables built by this Makefile:
80
JAVA_OBJS = java/class.o java/decl.o java/expr.o \
81
  java/constants.o java/lang.o java/typeck.o java/except.o \
82
  java/verify-glue.o java/verify-impl.o \
83
  java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o \
84
  java/mangle_name.o java/builtins.o java/resource.o \
85
  java/jcf-depend.o \
86
  java/jcf-path.o java/boehm.o java/java-gimplify.o
87
 
88
JCFDUMP_OBJS = java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \
89
                java/win32-host.o java/zextract.o errors.o version.o ggc-none.o intl.o
90
 
91
JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o errors.o intl.o
92
 
93
java_OBJS = $(sort $(JAVA_OBJS) $(JCFDUMP_OBJS) $(JVGENMAIN_OBJS)) jvspec.o
94
 
95
# Use strict warnings for this front end.
96
java-warn = $(STRICT_WARN)
97
 
98
# String length warnings
99
jvspec.o-warn = -Wno-error
100
 
101
jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS) attribs.o
102
        rm -f $@
103
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
104
                $(JAVA_OBJS) $(BACKEND) $(ZLIB) $(LIBICONV) $(LIBS) attribs.o $(BACKENDLIBS)
105
 
106
jcf-dump$(exeext): $(JCFDUMP_OBJS) $(LIBDEPS)
107
        rm -f $@
108
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(JCFDUMP_OBJS) \
109
                $(CPPLIBS) $(ZLIB) $(LDEXP_LIB) $(LIBS)
110
 
111
jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS)
112
        rm -f $@
113
        $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(JVGENMAIN_OBJS) \
114
                $(LIBS)
115
 
116
#
117
# Build hooks:
118
 
119
java.all.cross: $(XGCJ)-cross$(exeext)
120
java.start.encap: $(XGCJ)$(exeext)
121
java.rest.encap:
122
 
123
 
124
java.tags: force
125
        cd $(srcdir)/java; etags -o TAGS.sub *.c *.h --language=none \
126
          --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' java-tree.def; \
127
        etags --include TAGS.sub --include ../TAGS.sub
128
 
129
 
130
java.info: doc/gcj.info
131
 
132
java.srcinfo: doc/gcj.info
133
        -cp -p $^ $(srcdir)/doc
134
 
135
java.dvi: doc/gcj.dvi
136
 
137
JAVA_PDFFILES = doc/gcj.pdf
138
 
139
java.pdf: $(JAVA_PDFFILES)
140
 
141
JAVA_HTMLFILES = $(build_htmldir)/java
142
 
143
java.html: $(JAVA_HTMLFILES)/index.html
144
 
145
JAVA_MANFILES = doc/gcj.1 doc/jcf-dump.1 doc/gij.1 \
146
                doc/jv-convert.1 doc/grmic.1 \
147
                doc/gcj-dbtool.1 doc/gc-analyze.1 doc/aot-compile.1 \
148
                doc/rebuild-gcj-db.1
149
 
150
java.man: $(JAVA_MANFILES)
151
 
152
java.srcman: $(JAVA_MANFILES)
153
        -cp -p $^ $(srcdir)/doc
154
 
155
check-java :
156
check-java-subtargets :
157
 
158
# Install hooks:
159
# jc1, gcj, and jvgenmain are installed elsewhere as part
160
# of $(COMPILERS).
161
 
162
# Install gcj as well as the target-independent tools.
163
java.install-common: installdirs
164
        -if [ -f $(XGCJ)$(exeext) ]; then \
165
          rm -f $(DESTDIR)$(bindir)/$(JAVA_INSTALL_NAME)$(exeext); \
166
          $(INSTALL_PROGRAM) $(XGCJ)$(exeext) $(DESTDIR)$(bindir)/$(JAVA_INSTALL_NAME)$(exeext); \
167
          chmod a+x $(DESTDIR)$(bindir)/$(JAVA_INSTALL_NAME)$(exeext); \
168
          if [ -f $(XGCJ)-cross$(exeext) ]; then \
169
            true; \
170
          else \
171
            rm -f $(DESTDIR)$(bindir)/$(JAVA_TARGET_INSTALL_NAME)$(exeext); \
172
            ( cd $(DESTDIR)$(bindir) && \
173
              $(LN) $(JAVA_INSTALL_NAME)$(exeext) $(JAVA_TARGET_INSTALL_NAME)$(exeext) ); \
174
          fi ; \
175
        fi ; \
176
        for tool in $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS); do \
177
          tool_transformed_name=`echo $$tool|sed '$(program_transform_name)'`; \
178
          if [ -f $$tool$(exeext) ]; then \
179
            rm -f $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
180
            $(INSTALL_PROGRAM) $$tool$(exeext) $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
181
            chmod a+x $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
182
          fi ; \
183
       done
184
 
185
java.install-plugin:
186
java.install-man:
187
 
188
java.uninstall:
189
        -rm -rf $(DESTDIR)$(bindir)/$(JAVA_INSTALL_NAME)$(exeext)
190
        -rm -rf $(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext)
191
        -rm -rf $(DESTDIR)$(man1dir)/jcf-dump$(man1ext)
192
        -rm -rf $(DESTDIR)$(man1dir)/gij$(man1ext)
193
        -rm -rf $(DESTDIR)$(man1dir)/jv-convert$(man1ext)
194
        -rm -rf $(DESTDIR)$(man1dir)/gcj-dbtool$(man1ext)
195
        -rm -rf $(DESTDIR)$(man1dir)/aot-compile$(man1ext)
196
        -rm -rf $(DESTDIR)$(man1dir)/rebuild-gcj-db$(man1ext)
197
 
198
java.install-info: $(DESTDIR)$(infodir)/gcj.info
199
 
200
java.install-pdf: $(JAVA_PDFFILES)
201
        @$(NORMAL_INSTALL)
202
        test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc"
203
        @list='$(JAVA_PDFFILES)'; for p in $$list; do \
204
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
205
          f=$(pdf__strip_dir) \
206
          echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/gcc/$$f'"; \
207
          $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
208
        done
209
 
210
java.install-html: $(JAVA_HTMLFILES)
211
        @$(NORMAL_INSTALL)
212
        test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
213
        @list='$(JAVA_HTMLFILES)'; for p in $$list; do \
214
          if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
215
          f=$(html__strip_dir) \
216
          if test -d "$$d$$p"; then \
217
            echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
218
            $(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
219
            echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
220
            $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
221
          else \
222
            echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
223
            $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
224
          fi; \
225
        done
226
#
227
# Clean hooks:
228
# A lot of the ancillary files are deleted by the main makefile.
229
# We just have to delete files specific to us.
230
 
231
java.mostlyclean:
232
        -rm -f java/*$(objext) $(DEMANGLER_PROG)
233
        -rm -f java/*$(coverageexts)
234
        -rm -f jc1$(exeext) $(XGCJ)$(exeext) jvgenmain$(exeext) \
235
          jcf-dump$(exeext) s-java
236
java.clean:
237
java.distclean:
238
        -rm -f java/config.status java/Makefile
239
java.maintainer-clean:
240
        -rm -f $(docobjdir)/gcj.1
241
        -rm -f $(docobjdir)/jcf-dump.1
242
        -rm -f $(docobjdir)/gij.1
243
        -rm -f $(docobjdir)/jv-convert.1
244
        -rm -f $(docobjdir)/grmic.1
245
        -rm -f $(docobjdir)/gcj-dbtool.1
246
        -rm -f $(docobjdir)/gc-analyze.1
247
        -rm -f $(docobjdir)/aot-compile.1
248
        -rm -f $(docobjdir)/rebuild-gcj-db.1
249
#
250
# Stage hooks:
251
# The main makefile has already created stage?/java.
252
 
253
java.stage1: stage1-start
254
        -mv java/*$(objext) stage1/java
255
java.stage2: stage2-start
256
        -mv java/*$(objext) stage2/java
257
java.stage3: stage3-start
258
        -mv java/*$(objext) stage3/java
259
java.stage4: stage4-start
260
        -mv java/*$(objext) stage4/java
261
java.stageprofile: stageprofile-start
262
        -mv java/*$(objext) stageprofile/java
263
java.stagefeedback: stageprofile-start
264
        -mv java/*$(objext) stagefeedback/java
265
 
266
#
267
# .o:.h dependencies.
268
JAVA_TREE_H = $(TREE_H) $(HASHTAB_H) java/java-tree.h
269
 
270
java/jcf-dump.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(JAVA_TREE_H) \
271
  java/jcf-dump.c java/jcf-reader.c java/jcf.h java/javaop.h java/javaop.def \
272
  version.h $(GGC_H) intl.h java/zipfile.h
273
java/boehm.o: java/boehm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
274
  $(TREE_H) $(JAVA_TREE_H) java/parse.h toplev.h
275
java/builtins.o: java/builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
276
  $(JAVA_TREE_H) $(GGC_H) $(FLAGS_H) $(OPTABS_H) $(EXPR_H) langhooks.h \
277
  gt-java-builtins.h
278
java/class.o: java/class.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
279
  $(JAVA_TREE_H) $(RTL_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
280
  $(TARGET_H) $(FUNCTION_H) gt-java-class.h $(CGRAPH_H) $(TM_P_H)
281
java/constants.o: java/constants.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
282
  toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-constants.h
283
java/decl.o: java/decl.c $(CONFIG_H) $(JAVA_TREE_H) $(RTL_H) java/jcf.h \
284
  toplev.h $(FLAGS_H) $(SYSTEM_H) coretypes.h $(TM_H) $(FUNCTION_H) $(EXPR_H) \
285
  libfuncs.h except.h java/java-except.h $(GGC_H) $(REAL_H) gt-java-decl.h \
286
  $(TARGET_H) $(CGRAPH_H) langhooks.h
287
java/except.o: java/except.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
288
  $(RTL_H) java/javaop.h java/java-opcodes.h except.h java/java-except.h \
289
  toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(FUNCTION_H)
290
java/expr.o: java/expr.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h $(REAL_H) \
291
  $(RTL_H) $(EXPR_H) java/javaop.h java/java-opcodes.h except.h \
292
  java/java-except.h java/java-except.h java/parse.h toplev.h \
293
  $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) gt-java-expr.h $(TARGET_H) \
294
  tree-iterator.h $(TM_P_H)
295
java/jcf-depend.o: java/jcf-depend.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
296
  $(TM_H) java/jcf.h
297
java/jcf-parse.o: java/jcf-parse.c $(CONFIG_H) $(JAVA_TREE_H) $(FLAGS_H) \
298
  input.h java/java-except.h $(SYSTEM_H) coretypes.h $(TM_H) toplev.h \
299
  java/parse.h $(GGC_H) debug.h $(REAL_H) gt-java-jcf-parse.h $(TM_P_H) \
300
  java/jcf-reader.c java/zipfile.h java/jcf.h
301
java/jvgenmain.o: java/jvgenmain.c $(CONFIG_H) $(JAVA_TREE_H) $(SYSTEM_H) \
302
  coretypes.h $(TM_H) intl.h
303
java/lang.o: java/lang.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h input.h \
304
  toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(EXPR_H) $(DIAGNOSTIC_H) \
305
  langhooks.h $(LANGHOOKS_DEF_H) gt-java-lang.h opts.h options.h $(EXCEPT_H)
306
java/mangle.o: java/mangle.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) $(SYSTEM_H) \
307
  coretypes.h $(TM_H) toplev.h $(GGC_H) gt-java-mangle.h $(LANGHOOKS_DEF_H)
308
java/mangle_name.o: java/mangle_name.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) \
309
  $(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(GGC_H)
310
java/resource.o: java/resource.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
311
  $(JAVA_TREE_H) $(RTL_H) java/jcf.h java/parse.h toplev.h output.h $(GGC_H) \
312
  $(TARGET_H) $(FUNCTION_H) gt-java-resource.h $(EXPR_H)
313
java/typeck.o: java/typeck.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
314
  toplev.h $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) $(REAL_H)
315
java/win32-host.o: java/win32-host.c $(CONFIG_H) $(SYSTEM_H) coretypes.h java/jcf.h
316
java/verify-glue.o: java/verify-glue.c $(CONFIG_H) $(SYSTEM_H) $(JAVA_TREE_H) \
317
  coretypes.h $(TM_H) java/verify.h toplev.h
318
java/verify-impl.o: java/verify-impl.c $(CONFIG_H) java/verify.h $(SYSTEM_H) \
319
  coretypes.h  java/jcf.h $(JAVA_TREE_H)
320
java/zextract.o: java/zextract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
321
  java/zipfile.h
322
java/java-gimplify.o: java/java-gimplify.c $(CONFIG_H) $(SYSTEM_H) \
323
  coretypes.h $(TM_H) $(JAVA_TREE_H) $(GIMPLE_H) toplev.h
324
 
325
# jcf-io.o needs $(ZLIBINC) added to cflags.
326
java/jcf-io.o: java/jcf-io.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
327
  $(JAVA_TREE_H) java/zipfile.h
328
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
329
                $(ZLIBINC) $(srcdir)/java/jcf-io.c $(OUTPUT_OPTION)
330
 
331
# jcf-path.o needs a -D.
332
java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
333
  java/jcf.h
334
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
335
          -DLIBGCJ_ZIP_FILE='"$(datadir)/java/libgcj-$(version).jar"' \
336
          -DDEFAULT_TARGET_VERSION=\"$(version)\" \
337
          $(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)
338
 
339
TEXI_JAVA_FILES = java/gcj.texi $(gcc_docdir)/include/fdl.texi          \
340
         $(gcc_docdir)/include/gpl_v3.texi $(gcc_docdir)/include/gcc-common.texi   \
341
         gcc-vers.texi
342
 
343
# Documentation
344
doc/gcj.info: $(TEXI_JAVA_FILES)
345
        if test "x$(BUILD_INFO)" = xinfo; then \
346
          rm -f doc/gcj.info*; \
347
          $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \
348
                -I $(gcc_docdir)/include -o $@ $<; \
349
        else true; fi
350
 
351
doc/gcj.dvi: $(TEXI_JAVA_FILES)
352
        $(TEXI2DVI) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
353
 
354
doc/gcj.pdf: $(TEXI_JAVA_FILES)
355
        $(TEXI2PDF) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
356
 
357
$(build_htmldir)/java/index.html: $(TEXI_JAVA_FILES)
358
        $(mkinstalldirs) $(@D)
359
        rm -f $(@D)/*
360
        $(TEXI2HTML) -I $(gcc_docdir) -I $(gcc_docdir)/include \
361
                -I $(srcdir)/java -o $(@D) $<
362
 
363
.INTERMEDIATE: gcj.pod jcf-dump.pod gij.pod \
364
  jv-convert.pod grmic.pod gcj-dbtool.pod gc-analyze.pod
365
 
366
gcj.pod: java/gcj.texi
367
        -$(TEXI2POD) -D gcj < $< > $@
368
jcf-dump.pod: java/gcj.texi
369
        -$(TEXI2POD) -D jcf-dump < $< > $@
370
gij.pod: java/gcj.texi
371
        -$(TEXI2POD) -D gij < $< > $@
372
jv-convert.pod: java/gcj.texi
373
        -$(TEXI2POD) -D jv-convert < $< > $@
374
grmic.pod: java/gcj.texi
375
        -$(TEXI2POD) -D grmic < $< > $@
376
gcj-dbtool.pod: java/gcj.texi
377
        -$(TEXI2POD) -D gcj-dbtool < $< > $@
378
gc-analyze.pod: java/gcj.texi
379
        -$(TEXI2POD) -D gc-analyze < $< > $@
380
aot-compile.pod: java/gcj.texi
381
        -$(TEXI2POD) -D aot-compile < $< > $@
382
rebuild-gcj-db.pod: java/gcj.texi
383
        -$(TEXI2POD) -D rebuild-gcj-db < $< > $@
384
 
385
# Install the man pages.
386
java.install-man: installdirs \
387
                  $(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext) \
388
                  $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS:%=doc/%.1) \
389
                  doc/gij.1 doc/jv-convert.1 doc/grmic.1 \
390
                  doc/gcj-dbtool.1 doc/gc-analyze.1 \
391
                  doc/aot-compile.1 doc/rebuild-gcj-db.1
392
        for tool in $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS) \
393
                gij jv-convert grmic gcj-dbtool gc-analyze aot-compile \
394
                rebuild-gcj-db; do \
395
          tool_transformed_name=`echo $$tool|sed '$(program_transform_name)'`; \
396
          man_name=$(DESTDIR)$(man1dir)/$${tool_transformed_name}$(man1ext); \
397
          rm -f $$man_name ; \
398
          for source_name in doc/$${tool}.1 $(srcdir)/doc/$${tool}.1 ; do \
399
            if test -f $$source_name; then \
400
              $(INSTALL_DATA) $$source_name $$man_name; \
401
              break; \
402
              else : ; \
403
            fi; \
404
          done ; \
405
          chmod a-x $$man_name ; \
406
        done
407
 
408
$(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext): doc/gcj.1 installdirs
409
        -rm -f $@
410
        -$(INSTALL_DATA) $< $@
411
        -chmod a-x $@

powered by: WebSVN 2.1.0

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