Add per-device polling support.
[dragonfly.git] / contrib / libf2c / libI77 / Makefile.in
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, 1998 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 #### Start of system configuration section. ####
25
26 # $(srcdir) must be set to the g77 runtime libI77 source directory.
27 srcdir = @srcdir@
28 VPATH = @srcdir@
29
30 # configure sets this to all the -D options appropriate for the
31 # configuration.
32 DEFS = @DEFS@
33
34 LIBG2C = ../libg2c.a
35
36 F2C_H_DIR = @srcdir@/..
37 G2C_H_DIR = ..
38 CC = @CC@
39 CFLAGS = @CFLAGS@
40 CPPFLAGS = @CPPFLAGS@
41 AR = @AR@
42 ARFLAGS = rc
43 @SET_MAKE@
44
45 SHELL = /bin/sh
46
47 #### End of system configuration section. ####
48
49 ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) \
50              $(DEFS) $(CFLAGS)
51
52 .SUFFIXES:
53 .SUFFIXES: .c .o
54
55 .c.o:
56         $(CC) -c -DSkip_f2c_Undefs -DAllow_TYQUAD $(ALL_CFLAGS) $<
57
58 OBJ =   VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
59         fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
60         rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
61         util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \
62         ftell_.o
63
64 all: ../s-libi77
65
66 ../s-libi77: $(OBJ)
67         echo timestamp > ../s-libi77
68
69 archive:
70         $(AR) $(ARFLAGS) $(LIBG2C) $(OBJ)
71
72 Makefile: Makefile.in config.status
73         $(SHELL) config.status
74
75 config.status: configure
76         rm -f config.cache
77         CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
78           CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
79
80 ${srcdir}/configure: configure.in
81         rm -f config.cache
82         cd ${srcdir} && autoconf
83
84 VersionI.o: Version.c
85         $(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c
86
87 backspace.o:    backspace.c fio.h
88 close.o:        close.c fio.h
89 dfe.o:          fio.h
90 dfe.o:          dfe.c fmt.h
91 dolio.o:        dolio.c
92 due.o:          due.c fio.h
93 endfile.o:      endfile.c fio.h rawio.h
94 err.o:          err.c fio.h rawio.h
95 fmt.o:          fio.h
96 fmt.o:          fmt.c fmt.h
97 fmtlib.o:       fmtlib.c
98 ftell_.o:       ftell_.c fio.h
99 iio.o:          fio.h
100 iio.o:          iio.c fmt.h
101 ilnw.o:         fio.h
102 ilnw.o:         ilnw.c lio.h
103 inquire.o:      inquire.c fio.h
104 lread.o:        fio.h
105 lread.o:        fmt.h
106 lread.o:        lio.h
107 lread.o:        lread.c fp.h
108 lwrite.o:       fio.h
109 lwrite.o:       fmt.h
110 lwrite.o:       lwrite.c lio.h
111 open.o:         open.c fio.h rawio.h
112 rdfmt.o:        fio.h
113 rdfmt.o:        fmt.h
114 rdfmt.o:        rdfmt.c fp.h
115 rewind.o:       rewind.c fio.h
116 rsfe.o:         fio.h
117 rsfe.o:         rsfe.c fmt.h
118 rsli.o:         fio.h
119 rsli.o:         rsli.c lio.h
120 rsne.o:         fio.h
121 rsne.o:         rsne.c lio.h
122 sfe.o:          sfe.c fio.h
123 sue.o:          sue.c fio.h
124 typesize.o:     typesize.c
125 uio.o:          uio.c fio.h
126 util.o:         util.c fio.h
127 wref.o:         fio.h
128 wref.o:         fmt.h
129 wref.o:         wref.c fp.h
130 wrtfmt.o:       fio.h
131 wrtfmt.o:       wrtfmt.c fmt.h
132 wsfe.o:         fio.h
133 wsfe.o:         wsfe.c fmt.h
134 wsle.o:         fio.h
135 wsle.o:         fmt.h
136 wsle.o:         wsle.c lio.h
137 wsne.o:         fio.h
138 wsne.o:         wsne.c lio.h
139 xwsne.o:        fio.h
140 xwsne.o:        lio.h
141 xwsne.o:        xwsne.c fmt.h
142
143 # May be pessimistic:
144 $(OBJ): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
145
146 check install uninstall install-strip dist installcheck installdirs:
147
148 mostlyclean:
149         rm -f *.o
150
151 clean: mostlyclean
152         rm -f config.log ../s-libi77
153
154 distclean: clean
155         rm -f config.cache config.status Makefile ../s-libi77 configure
156
157 maintainer-clean:
158
159 .PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
160         install-strip dist installcheck installdirs archive