source: rtems/c/src/lib/libbsp/m68k/mvme162/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: 9.9 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
81noinst_PROGRAMS = sload
82
83sload_SOURCES = sload.c
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
86CONFIG_CLEAN_FILES =
87PROGRAMS =  $(noinst_PROGRAMS)
88
89
90DEFS = @DEFS@ -I. -I$(srcdir)
91CPPFLAGS = @CPPFLAGS@
92LDFLAGS = @LDFLAGS@
93LIBS = @LIBS@
94sload_OBJECTS =  sload.o
95sload_LDADD = $(LDADD)
96sload_DEPENDENCIES =
97sload_LDFLAGS =
98CFLAGS = @CFLAGS@
99COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
100CCLD = $(CC)
101LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
102DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
103
104
105DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
106
107TAR = tar
108GZIP_ENV = --best
109DEP_FILES =  .deps/sload.P
110SOURCES = $(sload_SOURCES)
111OBJECTS = $(sload_OBJECTS)
112
113all: all-redirect
114.SUFFIXES:
115.SUFFIXES: .S .c .o .s
116$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am
117        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
118
119Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
120        cd $(top_builddir) \
121          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
122
123$(ACLOCAL_M4):  configure.in
124        cd $(srcdir) && $(ACLOCAL)
125
126config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
127        $(SHELL) ./config.status --recheck
128$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
129        cd $(srcdir) && $(AUTOCONF)
130
131mostlyclean-noinstPROGRAMS:
132
133clean-noinstPROGRAMS:
134        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
135
136distclean-noinstPROGRAMS:
137
138maintainer-clean-noinstPROGRAMS:
139
140.s.o:
141        $(COMPILE) -c $<
142
143.S.o:
144        $(COMPILE) -c $<
145
146mostlyclean-compile:
147        -rm -f *.o core *.core
148
149clean-compile:
150
151distclean-compile:
152        -rm -f *.tab.c
153
154maintainer-clean-compile:
155
156sload: $(sload_OBJECTS) $(sload_DEPENDENCIES)
157        @rm -f sload
158        $(LINK) $(sload_LDFLAGS) $(sload_OBJECTS) $(sload_LDADD) $(LIBS)
159
160tags: TAGS
161
162ID: $(HEADERS) $(SOURCES) $(LISP)
163        list='$(SOURCES) $(HEADERS)'; \
164        unique=`for i in $$list; do echo $$i; done | \
165          awk '    { files[$$0] = 1; } \
166               END { for (i in files) print i; }'`; \
167        here=`pwd` && cd $(srcdir) \
168          && mkid -f$$here/ID $$unique $(LISP)
169
170TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
171        tags=; \
172        here=`pwd`; \
173        list='$(SOURCES) $(HEADERS)'; \
174        unique=`for i in $$list; do echo $$i; done | \
175          awk '    { files[$$0] = 1; } \
176               END { for (i in files) print i; }'`; \
177        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
178          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
179
180mostlyclean-tags:
181
182clean-tags:
183
184distclean-tags:
185        -rm -f TAGS ID
186
187maintainer-clean-tags:
188
189distdir = $(PACKAGE)-$(VERSION)
190top_distdir = $(distdir)
191
192# This target untars the dist file and tries a VPATH configuration.  Then
193# it guarantees that the distribution is self-contained by making another
194# tarfile.
195distcheck: dist
196        -rm -rf $(distdir)
197        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
198        mkdir $(distdir)/=build
199        mkdir $(distdir)/=inst
200        dc_install_base=`cd $(distdir)/=inst && pwd`; \
201        cd $(distdir)/=build \
202          && ../configure --srcdir=.. --prefix=$$dc_install_base \
203          && $(MAKE) $(AM_MAKEFLAGS) \
204          && $(MAKE) $(AM_MAKEFLAGS) dvi \
205          && $(MAKE) $(AM_MAKEFLAGS) check \
206          && $(MAKE) $(AM_MAKEFLAGS) install \
207          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
208          && $(MAKE) $(AM_MAKEFLAGS) dist
209        -rm -rf $(distdir)
210        @banner="$(distdir).tar.gz is ready for distribution"; \
211        dashes=`echo "$$banner" | sed s/./=/g`; \
212        echo "$$dashes"; \
213        echo "$$banner"; \
214        echo "$$dashes"
215dist: distdir
216        -chmod -R a+r $(distdir)
217        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
218        -rm -rf $(distdir)
219dist-all: distdir
220        -chmod -R a+r $(distdir)
221        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
222        -rm -rf $(distdir)
223distdir: $(DISTFILES)
224        -rm -rf $(distdir)
225        mkdir $(distdir)
226        -chmod 777 $(distdir)
227        here=`cd $(top_builddir) && pwd`; \
228        top_distdir=`cd $(distdir) && pwd`; \
229        distdir=`cd $(distdir) && pwd`; \
230        cd $(top_srcdir) \
231          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
232        @for file in $(DISTFILES); do \
233          d=$(srcdir); \
234          if test -d $$d/$$file; then \
235            cp -pr $$/$$file $(distdir)/$$file; \
236          else \
237            test -f $(distdir)/$$file \
238            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
239            || cp -p $$d/$$file $(distdir)/$$file || :; \
240          fi; \
241        done
242
243DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
244
245-include $(DEP_FILES)
246
247mostlyclean-depend:
248
249clean-depend:
250
251distclean-depend:
252        -rm -rf .deps
253
254maintainer-clean-depend:
255
256%.o: %.c
257        @echo '$(COMPILE) -c $<'; \
258        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
259        @-cp .deps/$(*F).pp .deps/$(*F).P; \
260        tr ' ' '\012' < .deps/$(*F).pp \
261          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
262            >> .deps/$(*F).P; \
263        rm .deps/$(*F).pp
264
265%.lo: %.c
266        @echo '$(LTCOMPILE) -c $<'; \
267        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
268        @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
269          < .deps/$(*F).pp > .deps/$(*F).P; \
270        tr ' ' '\012' < .deps/$(*F).pp \
271          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
272            >> .deps/$(*F).P; \
273        rm -f .deps/$(*F).pp
274info-am:
275info: info-am
276dvi-am:
277dvi: dvi-am
278check-am: all-am
279check: check-am
280installcheck-am:
281installcheck: installcheck-am
282install-exec-am: install-exec-local
283install-exec: install-exec-am
284
285install-data-am:
286install-data: install-data-am
287
288install-am: all-am
289        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
290install: install-am
291uninstall-am:
292uninstall: uninstall-am
293all-am: Makefile $(PROGRAMS)
294all-redirect: all-am
295install-strip:
296        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
297installdirs:
298
299
300mostlyclean-generic:
301
302clean-generic:
303
304distclean-generic:
305        -rm -f Makefile $(CONFIG_CLEAN_FILES)
306        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
307
308maintainer-clean-generic:
309mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
310                mostlyclean-tags mostlyclean-depend mostlyclean-generic
311
312mostlyclean: mostlyclean-am
313
314clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
315                clean-generic mostlyclean-am
316
317clean: clean-am
318
319distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
320                distclean-depend distclean-generic clean-am
321
322distclean: distclean-am
323        -rm -f config.status
324
325maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
326                maintainer-clean-compile maintainer-clean-tags \
327                maintainer-clean-depend maintainer-clean-generic \
328                distclean-am
329        @echo "This command is intended for maintainers to use;"
330        @echo "it deletes files that may require special tools to rebuild."
331
332maintainer-clean: maintainer-clean-am
333        -rm -f config.status
334
335.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
336clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
337mostlyclean-compile distclean-compile clean-compile \
338maintainer-clean-compile tags mostlyclean-tags distclean-tags \
339clean-tags maintainer-clean-tags distdir mostlyclean-depend \
340distclean-depend clean-depend maintainer-clean-depend info-am info \
341dvi-am dvi check check-am installcheck-am installcheck \
342install-exec-local install-exec-am install-exec install-data-am \
343install-data install-am install uninstall-am uninstall all-redirect \
344all-am all installdirs mostlyclean-generic distclean-generic \
345clean-generic maintainer-clean-generic clean mostlyclean distclean \
346maintainer-clean
347
348
349# HACK: install to build-tree
350install-exec-local: $(PROGRAMS)
351        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
352        $(INSTALL_PROGRAM) $(PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
353
354debug-am:
355debug: debug-am
356.PHONY: debug debug-am
357
358debug_install-am:
359debug_install: debug_install-am
360.PHONY: debug_install debug_install-am
361
362profile-am:
363profile: profile-am
364.PHONY: profile profile-am
365
366profile_install-am:
367profile_install: profile_install-am
368.PHONY: profile_install profile_install-am
369
370preinstall-am:
371preinstall: preinstall-am
372.PHONY: preinstall preinstall-am
373
374clobber-am:
375clobber: clobber-am
376.PHONY: clobber clobber-am
377
378depend-am:
379depend: depend-am
380.PHONY: depend depend-am
381
382# Tell versions [3.59,3.63) of GNU make to not export all variables.
383# Otherwise a system limit (for SysV at least) may be exceeded.
384.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.