Avoid unnecessary dependencies on COND_EXEC insns.
[official-gcc.git] / libchill / Makefile.in
blobfb03aeec038d833866e4fd45d0e87b998ab2dad8
1 # Makefile for GNU CHILL compiler runtime library.
2 # Copyright (C) 1987, 88, 90-94, 1998, 1999 Free Software Foundation, Inc.
4 #This file is part of GNU CC.
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.
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.
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. */
21 # This was cribbed from the libf2c, libiberty and libstdc++ Makefile.in
22 # files. Some of this stuff may be unnecessary and worthless.
24 SHELL = /bin/sh
26 #### Start of system configuration section. ####
28 srcdir = @srcdir@
29 VPATH = @srcdir@
30 prefix = @prefix@
31 exec_prefix = @exec_prefix@
32 target_alias = @target_alias@
33 gcc_version = @gcc_version@
34 gcc_version_trigger = @gcc_version_trigger@
36 libdir = $(exec_prefix)/lib
37 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
39 # Multilib support variables.
40 MULTISRCTOP =
41 MULTIBUILDTOP =
42 MULTIDIRS =
43 MULTISUBDIR =
44 MULTIDO = true
45 MULTICLEAN = true
47 # Not configured per top-level version, since that doesn't get passed
48 # down at configure time, but overrridden by the top-level install
49 # target.
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
54 AR = @AR@
55 AR_FLAGS = rc
57 RANLIB = @RANLIB@
59 CC = @CC@
60 CFLAGS = @CFLAGS@
61 ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) $(CFLAGS)
63 .SUFFIXES:
64 .SUFFIXES: .c .o
66 .c.o:
67 $(CC) -c $(ALL_CFLAGS) $(INCLUDES) $<
69 # Lists of required functions for each archive.
71 LIBOBJS1 = allgmem.o allmem.o allocate.o cause.o exhstack.o exh.o retmem.o \
72 unhex.o unhex1.o rtsdummy.o terminate.o
74 IOOBJS = basicio.o chillstdio.o delete.o eoln.o existing.o format.o getassoc.o \
75 gettextaccess.o gettextindex.o gettextrecord.o getusage.o \
76 indexable.o ioerror.o isassociated.o outoffile.o readable.o \
77 readrecord.o sequencible.o settextaccess.o settextindex.o \
78 settextrecord.o variable.o writeable.o writerecord.o
80 PSOBJS = andps.o cardps.o concatps.o copyps.o diffps.o eqps.o ffsetclrps.o \
81 ffsetps.o flsetclrps.o flsetps.o inbitstr.o inps.o leps.o ltps.o \
82 neps.o notps.o orps.o setbitps.o setbits.o sliceps.o xorps.o
84 STROBJS = concatstr.o eqstr.o ltstr.o @MEMMOVE_O@
86 TIMEOBJS = abstime.o inttime.o waituntil.o remaintime.o convdurrtstime.o \
87 checkcycle.o
89 TASKOBJS = continue.o delaycase.o printbuffer.o printevent.o queuelength.o \
90 sendbuffer.o waitbuffer.o
92 OBJS = $(LIBOBJS1) $(IOOBJS) $(PSOBJS) $(STROBJS) $(TIMEOBJS) $(TASKOBJS)
94 libchill.a: $(OBJS)
95 $(AR) $(AR_FLAGS) $@ $(OBJS)
96 $(RANLIB) $@
98 allgmem.o: allgmem.c rtltypes.h
99 allmem.o: allmem.c rtltypes.h
100 allocate.o: allocate.c rtltypes.h
101 cause.o: cause.c
102 exhstack.o: exhstack.c rtltypes.h
103 exh.o: exh.c rtltypes.h
104 retmem.o: retmem.c
105 unhex.o: unhex.c
106 unhex1.o: unhex1.c
107 rtsdummy.o: rtsdummy.c rtltypes.h
108 terminate.o: terminate.c rtltypes.h
109 basicio.o: basicio.c fileio.h
110 chillstdio.o: chillstdio.c iomodes.h
111 delete.o: delete.c fileio.h
112 eoln.o: eoln.c fileio.h
113 existing.o: existing.c fileio.h
114 format.o: format.c bitstring.h auxtypes.h iomodes.h format.h fileio.h ioerror.h
115 getassoc.o: getassoc.c fileio.h
116 gettextaccess.o: gettextaccess.c fileio.h
117 gettextindex.o: gettextindex.c fileio.h
118 gettextrecord.o: gettextrecord.c fileio.h
119 getusage.o: getusage.c fileio.h
120 indexable.o: indexable.c fileio.h
121 ioerror.o: ioerror.c
122 isassociated.o: isassociated.c fileio.h
123 outoffile.o: outoffile.c fileio.h
124 readable.o: readable.c fileio.h
125 readrecord.o: readrecord.c fileio.h
126 sequencible.o: sequencible.c fileio.h
127 settextaccess.o: settextaccess.c fileio.h
128 settextindex.o: settextindex.c fileio.h
129 settextrecord.o: settextrecord.c fileio.h
130 variable.o: variable.c fileio.h
131 writeable.o: writeable.c fileio.h
132 writerecord.o: writerecord.c fileio.h
133 andps.o: andps.c powerset.h
134 cardps.o: cardps.c powerset.h
135 concatps.o: concatps.c powerset.h
136 copyps.o: copyps.c powerset.h
137 diffps.o: diffps.c powerset.h
138 eqps.o: eqps.c powerset.h
139 ffsetclrps.o: ffsetclrps.c powerset.h
140 ffsetps.o: ffsetps.c powerset.h
141 flsetclrps.o: flsetclrps.c powerset.h
142 flsetps.o: flsetps.c powerset.h
143 inbitstr.o: inbitstr.c powerset.h
144 inps.o: inps.c powerset.h
145 leps.o: leps.c powerset.h
146 ltps.o: ltps.c powerset.h
147 neps.o: neps.c powerset.h
148 notps.o: notps.c powerset.h
149 orps.o: orps.c powerset.h
150 setbitps.o: setbitps.c powerset.h
151 setbits.o: setbits.c powerset.h
152 sliceps.o: sliceps.c powerset.h
153 xorps.o: xorps.c powerset.h
154 concatstr.o: concatstr.c
155 eqstr.o: eqstr.c
156 ltstr.o: ltstr.c
157 memmove.o: memmove.c
158 abstime.o: abstime.c rtltypes.h
159 inttime.o: inttime.c
160 waituntil.o: waituntil.c rtltypes.h rts.h
161 remaintime.o: remaintime.c rts.h
162 convdurrtstime.o: convdurrtstime.c rts.h
163 checkcycle.o: checkcycle.c rtltypes.h rts.h
164 continue.o: continue.c rtltypes.h rts.h
165 delaycase.o: delaycase.c rtltypes.h rts.h
166 printbuffer.o: printbuffer.c rtltypes.h rts.h
167 printevent.o: printevent.c rtltypes.h rts.h
168 queuelength.o: queuelength.c rtltypes.h rts.h
169 sendbuffer.o: sendbuffer.c rtltypes.h rts.h
170 waitbuffer.o: waitbuffer.c rtltypes.h rts.h
172 $(PSOBJS): $(srcdir)/powerset.h
173 librmt.o: $(srcdir)/rtltypes.h
174 chillrt0.o: chillrt0.c $(srcdir)/rtltypes.h $(srcdir)/iomodes.h $(srcdir)/auxtypes.h
175 $(LIBOBJS1): $(srcdir)/rtltypes.h
176 $(TIMEOBJS): $(srcdir)/rtltypes.h $(srcdir)/rts.h
177 $(TASKOBJS): $(srcdir)/rts.h $(srcdir)/rtltypes.h
178 $(IOOBJS): $(srcdir)/fileio.h $(srcdir)/bitstring.h $(srcdir)/auxtypes.h \
179 $(srcdir)/iomodes.h $(srcdir)/format.h $(srcdir)/ioerror.h
181 # Flags to pass to a recursive make.
182 FLAGS_TO_PASS = \
183 "AR=$(AR)" \
184 "AR_FLAGS=$(AR_FLAGS)" \
185 "CC=$(CC)" \
186 "CFLAGS=$(CFLAGS)" \
187 "LIBCFLAGS=$(LIBCFLAGS)" \
188 "EXTRA_OFILES=$(EXTRA_OFILES)" \
189 "HDEFINES=$(HDEFINES)" \
190 "INSTALL=$(INSTALL)" \
191 "INSTALL_DATA=$(INSTALL_DATA)" \
192 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
193 "LDFLAGS=$(LDFLAGS)" \
194 "LOADLIBES=$(LOADLIBES)" \
195 "PICFLAG=$(PICFLAG)" \
196 "RANLIB=$(RANLIB)" \
197 "SHELL=$(SHELL)" \
198 "prefix=$(prefix)" \
199 "exec_prefix=$(exec_prefix)" \
200 "libdir=$(libdir)" \
201 "libsubdir=$(libsubdir)" \
202 "tooldir=$(tooldir)"
204 all: chillrt0.o libchill.a
205 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
207 Makefile: Makefile.in config.status
208 $(SHELL) config.status
210 config.status: configure
211 rm -f config.cache
212 CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
213 CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
215 ${srcdir}/configure: configure.in
216 rm -f config.cache
217 cd ${srcdir} && autoconf
219 install: all
220 $(INSTALL_DATA) libchill.a $(libsubdir)$(MULTISUBDIR)/libchill.a.n
221 $(RANLIB) $(libsubdir)$(MULTISUBDIR)/libchill.a.n
222 mv $(libsubdir)$(MULTISUBDIR)/libchill.a.n $(libsubdir)$(MULTISUBDIR)/libchill.a
223 $(INSTALL_DATA) chillrt0.o $(libsubdir)$(MULTISUBDIR)/chillrt0.o
224 @rootme=`pwd`/ ; export rootme ; \
225 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
228 check uninstall install-strip dist installcheck installdirs info install-info clean-info dvi:
230 mostlyclean:
231 rm -f *.o
232 @$(MULTICLEAN) multi-clean DO=mostlyclean
234 clean: mostlyclean
235 rm -f config.log libchill.a
236 @$(MULTICLEAN) multi-clean DO=clean
238 distclean: clean
239 @$(MULTICLEAN) multi-clean DO=distclean
240 rm -f config.cache config.status Makefile configure
242 maintainer-clean realclean: distclean
244 .PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
245 install-strip dist installcheck installdirs