* lang-specs.h: `.zip' files are input to jc1.
[official-gcc.git] / gcc / java / lang-specs.h
blob456dc2b5b7eb71ca962cb0df4b85f333b5221125
1 /* Definitions for specs for the GNU compiler for the Java(TM) language.
2 Copyright (C) 1996, 1998 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 Java and all Java-based marks are trademarks or registered trademarks
21 of Sun Microsystems, Inc. in the United States and other countries.
22 The Free Software Foundation is independent of Sun Microsystems, Inc. */
24 /* This is the contribution to the `default_compilers' array in gcc.c for
25 Java. */
27 {".java", {"@java"} },
28 {".class", {"@java"} },
29 {".zip", {"@java"} },
30 {"@java",
31 {"%{!E:jc1 %i %1 %{!Q:-quiet} %{d*} %{m*} %{a}\
32 %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\
33 %{traditional} %{v:-version} %{pg:-p} %{p}\
34 %{f*} %{+e*} %{aux-info*}\
35 %{I*}\
36 %{MD} %{MMD} %{M} %{MM}\
37 %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
38 %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
39 %{!S:as %a %Y\
40 %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}\
41 %{!pipe:%g.s} %A\n }}"}},