]>
Commit | Line | Data |
---|---|---|
81fea2b1 JL |
1 | # Makefile for GNU F77 compiler runtime. |
2 | # Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the | |
3 | # file `Notice'). | |
4 | # Portions of this file Copyright (C) 1995, 1996 Free Software Foundation, Inc. | |
5 | # Contributed by Dave Love (d.love@dl.ac.uk). | |
6 | # | |
7 | #This file is part of GNU Fortran. | |
8 | # | |
9 | #GNU Fortran is free software; you can redistribute it and/or modify | |
10 | #it under the terms of the GNU General Public License as published by | |
11 | #the Free Software Foundation; either version 2, or (at your option) | |
12 | #any later version. | |
13 | # | |
14 | #GNU Fortran is distributed in the hope that it will be useful, | |
15 | #but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | #GNU General Public License for more details. | |
18 | # | |
19 | #You should have received a copy of the GNU General Public License | |
20 | #along with GNU Fortran; see the file COPYING. If not, write to | |
21 | #the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
22 | #02111-1307, USA. | |
23 | ||
24 | SHELL = /bin/sh | |
25 | ||
26 | srcdir = @srcdir@ | |
27 | VPATH = @srcdir@ | |
28 | ||
29 | #### Start of system configuration section. #### | |
30 | ||
31 | CPPFLAGS = @CPPFLAGS@ | |
32 | DEFS = @DEFS@ | |
33 | # f2c.h should already be installed in xgcc's include directory but add that | |
34 | # to -I anyhow in case not using xgcc. | |
35 | ALL_CFLAGS = -I. -I$(srcdir) -I.. $(CPPFLAGS) $(DEFS) $(CFLAGS) | |
36 | CROSS = @CROSS@ | |
37 | ||
38 | .SUFFIXES: | |
39 | .SUFFIXES: .c .o | |
40 | ||
41 | .c.o: | |
42 | $(CC) -c -DSkip_f2c_Undefs -DAllow_TYQUAD $(ALL_CFLAGS) $< | |
43 | ||
44 | OBJ = VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \ | |
45 | fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \ | |
46 | rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \ | |
47 | util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \ | |
48 | ftell_.o | |
49 | ||
50 | F2C_H = ../f2c.h | |
51 | ||
52 | all: $(OBJ) | |
53 | ||
54 | VersionI.o: Version.c | |
55 | $(CC) -c $(CGFLAGS) -o $@ $(srcdir)/Version.c | |
56 | ||
57 | mostlyclean clean: | |
58 | -rm -f $(OBJ) | |
59 | ||
60 | distclean maintainer-clean: mostlyclean | |
61 | -rm -f stage? include Makefile | |
62 | ||
63 | backspace.o: fio.h | |
64 | close.o: fio.h | |
65 | dfe.o: fio.h | |
66 | dfe.o: fmt.h | |
67 | due.o: fio.h | |
68 | endfile.o: fio.h rawio.h | |
69 | err.o: fio.h rawio.h | |
70 | fmt.o: fio.h | |
71 | fmt.o: fmt.h | |
72 | ftell_.o: fio.h | |
73 | iio.o: fio.h | |
74 | iio.o: fmt.h | |
75 | ilnw.o: fio.h | |
76 | ilnw.o: lio.h | |
77 | inquire.o: fio.h | |
78 | lread.o: fio.h | |
79 | lread.o: fmt.h | |
80 | lread.o: lio.h | |
81 | lread.o: fp.h | |
82 | lwrite.o: fio.h | |
83 | lwrite.o: fmt.h | |
84 | lwrite.o: lio.h | |
85 | open.o: fio.h rawio.h | |
86 | rdfmt.o: fio.h | |
87 | rdfmt.o: fmt.h | |
88 | rdfmt.o: fp.h | |
89 | rewind.o: fio.h | |
90 | rsfe.o: fio.h | |
91 | rsfe.o: fmt.h | |
92 | rsli.o: fio.h | |
93 | rsli.o: lio.h | |
94 | rsne.o: fio.h | |
95 | rsne.o: lio.h | |
96 | sfe.o: fio.h | |
97 | sue.o: fio.h | |
98 | uio.o: fio.h | |
99 | util.o: fio.h | |
100 | wref.o: fio.h | |
101 | wref.o: fmt.h | |
102 | wref.o: fp.h | |
103 | wrtfmt.o: fio.h | |
104 | wrtfmt.o: fmt.h | |
105 | wsfe.o: fio.h | |
106 | wsfe.o: fmt.h | |
107 | wsle.o: fio.h | |
108 | wsle.o: fmt.h | |
109 | wsle.o: lio.h | |
110 | wsne.o: fio.h | |
111 | wsne.o: lio.h | |
112 | xwsne.o: fio.h | |
113 | xwsne.o: lio.h | |
114 | xwsne.o: fmt.h | |
115 | ||
116 | # May be pessimistic: | |
117 | $(OBJ): $(F2C_H) | |
118 | ||
119 | .PHONY: mostlyclean clean distclean maintainer-clean all |