source: rtems/c/src/lib/libbsp/powerpc/psim/tools/Makefile.in @ d2d22780

4.104.114.84.95
Last change on this file since d2d22780 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: 7.0 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@
69MAKEINFO = @MAKEINFO@
70PACKAGE = @PACKAGE@
71PROJECT_ROOT = @PROJECT_ROOT@
72RTEMS_CPU = @RTEMS_CPU@
73RTEMS_ROOT = @RTEMS_ROOT@
74RTEMS_TOPdir = @RTEMS_TOPdir@
75VERSION = @VERSION@
76
77AUTOMAKE_OPTIONS = foreign
78ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
79
80noinst_SCRIPTS = psim runtest
81ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
82mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
83CONFIG_CLEAN_FILES =
84SCRIPTS =  $(noinst_SCRIPTS)
85
86DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
87
88
89DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
90
91TAR = tar
92GZIP_ENV = --best
93all: all-redirect
94.SUFFIXES:
95$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am
96        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
97
98Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
99        cd $(top_builddir) \
100          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
101
102$(ACLOCAL_M4):  configure.in
103        cd $(srcdir) && $(ACLOCAL)
104
105config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
106        $(SHELL) ./config.status --recheck
107$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
108        cd $(srcdir) && $(AUTOCONF)
109tags: TAGS
110TAGS:
111
112
113distdir = $(PACKAGE)-$(VERSION)
114top_distdir = $(distdir)
115
116# This target untars the dist file and tries a VPATH configuration.  Then
117# it guarantees that the distribution is self-contained by making another
118# tarfile.
119distcheck: dist
120        -rm -rf $(distdir)
121        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
122        mkdir $(distdir)/=build
123        mkdir $(distdir)/=inst
124        dc_install_base=`cd $(distdir)/=inst && pwd`; \
125        cd $(distdir)/=build \
126          && ../configure --srcdir=.. --prefix=$$dc_install_base \
127          && $(MAKE) $(AM_MAKEFLAGS) \
128          && $(MAKE) $(AM_MAKEFLAGS) dvi \
129          && $(MAKE) $(AM_MAKEFLAGS) check \
130          && $(MAKE) $(AM_MAKEFLAGS) install \
131          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
132          && $(MAKE) $(AM_MAKEFLAGS) dist
133        -rm -rf $(distdir)
134        @banner="$(distdir).tar.gz is ready for distribution"; \
135        dashes=`echo "$$banner" | sed s/./=/g`; \
136        echo "$$dashes"; \
137        echo "$$banner"; \
138        echo "$$dashes"
139dist: distdir
140        -chmod -R a+r $(distdir)
141        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
142        -rm -rf $(distdir)
143dist-all: distdir
144        -chmod -R a+r $(distdir)
145        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
146        -rm -rf $(distdir)
147distdir: $(DISTFILES)
148        -rm -rf $(distdir)
149        mkdir $(distdir)
150        -chmod 777 $(distdir)
151        here=`cd $(top_builddir) && pwd`; \
152        top_distdir=`cd $(distdir) && pwd`; \
153        distdir=`cd $(distdir) && pwd`; \
154        cd $(top_srcdir) \
155          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
156        @for file in $(DISTFILES); do \
157          d=$(srcdir); \
158          if test -d $$d/$$file; then \
159            cp -pr $$/$$file $(distdir)/$$file; \
160          else \
161            test -f $(distdir)/$$file \
162            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
163            || cp -p $$d/$$file $(distdir)/$$file || :; \
164          fi; \
165        done
166info-am:
167info: info-am
168dvi-am:
169dvi: dvi-am
170check-am: all-am
171check: check-am
172installcheck-am:
173installcheck: installcheck-am
174install-exec-am:
175install-exec: install-exec-am
176
177install-data-am:
178install-data: install-data-am
179
180install-am: all-am
181        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
182install: install-am
183uninstall-am:
184uninstall: uninstall-am
185all-am: Makefile $(SCRIPTS) all-local
186all-redirect: all-am
187install-strip:
188        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
189installdirs:
190
191
192mostlyclean-generic:
193
194clean-generic:
195
196distclean-generic:
197        -rm -f Makefile $(CONFIG_CLEAN_FILES)
198        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
199
200maintainer-clean-generic:
201mostlyclean-am:  mostlyclean-generic
202
203mostlyclean: mostlyclean-am
204
205clean-am:  clean-generic mostlyclean-am
206
207clean: clean-am
208
209distclean-am:  distclean-generic clean-am
210
211distclean: distclean-am
212        -rm -f config.status
213
214maintainer-clean-am:  maintainer-clean-generic distclean-am
215        @echo "This command is intended for maintainers to use;"
216        @echo "it deletes files that may require special tools to rebuild."
217
218maintainer-clean: maintainer-clean-am
219        -rm -f config.status
220
221.PHONY: tags distdir info-am info dvi-am dvi check check-am \
222installcheck-am installcheck install-exec-am install-exec \
223install-data-am install-data install-am install uninstall-am uninstall \
224all-local all-redirect all-am all installdirs mostlyclean-generic \
225distclean-generic clean-generic maintainer-clean-generic clean \
226mostlyclean distclean maintainer-clean
227
228
229# HACK: install to build-tree
230all-local: $(SCRIPTS)
231        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/tests
232        $(INSTALL_SCRIPT) $(srcdir)/runtest $(PROJECT_ROOT)/${RTEMS_BSP}/tests/runtest
233        $(INSTALL_SCRIPT) $(srcdir)/psim $(PROJECT_ROOT)/${RTEMS_BSP}/tests/psim
234        $(INSTALL_SCRIPT) $(srcdir)/psim $(PROJECT_ROOT)/${RTEMS_BSP}/tests/psim-gdb
235
236debug-am:
237debug: debug-am
238.PHONY: debug debug-am
239
240debug_install-am:
241debug_install: debug_install-am
242.PHONY: debug_install debug_install-am
243
244profile-am:
245profile: profile-am
246.PHONY: profile profile-am
247
248profile_install-am:
249profile_install: profile_install-am
250.PHONY: profile_install profile_install-am
251
252preinstall-am:
253preinstall: preinstall-am
254.PHONY: preinstall preinstall-am
255
256clobber-am:
257clobber: clobber-am
258.PHONY: clobber clobber-am
259
260depend-am:
261depend: depend-am
262.PHONY: depend depend-am
263
264# Tell versions [3.59,3.63) of GNU make to not export all variables.
265# Otherwise a system limit (for SysV at least) may be exceeded.
266.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.