source: rtems/c/src/lib/libcpu/sh/sh7032/Makefile.in @ 35d7b15

4.104.114.84.95
Last change on this file since 35d7b15 was 35d7b15, checked in by Joel Sherrill <joel.sherrill@…>, on 12/21/99 at 14:41:43

Patch rtems-rc-19991203-7.diff from Ralf Corsepius <corsepiu@…>
which adds partial automake support to libcpu/<cpu>/*.

Until now I have only implemented full automake support for the sh (my
demonstration example :) and the i386 (inevitiable for structural
reasons of this subdirectory). For all other cpus only their toplevel
directories (exception: powerpc), include subdirectories and a few
selected subdirectories have been converted to automake.
I did this on purpose, because add automake support to each subdirectory
requires individual adaptations which to be tested individually.

Additionally the weirdnesses of the powerpc subdirectories hit again,
esp. some powerpc cpu-models

  • install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install them to $(PROJECT_INCLUDE)/
  • the scheme used to configure libcpu/powerpc/ is difficult to implement using automake, therefore this subdirectory still is configured by autoconf (The one out of an unlimited set selection scheme hits again :), though powerpc/*/* subdirectories already apply automake.

The patch also reveils structural weaknesses in RTEMS:

E.g. There seem to exist at least 5 different general schemes:

  • Not using libcpu at all (eg. i960)
  • Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
  • Flat libcpu directory layout with cpu-variants merged into sources or not destinguishing cpu-variants (i386)
  • Not supporting variants with deep source tree (sparc, hppa, mips64orion)
  • Woven directory structure with shared directories (powerpc)

I regret having to say this, but from my POV this means, that there
doesn't exist a general implementation scheme for libcpu at all.

To apply:

rm -rf ./c/src/lib/libcpu/i386/wrapup
rm -rf ./c/src/lib/libcpu/mips64orion/include
rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
patch -p1 < rtems-rc-19991203-7.diff
./bootstrap

  • Property mode set to 100644
File size: 10.1 KB
Line 
1# Makefile.in generated automatically by automake 1.4a 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
15
16SHELL = @SHELL@
17
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@
21prefix = @prefix@
22exec_prefix = @exec_prefix@
23
24bindir = @bindir@
25sbindir = @sbindir@
26libexecdir = @libexecdir@
27datadir = @datadir@
28sysconfdir = @sysconfdir@
29sharedstatedir = @sharedstatedir@
30localstatedir = @localstatedir@
31libdir = @libdir@
32infodir = @infodir@
33mandir = @mandir@
34includedir = @includedir@
35oldincludedir = /usr/include
36
37DESTDIR =
38
39pkgdatadir = $(datadir)/@PACKAGE@
40pkglibdir = $(libdir)/@PACKAGE@
41pkgincludedir = $(includedir)/@PACKAGE@
42
43top_builddir = ..
44
45ACLOCAL = @ACLOCAL@
46AUTOCONF = @AUTOCONF@
47AUTOMAKE = @AUTOMAKE@
48AUTOHEADER = @AUTOHEADER@
49
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
53INSTALL_SCRIPT = @INSTALL_SCRIPT@
54INSTALL_STRIP_FLAG =
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@
70CC_FOR_TARGET = @CC_FOR_TARGET@
71CPP = @CPP@
72GCCSED = @GCCSED@
73INSTALL_CHANGE = @INSTALL_CHANGE@
74MAINT = @MAINT@
75MAKEINFO = @MAKEINFO@
76PACKAGE = @PACKAGE@
77PACKHEX = @PACKHEX@
78PROJECT_INCLUDE = @PROJECT_INCLUDE@
79PROJECT_RELEASE = @PROJECT_RELEASE@
80PROJECT_ROOT = @PROJECT_ROOT@
81RTEMS_BSP = @RTEMS_BSP@
82RTEMS_BSP_FAMILY = @RTEMS_BSP_FAMILY@
83RTEMS_CPU = @RTEMS_CPU@
84RTEMS_CPU_MODEL = @RTEMS_CPU_MODEL@
85RTEMS_HOST = @RTEMS_HOST@
86RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
87RTEMS_ROOT = @RTEMS_ROOT@
88RTEMS_TOPdir = @RTEMS_TOPdir@
89VERSION = @VERSION@
90
91AUTOMAKE_OPTIONS = foreign 1.4
92
93SUBDIRS = include clock timer null sci delay
94mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../mkinstalldirs
95CONFIG_CLEAN_FILES =
96DIST_COMMON =  Makefile.am Makefile.in
97
98
99DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
100
101TAR = gtar
102GZIP_ENV = --best
103all: all-redirect
104.SUFFIXES:
105$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../automake/subdirs.am $(top_srcdir)/../../../../../automake/local.am
106        cd $(top_srcdir) && $(AUTOMAKE) --foreign sh7032/Makefile
107
108Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
109        cd $(top_builddir) \
110          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
111
112
113# This directory's subdirectories are mostly independent; you can cd
114# into them and run `make' without going through this Makefile.
115# To change the values of `make' variables: instead of editing Makefiles,
116# (1) if the variable is set in `config.status', edit `config.status'
117#     (which will cause the Makefiles to be regenerated when you run `make');
118# (2) otherwise, pass the desired values on the `make' command line.
119
120@SET_MAKE@
121
122all-recursive install-data-recursive install-exec-recursive \
123installdirs-recursive install-recursive uninstall-recursive  \
124check-recursive installcheck-recursive info-recursive dvi-recursive:
125        @set fnord $(MAKEFLAGS); amf=$$2; \
126        dot_seen=no; \
127        target=`echo $@ | sed s/-recursive//`; \
128        list='$(SUBDIRS)'; for subdir in $$list; do \
129          echo "Making $$target in $$subdir"; \
130          if test "$$subdir" = "."; then \
131            dot_seen=yes; \
132            local_target="$$target-am"; \
133          else \
134            local_target="$$target"; \
135          fi; \
136          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
137           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
138        done; \
139        if test "$$dot_seen" = "no"; then \
140          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
141        fi; test -z "$$fail"
142
143mostlyclean-recursive clean-recursive distclean-recursive \
144maintainer-clean-recursive:
145        @set fnord $(MAKEFLAGS); amf=$$2; \
146        dot_seen=no; \
147        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
148          rev="$$subdir $$rev"; \
149          test "$$subdir" = "." && dot_seen=yes; \
150        done; \
151        test "$$dot_seen" = "no" && rev=". $$rev"; \
152        target=`echo $@ | sed s/-recursive//`; \
153        for subdir in $$rev; do \
154          echo "Making $$target in $$subdir"; \
155          if test "$$subdir" = "."; then \
156            local_target="$$target-am"; \
157          else \
158            local_target="$$target"; \
159          fi; \
160          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
161           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
162        done && test -z "$$fail"
163tags-recursive:
164        list='$(SUBDIRS)'; for subdir in $$list; do \
165          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
166        done
167
168tags: TAGS
169
170ID: $(HEADERS) $(SOURCES) $(LISP)
171        list='$(SOURCES) $(HEADERS)'; \
172        unique=`for i in $$list; do echo $$i; done | \
173          awk '    { files[$$0] = 1; } \
174               END { for (i in files) print i; }'`; \
175        here=`pwd` && cd $(srcdir) \
176          && mkid -f$$here/ID $$unique $(LISP)
177
178TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
179        tags=; \
180        here=`pwd`; \
181        list='$(SUBDIRS)'; for subdir in $$list; do \
182   if test "$$subdir" = .; then :; else \
183            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
184   fi; \
185        done; \
186        list='$(SOURCES) $(HEADERS)'; \
187        unique=`for i in $$list; do echo $$i; done | \
188          awk '    { files[$$0] = 1; } \
189               END { for (i in files) print i; }'`; \
190        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
191          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
192
193mostlyclean-tags:
194
195clean-tags:
196
197distclean-tags:
198        -rm -f TAGS ID
199
200maintainer-clean-tags:
201
202distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
203
204subdir = sh7032
205
206distdir: $(DISTFILES)
207        here=`cd $(top_builddir) && pwd`; \
208        top_distdir=`cd $(top_distdir) && pwd`; \
209        distdir=`cd $(distdir) && pwd`; \
210        cd $(top_srcdir) \
211          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign sh7032/Makefile
212        @for file in $(DISTFILES); do \
213          d=$(srcdir); \
214          if test -d $$d/$$file; then \
215            cp -pr $$d/$$file $(distdir)/$$file; \
216          else \
217            test -f $(distdir)/$$file \
218            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
219            || cp -p $$d/$$file $(distdir)/$$file || :; \
220          fi; \
221        done
222        for subdir in $(SUBDIRS); do \
223          if test "$$subdir" = .; then :; else \
224            test -d $(distdir)/$$subdir \
225            || mkdir $(distdir)/$$subdir \
226            || exit 1; \
227            chmod 777 $(distdir)/$$subdir; \
228            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
229              || exit 1; \
230          fi; \
231        done
232info-am:
233info: info-recursive
234dvi-am:
235dvi: dvi-recursive
236check-am: all-am
237check: check-recursive
238installcheck-am:
239installcheck: installcheck-recursive
240install-exec-am:
241install-exec: install-exec-recursive
242
243install-data-am:
244install-data: install-data-recursive
245
246install-am: all-am
247        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
248install: install-recursive
249uninstall-am:
250uninstall: uninstall-recursive
251all-am: Makefile
252all-redirect: all-recursive
253install-strip:
254        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
255installdirs: installdirs-recursive
256installdirs-am:
257
258
259mostlyclean-generic:
260
261clean-generic:
262
263distclean-generic:
264        -rm -f Makefile $(CONFIG_CLEAN_FILES)
265        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
266
267maintainer-clean-generic:
268mostlyclean-am:  mostlyclean-tags mostlyclean-generic
269
270mostlyclean: mostlyclean-recursive
271
272clean-am:  clean-tags clean-generic mostlyclean-am
273
274clean: clean-recursive
275
276distclean-am:  distclean-tags distclean-generic clean-am
277
278distclean: distclean-recursive
279
280maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
281                distclean-am
282        @echo "This command is intended for maintainers to use;"
283        @echo "it deletes files that may require special tools to rebuild."
284
285maintainer-clean: maintainer-clean-recursive
286
287.PHONY: install-data-recursive uninstall-data-recursive \
288install-exec-recursive uninstall-exec-recursive installdirs-recursive \
289uninstalldirs-recursive all-recursive check-recursive \
290installcheck-recursive info-recursive dvi-recursive \
291mostlyclean-recursive distclean-recursive clean-recursive \
292maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
293distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
294dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
295install-exec install-data-am install-data install-am install \
296uninstall-am uninstall all-redirect all-am all installdirs-am \
297installdirs mostlyclean-generic distclean-generic clean-generic \
298maintainer-clean-generic clean mostlyclean distclean maintainer-clean
299
300
301depend-recursive \
302preinstall-recursive \
303debug-recursive \
304profile-recursive:
305        @set fnord $(MAKEFLAGS); amf=$$2; \
306        dot_seen=no; \
307        target=`echo $@ | sed s/-recursive//`; \
308        list='$(SUBDIRS)'; for subdir in $$list; do \
309          echo "Making $$target in $$subdir"; \
310          if test "$$subdir" = "."; then \
311            dot_seen=yes; \
312            local_target="$$target-am"; \
313          else \
314            local_target="$$target"; \
315          fi; \
316          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
317           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
318        done; \
319        if test "$$dot_seen" = "no"; then \
320          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
321        fi; test -z "$$fail"
322
323debug: debug-recursive
324.PHONY: debug-recursive
325
326profile: profile-recursive
327.PHONY: profile-recursive
328
329preinstall: preinstall-recursive
330.PHONY: preinstall-recursive
331
332depend: depend-recursive
333.PHONY: depend-recursive
334
335debug-am:
336debug: debug-am
337.PHONY: debug debug-am
338
339profile-am:
340profile: profile-am
341.PHONY: profile profile-am
342
343preinstall-am: $(PREINSTALL_FILES)
344preinstall: preinstall-am
345.PHONY: preinstall preinstall-am
346
347depend-am:
348depend: depend-am
349.PHONY: depend depend-am
350
351# Tell versions [3.59,3.63) of GNU make to not export all variables.
352# Otherwise a system limit (for SysV at least) may be exceeded.
353.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.