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