1 |
56 |
joel |
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
2 |
39 |
lampret |
|
3 |
56 |
joel |
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
4 |
|
|
# This Makefile.in is free software; the Free Software Foundation
|
5 |
|
|
# gives unlimited permission to copy and/or distribute it,
|
6 |
|
|
# with or without modifications, as long as this notice is preserved.
|
7 |
39 |
lampret |
|
8 |
56 |
joel |
# This program is distributed in the hope that it will be useful,
|
9 |
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
10 |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
11 |
|
|
# PARTICULAR PURPOSE.
|
12 |
39 |
lampret |
|
13 |
|
|
|
14 |
56 |
joel |
SHELL = @SHELL@
|
15 |
|
|
|
16 |
|
|
srcdir = @srcdir@
|
17 |
|
|
top_srcdir = @top_srcdir@
|
18 |
|
|
VPATH = @srcdir@
|
19 |
|
|
prefix = @prefix@
|
20 |
|
|
exec_prefix = @exec_prefix@
|
21 |
|
|
|
22 |
|
|
bindir = @bindir@
|
23 |
|
|
sbindir = @sbindir@
|
24 |
|
|
libexecdir = @libexecdir@
|
25 |
|
|
datadir = @datadir@
|
26 |
|
|
sysconfdir = @sysconfdir@
|
27 |
|
|
sharedstatedir = @sharedstatedir@
|
28 |
|
|
localstatedir = @localstatedir@
|
29 |
|
|
libdir = @libdir@
|
30 |
|
|
infodir = @infodir@
|
31 |
|
|
mandir = @mandir@
|
32 |
|
|
includedir = @includedir@
|
33 |
|
|
oldincludedir = /usr/include
|
34 |
|
|
|
35 |
|
|
DISTDIR =
|
36 |
|
|
|
37 |
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
38 |
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
39 |
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
40 |
|
|
|
41 |
|
|
top_builddir = .
|
42 |
|
|
|
43 |
|
|
ACLOCAL = @ACLOCAL@
|
44 |
|
|
AUTOCONF = @AUTOCONF@
|
45 |
|
|
AUTOMAKE = @AUTOMAKE@
|
46 |
|
|
AUTOHEADER = @AUTOHEADER@
|
47 |
|
|
|
48 |
|
|
INSTALL = @INSTALL@
|
49 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
50 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
51 |
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
52 |
|
|
transform = @program_transform_name@
|
53 |
|
|
|
54 |
|
|
NORMAL_INSTALL = :
|
55 |
|
|
PRE_INSTALL = :
|
56 |
|
|
POST_INSTALL = :
|
57 |
|
|
NORMAL_UNINSTALL = :
|
58 |
|
|
PRE_UNINSTALL = :
|
59 |
|
|
POST_UNINSTALL = :
|
60 |
|
|
host_alias = @host_alias@
|
61 |
|
|
host_triplet = @host@
|
62 |
|
|
AR = @AR@
|
63 |
|
|
AS = @AS@
|
64 |
|
|
CC = @CC@
|
65 |
|
|
CPP = @CPP@
|
66 |
|
|
EXEEXT = @EXEEXT@
|
67 |
|
|
MAINT = @MAINT@
|
68 |
|
|
MAKEINFO = @MAKEINFO@
|
69 |
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
70 |
|
|
PACKAGE = @PACKAGE@
|
71 |
|
|
RANLIB = @RANLIB@
|
72 |
|
|
VERSION = @VERSION@
|
73 |
|
|
machine_dir = @machine_dir@
|
74 |
|
|
newlib_basedir = @newlib_basedir@
|
75 |
|
|
sys_dir = @sys_dir@
|
76 |
|
|
|
77 |
|
|
AUTOMAKE_OPTIONS = cygnus
|
78 |
|
|
|
79 |
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
80 |
|
|
|
81 |
|
|
noinst_LIBRARIES = lib.a
|
82 |
|
|
|
83 |
39 |
lampret |
# _r.o is for the reentrant syscall stubs.
|
84 |
|
|
|
85 |
56 |
joel |
SUFFIXES = _r.o
|
86 |
39 |
lampret |
|
87 |
|
|
# We no longer copy files out of /lib/libc.a. This is kept around until
|
88 |
|
|
# most of them have replacements.
|
89 |
|
|
#
|
90 |
|
|
#COPYOFILES = \
|
91 |
|
|
# Ovfork.o _sigvec.o abort.o access.o chown.o creat.o \
|
92 |
|
|
# errlst.o getdents.o getdtablesize.o getpid.o \
|
93 |
|
|
# getrusage.o gettimeofday.o ieee_globals.o ioctl.o isatty.o \
|
94 |
|
|
# kill.o popen.o sbrk.o sigblock.o sigpause.o sigsetmask.o \
|
95 |
|
|
# sigtramp.o sigvec.o sleep.o setitimer.o start_float.o \
|
96 |
|
|
# time.o times.o utime.o utimes.o wait3.o
|
97 |
56 |
joel |
COPYOFILES =
|
98 |
39 |
lampret |
|
99 |
|
|
# These files are from Sun's libc.a but must be renamed because they
|
100 |
|
|
# conflict with other library .o's. They are renamed to xxxS.o.
|
101 |
|
|
# div.o is used by times.o. errno.o conflicts with libc/errno/errno.o.
|
102 |
|
|
#COPYRENAMEOFILES = divS.o errnoS.o
|
103 |
56 |
joel |
COPYRENAMEOFILES =
|
104 |
39 |
lampret |
|
105 |
|
|
#COPYOMFILES = ieee_flags.o
|
106 |
56 |
joel |
COPYOMFILES =
|
107 |
39 |
lampret |
|
108 |
|
|
# CFILES_R, SFILES_R, and TEMPLATE_SFILES_R define those system calls that are
|
109 |
|
|
# needed by the ANSI C part of newlib (and thus we must provide namespace
|
110 |
|
|
# clean versions of them because we define REENTRANT_SYSCALLS_PROVIDED).
|
111 |
|
|
|
112 |
|
|
CFILES = _main.c ieee.c \
|
113 |
56 |
joel |
closedir.c opendir.c readdir.c rewinddir.c scandir.c seekdir.c \
|
114 |
|
|
telldir.c \
|
115 |
39 |
lampret |
creat.c isatty.c utime2.c
|
116 |
|
|
|
117 |
|
|
CFILES_R =
|
118 |
|
|
|
119 |
|
|
SFILES = cerror.S crt0.S dup2.S execve.S _exit.S sigsetjmp.S utime.S
|
120 |
|
|
|
121 |
|
|
SFILES_R = sbrk.S wait.S
|
122 |
|
|
|
123 |
|
|
# List of files built from template.S (with an '_' suffix).
|
124 |
|
|
|
125 |
|
|
TEMPLATE_SFILES = access_ chdir_ chmod_ chown_ dup_ fcntl_ \
|
126 |
|
|
lstat_ mkdir_ pipe_ rmdir_ times_ umask_ utimes_
|
127 |
|
|
|
128 |
|
|
TEMPLATE_SFILES_R = close_ fork_ fstat_ getpid_ gettimeofday_ kill_ \
|
129 |
|
|
link_ lseek_ open_ read_ stat_ times_ unlink_ wait4_ write_
|
130 |
|
|
|
131 |
|
|
OFILES = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
|
132 |
|
|
$(SFILES:.S=.o) $(SFILES_R:.S=.o) $(SFILES_R:.S=_r.o) \
|
133 |
|
|
$(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) $(TEMPLATE_SFILES_R:_=_r.o) \
|
134 |
|
|
$(CFILES:.c=.o) $(CFILES_R:.c=.o) $(CFILES_R:.c=_r.o)
|
135 |
|
|
|
136 |
56 |
joel |
lib_a_SOURCES = $(SFILES) $(SFILES_R) $(CFILES) $(CFILES_R)
|
137 |
|
|
lib_a_LIBADD = $(COPYOFILES) $(COPYRENAMEOFILES) $(COPYOMFILES) \
|
138 |
|
|
$(SFILES_R:.S=_r.o) \
|
139 |
|
|
$(TEMPLATE_SFILES:_=.o) $(TEMPLATE_SFILES_R:_=.o) \
|
140 |
|
|
$(TEMPLATE_SFILES_R:_=_r.o) \
|
141 |
|
|
$(CFILES_R:.c=_r.o)
|
142 |
39 |
lampret |
|
143 |
56 |
joel |
ACLOCAL_AMFLAGS = -I ../../..
|
144 |
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
145 |
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
146 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
|
147 |
|
|
CONFIG_CLEAN_FILES =
|
148 |
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
149 |
39 |
lampret |
|
150 |
|
|
|
151 |
56 |
joel |
DEFS = @DEFS@ -I. -I$(srcdir)
|
152 |
|
|
CPPFLAGS = @CPPFLAGS@
|
153 |
|
|
LDFLAGS = @LDFLAGS@
|
154 |
|
|
LIBS = @LIBS@
|
155 |
|
|
lib_a_DEPENDENCIES = sbrk_r.o wait_r.o access.o chdir.o chmod.o chown.o \
|
156 |
|
|
dup.o fcntl.o lstat.o mkdir.o pipe.o rmdir.o times.o umask.o utimes.o \
|
157 |
|
|
close.o fork.o fstat.o getpid.o gettimeofday.o kill.o link.o lseek.o \
|
158 |
|
|
open.o read.o stat.o times.o unlink.o wait4.o write.o close_r.o \
|
159 |
|
|
fork_r.o fstat_r.o getpid_r.o gettimeofday_r.o kill_r.o link_r.o \
|
160 |
|
|
lseek_r.o open_r.o read_r.o stat_r.o times_r.o unlink_r.o wait4_r.o \
|
161 |
|
|
write_r.o
|
162 |
|
|
lib_a_OBJECTS = cerror.o crt0.o dup2.o execve.o _exit.o sigsetjmp.o \
|
163 |
|
|
utime.o sbrk.o wait.o _main.o ieee.o closedir.o opendir.o readdir.o \
|
164 |
|
|
rewinddir.o scandir.o seekdir.o telldir.o creat.o isatty.o utime2.o
|
165 |
|
|
CFLAGS = @CFLAGS@
|
166 |
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
167 |
|
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
168 |
|
|
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
172 |
|
|
|
173 |
|
|
TAR = tar
|
174 |
|
|
GZIP = --best
|
175 |
|
|
SOURCES = $(lib_a_SOURCES)
|
176 |
|
|
OBJECTS = $(lib_a_OBJECTS)
|
177 |
|
|
|
178 |
|
|
all: Makefile $(LIBRARIES)
|
179 |
|
|
|
180 |
|
|
.SUFFIXES:
|
181 |
|
|
.SUFFIXES: .S .c .o .s _r.o
|
182 |
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
183 |
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
184 |
|
|
|
185 |
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
186 |
|
|
cd $(top_builddir) \
|
187 |
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
188 |
|
|
|
189 |
|
|
$(ACLOCAL_M4): @MAINT@ configure.in ../../../acinclude.m4 \
|
190 |
|
|
../../../aclocal.m4
|
191 |
|
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
192 |
|
|
|
193 |
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
194 |
|
|
$(SHELL) ./config.status --recheck
|
195 |
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
196 |
|
|
cd $(srcdir) && $(AUTOCONF)
|
197 |
|
|
|
198 |
|
|
mostlyclean-noinstLIBRARIES:
|
199 |
|
|
|
200 |
|
|
clean-noinstLIBRARIES:
|
201 |
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
202 |
|
|
|
203 |
|
|
distclean-noinstLIBRARIES:
|
204 |
|
|
|
205 |
|
|
maintainer-clean-noinstLIBRARIES:
|
206 |
|
|
|
207 |
|
|
.c.o:
|
208 |
|
|
$(COMPILE) -c $<
|
209 |
|
|
|
210 |
|
|
.s.o:
|
211 |
|
|
$(COMPILE) -c $<
|
212 |
|
|
|
213 |
|
|
.S.o:
|
214 |
|
|
$(COMPILE) -c $<
|
215 |
|
|
|
216 |
|
|
mostlyclean-compile:
|
217 |
|
|
-rm -f *.o core *.core
|
218 |
|
|
|
219 |
|
|
clean-compile:
|
220 |
|
|
|
221 |
|
|
distclean-compile:
|
222 |
|
|
-rm -f *.tab.c
|
223 |
|
|
|
224 |
|
|
maintainer-clean-compile:
|
225 |
|
|
|
226 |
|
|
lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
|
227 |
|
|
-rm -f lib.a
|
228 |
|
|
$(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
|
229 |
|
|
$(RANLIB) lib.a
|
230 |
|
|
|
231 |
|
|
tags: TAGS
|
232 |
|
|
|
233 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
234 |
|
|
here=`pwd` && cd $(srcdir) \
|
235 |
|
|
&& mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
|
236 |
|
|
|
237 |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
238 |
|
|
tags=; \
|
239 |
|
|
here=`pwd`; \
|
240 |
|
|
list='$(SOURCES) $(HEADERS)'; \
|
241 |
|
|
unique=`for i in $$list; do echo $$i; done | \
|
242 |
|
|
awk ' { files[$$0] = 1; } \
|
243 |
|
|
END { for (i in files) print i; }'`; \
|
244 |
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
245 |
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
246 |
|
|
|
247 |
|
|
mostlyclean-tags:
|
248 |
|
|
|
249 |
|
|
clean-tags:
|
250 |
|
|
|
251 |
|
|
distclean-tags:
|
252 |
|
|
-rm -f TAGS ID
|
253 |
|
|
|
254 |
|
|
maintainer-clean-tags:
|
255 |
|
|
|
256 |
|
|
distdir = $(PACKAGE)-$(VERSION)
|
257 |
|
|
top_distdir = $(distdir)
|
258 |
|
|
|
259 |
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
260 |
|
|
# it guarantees that the distribution is self-contained by making another
|
261 |
|
|
# tarfile.
|
262 |
|
|
distcheck: dist
|
263 |
|
|
-rm -rf $(distdir)
|
264 |
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
265 |
|
|
mkdir $(distdir)/=build
|
266 |
|
|
mkdir $(distdir)/=inst
|
267 |
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
268 |
|
|
cd $(distdir)/=build \
|
269 |
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
270 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
271 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
272 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
273 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
274 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
275 |
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
276 |
|
|
-rm -rf $(distdir)
|
277 |
|
|
@echo "========================"; \
|
278 |
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
279 |
|
|
echo "========================"
|
280 |
|
|
dist: distdir
|
281 |
|
|
-chmod -R a+r $(distdir)
|
282 |
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
283 |
|
|
-rm -rf $(distdir)
|
284 |
|
|
dist-all: distdir
|
285 |
|
|
-chmod -R a+r $(distdir)
|
286 |
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
287 |
|
|
-rm -rf $(distdir)
|
288 |
|
|
distdir: $(DISTFILES)
|
289 |
|
|
-rm -rf $(distdir)
|
290 |
|
|
mkdir $(distdir)
|
291 |
|
|
-chmod 777 $(distdir)
|
292 |
|
|
@for file in $(DISTFILES); do \
|
293 |
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
294 |
|
|
test -f $(distdir)/$$file \
|
295 |
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
296 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
297 |
|
|
done
|
298 |
|
|
info:
|
299 |
|
|
dvi:
|
300 |
|
|
check:
|
301 |
|
|
$(MAKE) $(AM_MAKEFLAGS)
|
302 |
|
|
installcheck:
|
303 |
|
|
install-info:
|
304 |
|
|
install-exec:
|
305 |
|
|
@$(NORMAL_INSTALL)
|
306 |
|
|
|
307 |
|
|
install-data:
|
308 |
|
|
@$(NORMAL_INSTALL)
|
309 |
|
|
|
310 |
|
|
install: install-exec install-data all
|
311 |
|
|
@:
|
312 |
|
|
|
313 |
|
|
uninstall:
|
314 |
|
|
|
315 |
|
|
install-strip:
|
316 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
317 |
|
|
installdirs:
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
mostlyclean-generic:
|
321 |
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
322 |
|
|
|
323 |
|
|
clean-generic:
|
324 |
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
325 |
|
|
|
326 |
|
|
distclean-generic:
|
327 |
|
|
-rm -f Makefile $(DISTCLEANFILES)
|
328 |
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
329 |
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
330 |
|
|
|
331 |
|
|
maintainer-clean-generic:
|
332 |
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
333 |
|
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
334 |
|
|
mostlyclean: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
335 |
|
|
mostlyclean-tags mostlyclean-generic
|
336 |
|
|
|
337 |
|
|
clean: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
338 |
|
|
mostlyclean
|
339 |
|
|
|
340 |
|
|
distclean: distclean-noinstLIBRARIES distclean-compile distclean-tags \
|
341 |
|
|
distclean-generic clean
|
342 |
|
|
-rm -f config.status
|
343 |
|
|
|
344 |
|
|
maintainer-clean: maintainer-clean-noinstLIBRARIES \
|
345 |
|
|
maintainer-clean-compile maintainer-clean-tags \
|
346 |
|
|
maintainer-clean-generic distclean
|
347 |
|
|
@echo "This command is intended for maintainers to use;"
|
348 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
349 |
|
|
-rm -f config.status
|
350 |
|
|
|
351 |
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
352 |
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
353 |
|
|
mostlyclean-compile distclean-compile clean-compile \
|
354 |
|
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
355 |
|
|
clean-tags maintainer-clean-tags distdir info dvi installcheck \
|
356 |
|
|
install-info install-exec install-data install uninstall all \
|
357 |
|
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
358 |
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
.S_r.o:
|
362 |
|
|
$(COMPILE) -DREENT -c $< -o $@
|
363 |
|
|
|
364 |
|
|
.c_r.o:
|
365 |
|
|
$(COMPILE) -DREENT -c $< -o $@
|
366 |
|
|
|
367 |
39 |
lampret |
$(COPYOFILES):
|
368 |
56 |
joel |
$(AR) x /lib/libc.a $(COPYOFILES)
|
369 |
39 |
lampret |
|
370 |
|
|
$(COPYRENAMEOFILES):
|
371 |
56 |
joel |
$(AR) x /lib/libc.a $(COPYRENAMEOFILES:S.o=.o)
|
372 |
39 |
lampret |
for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
|
373 |
|
|
|
374 |
|
|
$(COPYOMFILES):
|
375 |
56 |
joel |
$(AR) x /lib/libm.a $(COPYOMFILES)
|
376 |
39 |
lampret |
|
377 |
|
|
stamp-srcs: Makefile template.S template_r.S
|
378 |
56 |
joel |
for f in $(TEMPLATE_SFILES:_=); do \
|
379 |
|
|
$(COMPILE) -E -Dfunc=$$f $(srcdir)/template.S >$$f.S; \
|
380 |
39 |
lampret |
done
|
381 |
56 |
joel |
for f in $(TEMPLATE_SFILES_R:_=); do \
|
382 |
|
|
$(COMPILE) -E -Dfunc=$$f $(srcdir)/template_r.S | sed -e 's/^_/#/' >$$f.S; \
|
383 |
39 |
lampret |
done
|
384 |
|
|
touch stamp-srcs
|
385 |
|
|
|
386 |
|
|
# Make a dependency for each file built from a template.
|
387 |
|
|
|
388 |
|
|
$(TEMPLATE_SFILES:_=.S) $(TEMPLATE_SFILES_R:_=.S): stamp-srcs
|
389 |
|
|
|
390 |
56 |
joel |
all: crt0.o
|
391 |
39 |
lampret |
|
392 |
|
|
close_r.o: close.S
|
393 |
|
|
fork_r.o: fork.S
|
394 |
|
|
fstat_r.o: fstat.S
|
395 |
|
|
getpid_r.o: getpid.S
|
396 |
|
|
gettimeofday_r.o: gettimeofday.S
|
397 |
|
|
kill_r.o: kill.S
|
398 |
|
|
link_r.o: link.S
|
399 |
|
|
lseek_r.o: lseek.S
|
400 |
|
|
open_r.o: open.S
|
401 |
|
|
read_r.o: read.S
|
402 |
|
|
sbrk_r.o: sbrk.S
|
403 |
|
|
stat_r.o: stat.S
|
404 |
|
|
times_r.o: times.S
|
405 |
|
|
unlink_r.o: unlink.S
|
406 |
|
|
wait_r.o: wait.S
|
407 |
|
|
wait4_r.o: wait4.S
|
408 |
|
|
write_r.o: write.S
|
409 |
56 |
joel |
|
410 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
411 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
412 |
|
|
.NOEXPORT:
|