source: rtems/c/src/exec/score/tools/hppa1.1/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 Jun 15, 1999 at 10:46:44 PM

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.3 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@
77project_bindir = @project_bindir@
78project_includedir = @project_includedir@
79project_libdir = @project_libdir@
80tooldir = @tooldir@
81
82AUTOMAKE_OPTIONS = foreign
83ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
84
85noinst_PROGRAMS = genoffsets
86
87genoffsets_SOURCES =  genoffsets.c
88
89
90# We use files that have not been installed yet.
91
92CPU_DIR = ../../cpu/$(RTEMS_CPU)
93
94INCLUDES =  -I$(PROJECT_INCLUDE) -I$(CPU_DIR)
95
96ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
98CONFIG_CLEAN_FILES =
99PROGRAMS =  $(noinst_PROGRAMS)
100
101
102DEFS = @DEFS@ -I. -I$(srcdir)
103CPPFLAGS = @CPPFLAGS@
104LDFLAGS = @LDFLAGS@
105LIBS = @LIBS@
106genoffsets_OBJECTS =  genoffsets.o
107genoffsets_LDADD = $(LDADD)
108genoffsets_DEPENDENCIES =
109genoffsets_LDFLAGS =
110CFLAGS = @CFLAGS@
111COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
112CCLD = $(CC)
113LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
114DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
115
116
117DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
118
119TAR = tar
120GZIP_ENV = --best
121DEP_FILES =  .deps/genoffsets.P
122SOURCES = $(genoffsets_SOURCES)
123OBJECTS = $(genoffsets_OBJECTS)
124
125all: all-redirect
126.SUFFIXES:
127.SUFFIXES: .S .c .o .s
128$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am
129        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
130
131Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
132        cd $(top_builddir) \
133          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
134
135$(ACLOCAL_M4):  configure.in
136        cd $(srcdir) && $(ACLOCAL)
137
138config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
139        $(SHELL) ./config.status --recheck
140$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
141        cd $(srcdir) && $(AUTOCONF)
142
143mostlyclean-noinstPROGRAMS:
144
145clean-noinstPROGRAMS:
146        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
147
148distclean-noinstPROGRAMS:
149
150maintainer-clean-noinstPROGRAMS:
151
152.s.o:
153        $(COMPILE) -c $<
154
155.S.o:
156        $(COMPILE) -c $<
157
158mostlyclean-compile:
159        -rm -f *.o core *.core
160
161clean-compile:
162
163distclean-compile:
164        -rm -f *.tab.c
165
166maintainer-clean-compile:
167
168genoffsets: $(genoffsets_OBJECTS) $(genoffsets_DEPENDENCIES)
169        @rm -f genoffsets
170        $(LINK) $(genoffsets_LDFLAGS) $(genoffsets_OBJECTS) $(genoffsets_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 to build-tree
362preinstall: install-exec-local
363
364install-exec-local: genoffsets
365        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
366        $(INSTALL_PROGRAM) genoffsets ${PROJECT_ROOT}/${RTEMS_BSP}/bin
367
368debug-am:
369debug: debug-am
370.PHONY: debug debug-am
371
372debug_install-am:
373debug_install: debug_install-am
374.PHONY: debug_install debug_install-am
375
376profile-am:
377profile: profile-am
378.PHONY: profile profile-am
379
380profile_install-am:
381profile_install: profile_install-am
382.PHONY: profile_install profile_install-am
383
384preinstall-am:
385preinstall: preinstall-am
386.PHONY: preinstall preinstall-am
387
388clobber-am:
389clobber: clobber-am
390.PHONY: clobber clobber-am
391
392depend-am:
393depend: depend-am
394.PHONY: depend depend-am
395
396# Tell versions [3.59,3.63) of GNU make to not export all variables.
397# Otherwise a system limit (for SysV at least) may be exceeded.
398.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.