]> gcc.gnu.org Git - gcc.git/blob - libf2c/libU77/Makefile.in
12d175ac6819184c5b7f120e52a238cf0d849356
[gcc.git] / libf2c / 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 CPPFLAGS = @CPPFLAGS@
29 DEFS = @DEFS@
30 # f2c.h should already be installed in xgcc's include directory but add that
31 # to -I anyhow in case not using xgcc. fio.h is in libI77. We need config.h
32 # from `.'.
33 ALL_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/../libI77 -I.. $(CPPFLAGS) $(DEFS) $(CFLAGS)
34 CROSS = @CROSS@
35
36 .SUFFIXES:
37 .SUFFIXES: .c .o
38
39 .c.o:
40 $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $<
41
42 OBJS = VersionU.o gerror_.o perror_.o ierrno_.o itime_.o time_.o \
43 unlink_.o fnum_.o getpid_.o getuid_.o getgid_.o kill_.o rand_.o \
44 srand_.o irand_.o sleep_.o idate_.o ctime_.o etime_.o \
45 dtime_.o isatty_.o ltime_.o fstat_.o stat_.o \
46 lstat_.o access_.o link_.o getlog_.o ttynam_.o getcwd_.o symlnk_.o \
47 vxttime_.o vxtidate_.o gmtime_.o fdate_.o secnds_.o \
48 bes.o dbes.o \
49 chdir_.o chmod_.o lnblnk_.o hostnm_.o rename_.o fgetc_.o fputc_.o \
50 umask_.o sys_clock_.o date_.o second_.o flush1_.o mclock_.o \
51 alarm_.o
52 SRCS = Version.c gerror_.c perror_.c ierrno_.c itime_.c time_.c \
53 unlink_.c fnum_.c getpid_.c getuid_.c getgid_.c kill_.c rand_.c \
54 srand_.c irand_.c sleep_.c idate_.c ctime_.c etime_.c \
55 dtime_.c isatty_.c ltime_.c fstat_.c stat_.c \
56 lstat_.c access_.c link_.c getlog_.c ttynam_.c getcwd_.c symlnk_.c \
57 vxttime_.c vxtidate_.c gmtime_.c fdate_.c secnds_.c \
58 bes.c dbes.c \
59 chdir_.c chmod_.c lnblnk_.c hostnm_.c rename_.c fgetc_.c fputc_.c \
60 umask_.c sys_clock_.c date_.c second_.c flush1_.c mclock_.c \
61 alarm_.c
62
63 F2C_H = ../f2c.h
64
65 all: $(OBJS)
66
67 VersionU.o: Version.c
68 $(CC) -c $(CGFLAGS) -o $@ $(srcdir)/Version.c
69
70 lint:
71 lint $(CFLAGS) $(SRCS)
72
73 mostlyclean:
74 -rm -f $(OBJS)
75
76 clean: mostlyclean
77 -rm -f config.log a.out
78
79 distclean realclean maintainer-clean: clean
80 -rm -f config.h Makefile config.status config.cache stage? include
81
82 $(OBJS): $(F2C_H) config.h
83
84 check:
85 -$(G77DIR)g77 -B$(G77DIR) -L.. -g $(srcdir)/u77-test.f $(lib) && ./a.out
86 rm -f a.out
87
88 access_.o: access_.c
89 ctime_.o: ctime_.c
90 dtime_.o: dtime_.c
91 etime_.o: etime_.c
92 fnum_.o: fnum_.c $(srcdir)/../libI77/fio.h
93 fstat_.o: fstat_.c
94 gerror_.o: gerror_.c
95 getcwd_.o: getcwd_.c
96 getgid_.o: getgid_.c
97 getlog_.o: getlog_.c
98 getpid_.o: getpid_.c
99 getuid_.o: getuid_.c
100 idate_.o: idate_.c
101 ierrno_.o: ierrno_.c
102 irand_.o: irand_.c
103 isatty_.o: isatty_.c $(srcdir)/../libI77/fio.h
104 itime_.o: itime_.c
105 kill_.o: kill_.c
106 link_.o: link_.c
107 loc_.o: loc_.c
108 lstat_.o: lstat_.c
109 ltime_.o: ltime_.c
110 perror_.o: perror_.c
111 qsort.o: qsort.c
112 qsort_.o: qsort_.c
113 rand_.o: rand_.c
114 rename_.o: rename_.c
115 second_.o: second_.c
116 sleep_.o: sleep_.c
117 srand_.o: srand_.c
118 stat_.o: stat_.c
119 symlnk_.o: symlnk_.c
120 time_.o: time_.c
121 ttynam_.o: ttynam_.c
122 unlink_.o: unlink_.c
123 wait_.o: wait_.c
124 vxttime_.o: vxttime_.c
125 vtxidate_.o: vxtidate_.c
126 fdate_.o: fdate_.c
127 gmtime_.o: gmtime_.c
128 secnds_.o: secnds_.c
129 bes.o: bes.c
130 dbes.o: dbes.c
131 lnblnk_.o: lnblnk_.c
132 chmod_.o: chmod_.c
133 chdir_.o: chdir_.c
134 hostnm_.o: hostnm_.c
135 rename_.o: rename_.c
136 fputc_.o: fputc_.c
137 fgetc_.o: fgetc_.c
138 sys_clock_.o: sys_clock_.c
139 umask_.o: umask_.c
140 flush1_.o: flush1_.c
141 mclock_.o: mclock_.c
142 alarm_.o: alarm_.c
143
144 .PHONY: mostlyclean clean distclean maintainer-clean lint check all
This page took 0.04119 seconds and 5 git commands to generate.