3aaed8c103fd771483047d216dedbfc2a39bbde7
[gcc.git] / gcc / java / lang-specs.h
1 /* Definitions for specs for the GNU compiler for the Java(TM) language.
2 Copyright (C) 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
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.
10
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.
15
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, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
20
21 Java and all Java-based marks are trademarks or registered trademarks
22 of Sun Microsystems, Inc. in the United States and other countries.
23 The Free Software Foundation is independent of Sun Microsystems, Inc. */
24
25 /* This is the contribution to the `default_compilers' array in gcc.c for
26 Java. */
27
28 {".java", "@java" , 0},
29 {".class", "@java" , 0},
30 {".zip", "@java" , 0},
31 {".jar", "@java" , 0},
32 {"@java",
33 "%{fjni:%{femit-class-files:%e-fjni and -femit-class-files are incompatible}}\
34 %{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\
35 %{femit-class-file:%{!fsyntax-only:%e-femit-class-file should used along with -fsyntax-only}}\
36 %{femit-class-files:%{!fsyntax-only:%e-femit-class-file should used along with -fsyntax-only}}\
37 %{!E:jc1 %i %(jc1) %(cc1_options) %{+e*} %{I*}\
38 %{MD} %{MMD} %{M} %{MM} %{MA} %{MT*} %{MF*}\
39 %{!fsyntax-only:%(invoke_as)}}", 0},
40