source: rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in @ b0ac03f4

4.104.114.84.95
Last change on this file since b0ac03f4 was d2d22780, checked in by Joel Sherrill <joel.sherrill@…>, on 06/15/99 at 22:46:44

Patch from Ralf Corsepius <corsepiu@…>:

When I run my script that just repeatedly builds different targets, some
of them die with an error like this:

Making all RTEMS_BSP=gen68360 in cpugmake[5]: Entering directory
`/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
Making all RTEMS_BSP=gen68360 in @RTEMS_CPU@
/bin/sh: @RTEMS_CPU@: No such file or directory
gmake[5]: * [all] Error 1
gmake[5]: Leaving directory
`/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'

It is not always the same variable substitution that fails. Sometimes it
is @INSTALL@. But reliably, it is a variable substitution that is
failing.

Do you have any idea why this happens?

Yep, I think I know what's going on.

AC_SUBST(RTEMS_CPU) is missing in configure.ins, thus @RTEMS_CPU@ in
target.cfg.in doesn't get substituted correctly, causing the bug above. Due
to the redundancy of RTEMS_CPU, other most BSPs don't seem to be affected.

Other similar problems probably exist for the unix/posix bsp and the hppa.1
cpu, because their */tools/*Makefile.ams require RTEMS_CPU, too.

  • Property mode set to 100644
File size: 10.5 KB
Line 
1# Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 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
8# 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
13#
14# $Id$
15#
16
17
18
19SHELL = @SHELL@
20
21srcdir = @srcdir@
22top_srcdir = @top_srcdir@
23VPATH = @srcdir@
24prefix = @prefix@
25exec_prefix = @exec_prefix@
26
27bindir = @bindir@
28sbindir = @sbindir@
29libexecdir = @libexecdir@
30datadir = @datadir@
31sysconfdir = @sysconfdir@
32sharedstatedir = @sharedstatedir@
33localstatedir = @localstatedir@
34libdir = @libdir@
35infodir = @infodir@
36mandir = @mandir@
37includedir = @includedir@
38oldincludedir = /usr/include
39
40DESTDIR =
41
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45
46top_builddir = .
47AUTOCONF = @AUTOCONF@
48AUTOMAKE = @AUTOMAKE@
49AUTOHEADER = @AUTOHEADER@
50
51INSTALL = @INSTALL@
52INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
53INSTALL_DATA = @INSTALL_DATA@
54INSTALL_SCRIPT = @INSTALL_SCRIPT@
55transform = @program_transform_name@
56
57NORMAL_INSTALL = :
58PRE_INSTALL = :
59POST_INSTALL = :
60NORMAL_UNINSTALL = :
61PRE_UNINSTALL = :
62POST_UNINSTALL = :
63build_alias = @build_alias@
64build_triplet = @build@
65host_alias = @host_alias@
66host_triplet = @host@
67target_alias = @target_alias@
68target_triplet = @target@
69CC = @CC@
70MAKEINFO = @MAKEINFO@
71PACKAGE = @PACKAGE@
72PROJECT_ROOT = @PROJECT_ROOT@
73RTEMS_CPU = @RTEMS_CPU@
74RTEMS_ROOT = @RTEMS_ROOT@
75RTEMS_TOPdir = @RTEMS_TOPdir@
76VERSION = @VERSION@
77
78AUTOMAKE_OPTIONS = foreign
79ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
80
81EXTRA_DIST = Spec.doc
82
83noinst_PROGRAMS =  bin2boot binpatch
84
85
86bin2boot_SOURCES = bin2boot.c
87binpatch_SOURCES = binpatch.c
88ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
89mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
90CONFIG_CLEAN_FILES =
91PROGRAMS =  $(noinst_PROGRAMS)
92
93
94DEFS = @DEFS@ -I. -I$(srcdir)
95CPPFLAGS = @CPPFLAGS@
96LDFLAGS = @LDFLAGS@
97LIBS = @LIBS@
98bin2boot_OBJECTS =  bin2boot.o
99bin2boot_LDADD = $(LDADD)
100bin2boot_DEPENDENCIES =
101bin2boot_LDFLAGS =
102binpatch_OBJECTS =  binpatch.o
103binpatch_LDADD = $(LDADD)
104binpatch_DEPENDENCIES =
105binpatch_LDFLAGS =
106CFLAGS = @CFLAGS@
107COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
108CCLD = $(CC)
109LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
110DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
111
112
113DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
114
115TAR = tar
116GZIP_ENV = --best
117DEP_FILES =  .deps/bin2boot.P .deps/binpatch.P
118SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES)
119OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS)
120
121all: all-redirect
122.SUFFIXES:
123.SUFFIXES: .S .c .o .s
124$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am
125        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
126
127Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
128        cd $(top_builddir) \
129          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
130
131$(ACLOCAL_M4):  configure.in
132        cd $(srcdir) && $(ACLOCAL)
133
134config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
135        $(SHELL) ./config.status --recheck
136$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
137        cd $(srcdir) && $(AUTOCONF)
138
139mostlyclean-noinstPROGRAMS:
140
141clean-noinstPROGRAMS:
142        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
143
144distclean-noinstPROGRAMS:
145
146maintainer-clean-noinstPROGRAMS:
147
148.s.o:
149        $(COMPILE) -c $<
150
151.S.o:
152        $(COMPILE) -c $<
153
154mostlyclean-compile:
155        -rm -f *.o core *.core
156
157clean-compile:
158
159distclean-compile:
160        -rm -f *.tab.c
161
162maintainer-clean-compile:
163
164bin2boot: $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES)
165        @rm -f bin2boot
166        $(LINK) $(bin2boot_LDFLAGS) $(bin2boot_OBJECTS) $(bin2boot_LDADD) $(LIBS)
167
168binpatch: $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES)
169        @rm -f binpatch
170        $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS)
171
172tags: TAGS
173
174ID: $(HEADERS) $(SOURCES) $(LISP)
175        list='$(SOURCES) $(HEADERS)'; \
176        unique=`for i in $$list; do echo $$i; done | \
177          awk '    { files[$$0] = 1; } \
178               END { for (i in files) print i; }'`; \
179        here=`pwd` && cd $(srcdir) \
180          && mkid -f$$here/ID $$unique $(LISP)
181
182TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
183        tags=; \
184        here=`pwd`; \
185        list='$(SOURCES) $(HEADERS)'; \
186        unique=`for i in $$list; do echo $$i; done | \
187          awk '    { files[$$0] = 1; } \
188               END { for (i in files) print i; }'`; \
189        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
190          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
191
192mostlyclean-tags:
193
194clean-tags:
195
196distclean-tags:
197        -rm -f TAGS ID
198
199maintainer-clean-tags:
200
201distdir = $(PACKAGE)-$(VERSION)
202top_distdir = $(distdir)
203
204# This target untars the dist file and tries a VPATH configuration.  Then
205# it guarantees that the distribution is self-contained by making another
206# tarfile.
207distcheck: dist
208        -rm -rf $(distdir)
209        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
210        mkdir $(distdir)/=build
211        mkdir $(distdir)/=inst
212        dc_install_base=`cd $(distdir)/=inst && pwd`; \
213        cd $(distdir)/=build \
214          && ../configure --srcdir=.. --prefix=$$dc_install_base \
215          && $(MAKE) $(AM_MAKEFLAGS) \
216          && $(MAKE) $(AM_MAKEFLAGS) dvi \
217          && $(MAKE) $(AM_MAKEFLAGS) check \
218          && $(MAKE) $(AM_MAKEFLAGS) install \
219          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
220          && $(MAKE) $(AM_MAKEFLAGS) dist
221        -rm -rf $(distdir)
222        @banner="$(distdir).tar.gz is ready for distribution"; \
223        dashes=`echo "$$banner" | sed s/./=/g`; \
224        echo "$$dashes"; \
225        echo "$$banner"; \
226        echo "$$dashes"
227dist: distdir
228        -chmod -R a+r $(distdir)
229        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
230        -rm -rf $(distdir)
231dist-all: distdir
232        -chmod -R a+r $(distdir)
233        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
234        -rm -rf $(distdir)
235distdir: $(DISTFILES)
236        -rm -rf $(distdir)
237        mkdir $(distdir)
238        -chmod 777 $(distdir)
239        here=`cd $(top_builddir) && pwd`; \
240        top_distdir=`cd $(distdir) && pwd`; \
241        distdir=`cd $(distdir) && pwd`; \
242        cd $(top_srcdir) \
243          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
244        @for file in $(DISTFILES); do \
245          d=$(srcdir); \
246          if test -d $$d/$$file; then \
247            cp -pr $$/$$file $(distdir)/$$file; \
248          else \
249            test -f $(distdir)/$$file \
250            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
251            || cp -p $$d/$$file $(distdir)/$$file || :; \
252          fi; \
253        done
254
255DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
256
257-include $(DEP_FILES)
258
259mostlyclean-depend:
260
261clean-depend:
262
263distclean-depend:
264        -rm -rf .deps
265
266maintainer-clean-depend:
267
268%.o: %.c
269        @echo '$(COMPILE) -c $<'; \
270        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
271        @-cp .deps/$(*F).pp .deps/$(*F).P; \
272        tr ' ' '\012' < .deps/$(*F).pp \
273          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
274            >> .deps/$(*F).P; \
275        rm .deps/$(*F).pp
276
277%.lo: %.c
278        @echo '$(LTCOMPILE) -c $<'; \
279        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
280        @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
281          < .deps/$(*F).pp > .deps/$(*F).P; \
282        tr ' ' '\012' < .deps/$(*F).pp \
283          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
284            >> .deps/$(*F).P; \
285        rm -f .deps/$(*F).pp
286info-am:
287info: info-am
288dvi-am:
289dvi: dvi-am
290check-am: all-am
291check: check-am
292installcheck-am:
293installcheck: installcheck-am
294install-exec-am: install-exec-local
295install-exec: install-exec-am
296
297install-data-am:
298install-data: install-data-am
299
300install-am: all-am
301        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
302install: install-am
303uninstall-am:
304uninstall: uninstall-am
305all-am: Makefile $(PROGRAMS)
306all-redirect: all-am
307install-strip:
308        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
309installdirs:
310
311
312mostlyclean-generic:
313
314clean-generic:
315
316distclean-generic:
317        -rm -f Makefile $(CONFIG_CLEAN_FILES)
318        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
319
320maintainer-clean-generic:
321mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
322                mostlyclean-tags mostlyclean-depend mostlyclean-generic
323
324mostlyclean: mostlyclean-am
325
326clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
327                clean-generic mostlyclean-am
328
329clean: clean-am
330
331distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
332                distclean-depend distclean-generic clean-am
333
334distclean: distclean-am
335        -rm -f config.status
336
337maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
338                maintainer-clean-compile maintainer-clean-tags \
339                maintainer-clean-depend maintainer-clean-generic \
340                distclean-am
341        @echo "This command is intended for maintainers to use;"
342        @echo "it deletes files that may require special tools to rebuild."
343
344maintainer-clean: maintainer-clean-am
345        -rm -f config.status
346
347.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
348clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
349mostlyclean-compile distclean-compile clean-compile \
350maintainer-clean-compile tags mostlyclean-tags distclean-tags \
351clean-tags maintainer-clean-tags distdir mostlyclean-depend \
352distclean-depend clean-depend maintainer-clean-depend info-am info \
353dvi-am dvi check check-am installcheck-am installcheck \
354install-exec-local install-exec-am install-exec install-data-am \
355install-data install-am install uninstall-am uninstall all-redirect \
356all-am all installdirs mostlyclean-generic distclean-generic \
357clean-generic maintainer-clean-generic clean mostlyclean distclean \
358maintainer-clean
359
360
361# HACK: install into build-tree
362preinstall: install-exec-local
363
364install-exec-local: $(PROGRAMS)
365        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools
366        $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools
367        $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools
368
369debug-am:
370debug: debug-am
371.PHONY: debug debug-am
372
373debug_install-am:
374debug_install: debug_install-am
375.PHONY: debug_install debug_install-am
376
377profile-am:
378profile: profile-am
379.PHONY: profile profile-am
380
381profile_install-am:
382profile_install: profile_install-am
383.PHONY: profile_install profile_install-am
384
385preinstall-am:
386preinstall: preinstall-am
387.PHONY: preinstall preinstall-am
388
389clobber-am:
390clobber: clobber-am
391.PHONY: clobber clobber-am
392
393depend-am:
394depend: depend-am
395.PHONY: depend depend-am
396
397# Tell versions [3.59,3.63) of GNU make to not export all variables.
398# Otherwise a system limit (for SysV at least) may be exceeded.
399.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.