]> gcc.gnu.org Git - gcc.git/blob - gcc/f/runtime/libU77/Makefile.in
Makefile.in (CGFLAGS): Don't force -g0.
[gcc.git] / gcc / f / runtime / libU77 / Makefile.in
1 # Makefile for GNU F77 compiler runtime, libc interface.
2 # Copyright (C) 1995-1997 Free Software Foundation, Inc.
3 # Contributed by Dave Love (d.love@dl.ac.uk).
4 #
5 #This file is part of GNU Fortran libU77 library.
6 #
7 #This library is free software; you can redistribute it and/or modify
8 #it under the terms of the GNU Library General Public License as
9 #published by the Free Software Foundation; either version 2, or (at
10 #your option) any later version.
11 #
12 #GNU Fortran is distributed in the hope that it will be useful, but
13 #WITHOUT ANY WARRANTY; without even the implied warranty of
14 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 #Library General Public License for more details.
16 #
17 #You should have received a copy of the GNU General Public License
18 #along with GNU Fortran; see the file COPYING. If not, write to
19 #Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 SHELL = /bin/sh
22
23 srcdir = @srcdir@
24 VPATH = @srcdir@
25
26 #### Start of system configuration section. ####
27
28 # The _FOR_TARGET things are appropriate for a cross-make, passed by the
29 # superior makefile
30 GCC_FOR_TARGET = @CC@
31 CC = $(GCC_FOR_TARGET)
32 CFLAGS = @CFLAGS@ $(GCC_FLAGS)
33 CPPFLAGS = @CPPFLAGS@
34 DEFS = @DEFS@
35 CGFLAGS = #-g0
36 # f2c.h should already be installed in xgcc's include directory but add that
37 # to -I anyhow in case not using xgcc. fio.h is in libI77. We need config.h
38 # from `.'.
39 ALL_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/../libI77 -I../../../include $(CPPFLAGS) $(DEFS) $(CFLAGS)
40 AR = @AR@
41 AR_FLAGS = rc
42 RANLIB = @RANLIB@
43 RANLIB_TEST = @RANLIB_TEST@
44 CROSS = @CROSS@
45 G77DIR = ../../../
46
47 .SUFFIXES:
48 .SUFFIXES: .c .o
49
50 .c.o:
51 $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $(CGFLAGS) $<
52
53 OBJS = VersionU.o gerror_.o perror_.o ierrno_.o itime_.o time_.o \
54 unlink_.o fnum_.o getpid_.o getuid_.o getgid_.o kill_.o rand_.o \
55 srand_.o irand_.o sleep_.o idate_.o ctime_.o etime_.o \
56 dtime_.o isatty_.o ltime_.o fstat_.o stat_.o \
57 lstat_.o access_.o link_.o getlog_.o ttynam_.o getcwd_.o symlnk_.o \
58 vxttime_.o vxtidate_.o gmtime_.o fdate_.o secnds_.o \
59 bes.o dbes.o \
60 chdir_.o chmod_.o lnblnk_.o hostnm_.o rename_.o fgetc_.o fputc_.o \
61 umask_.o sys_clock_.o date_.o second_.o flush1_.o mclock_.o \
62 alarm_.o
63 SRCS = Version.c gerror_.c perror_.c ierrno_.c itime_.c time_.c \
64 unlink_.c fnum_.c getpid_.c getuid_.c getgid_.c kill_.c rand_.c \
65 srand_.c irand_.c sleep_.c idate_.c ctime_.c etime_.c \
66 dtime_.c isatty_.c ltime_.c fstat_.c stat_.c \
67 lstat_.c access_.c link_.c getlog_.c ttynam_.c getcwd_.c symlnk_.c \
68 vxttime_.c vxtidate_.c gmtime_.c fdate_.c secnds_.c \
69 bes.c dbes.c \
70 chdir_.c chmod_.c lnblnk_.c hostnm_.c rename_.c fgetc_.c fputc_.c \
71 umask_.c sys_clock_.c date_.c second_.c flush1_.c mclock_.c \
72 alarm_.c
73
74 F2C_H = ../../../include/f2c.h
75
76 all: $(OBJS)
77
78 VersionU.o: Version.c
79 $(CC) -c $(CGFLAGS) -o $@ $(srcdir)/Version.c
80
81 lint:
82 lint $(CFLAGS) $(SRCS)
83
84 mostlyclean:
85 -rm -f $(OBJS)
86
87 clean: mostlyclean
88 -rm -f config.log a.out
89
90 distclean realclean maintainer-clean: clean
91 -rm -f config.h Makefile config.status config.cache stage? include
92
93 $(OBJS): $(F2C_H) config.h
94
95 check:
96 -$(G77DIR)g77 --driver=$(G77DIR)/xgcc -B$(G77DIR) -g $(srcdir)/u77-test.f $(lib) && ./a.out
97 rm -f a.out
98
99 access_.o: access_.c
100 ctime_.o: ctime_.c
101 dtime_.o: dtime_.c
102 etime_.o: etime_.c
103 fnum_.o: fnum_.c $(srcdir)/../libI77/fio.h
104 fstat_.o: fstat_.c
105 gerror_.o: gerror_.c
106 getcwd_.o: getcwd_.c
107 getgid_.o: getgid_.c
108 getlog_.o: getlog_.c
109 getpid_.o: getpid_.c
110 getuid_.o: getuid_.c
111 idate_.o: idate_.c
112 ierrno_.o: ierrno_.c
113 irand_.o: irand_.c
114 isatty_.o: isatty_.c $(srcdir)/../libI77/fio.h
115 itime_.o: itime_.c
116 kill_.o: kill_.c
117 link_.o: link_.c
118 loc_.o: loc_.c
119 lstat_.o: lstat_.c
120 ltime_.o: ltime_.c
121 perror_.o: perror_.c
122 qsort.o: qsort.c
123 qsort_.o: qsort_.c
124 rand_.o: rand_.c
125 rename_.o: rename_.c
126 second_.o: second_.c
127 sleep_.o: sleep_.c
128 srand_.o: srand_.c
129 stat_.o: stat_.c
130 symlnk_.o: symlnk_.c
131 time_.o: time_.c
132 ttynam_.o: ttynam_.c
133 unlink_.o: unlink_.c
134 wait_.o: wait_.c
135 vxttime_.o: vxttime_.c
136 vtxidate_.o: vxtidate_.c
137 fdate_.o: fdate_.c
138 gmtime_.o: gmtime_.c
139 secnds_.o: secnds_.c
140 bes.o: bes.c
141 dbes.o: dbes.c
142 lnblnk_.o: lnblnk_.c
143 chmod_.o: chmod_.c
144 chdir_.o: chdir_.c
145 hostnm_.o: hostnm_.c
146 rename_.o: rename_.c
147 fputc_.o: fputc_.c
148 fgetc_.o: fgetc_.c
149 sys_clock_.o: sys_clock_.c
150 umask_.o: umask_.c
151 flush1_.o: flush1_.c
152 mclock_.o: mclock_.c
153 alarm_.o: alarm_.c
154
155 .PHONY: mostlyclean clean distclean maintainer-clean lint check all
This page took 0.044277 seconds and 5 git commands to generate.