source: rtems/tools/cpu/Makefile.in @ 29e68b75

4.104.114.84.95
Last change on this file since 29e68b75 was 29e68b75, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 26, 1999 at 9:26:44 PM

Patch from Ralf Corsepius <corsepiu@…>:

This patch is an addition to "The big-patch"

CHANGES:

  • FIX: c/Makefile.am: bogus comment which changed the behavior of c/Makefile.am removed
  • FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly (Me thinks it might have been me who added this bogus setting :-).
  • NEW: removing make targets get, protos, debug_install, profile_install
  • NEW: replacing clobber with distclean
  • NEW: Reimplement distclean and clean as reverse depth first make targets (adaptation to automake's behavior)
  • NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is still in - remove it?)
  • NEW: "$(RM) Makefile" added to make distclean (adaptation to automake's behavior)
  • NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  • NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  • NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS, binpatch is not specific to the pc386 BSP at all)
  • NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC (Cygwin support)
  • NEW/Experimental: An experimental implementation of temporary installation tree support in libbsp/i386/pc386/tools/Makefile.am, based on dependency tracking with make, instead of applying INSTALL_CHANGE.

REMARK:

  • This patch is small in size, but changes the behavior of "make clean|distclean|clobber" basically.
  • This patch does not alter building/compiling RTEMS, ie. there should be no need to rerun all "make all" building tests.

KNOWN BUGS:

  • make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs subdirectories passed through RTEMS_BSP and in "c/." only, but does not descend into other BSP subdirectories previously configured with different settings of make RTEMS_BSP="...". => Workaround: always use the same setting of RTEMS_BSP when working inside the build-tree.
  • "make [distclean|clean]" do not clean subdirectories, which have been configured at configuration time, but which are not used due to make-time configuration (e.g. macros/networking/rdgb subdirectories). This will problem will vanish by itself when migrating from make-time to configuration-time configuration

APPLYING THE PATCH

mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
patch -p1 < rtems-rc-19990709-2.diff
autogen

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