source: rtems/tools/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: 10.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
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@ $(AM_INSTALL_PROGRAM_FLAGS)
52INSTALL_DATA = @INSTALL_DATA@
53INSTALL_SCRIPT = @INSTALL_SCRIPT@
54transform = @program_transform_name@
55
56NORMAL_INSTALL = :
57PRE_INSTALL = :
58POST_INSTALL = :
59NORMAL_UNINSTALL = :
60PRE_UNINSTALL = :
61POST_UNINSTALL = :
62build_alias = @build_alias@
63build_triplet = @build@
64host_alias = @host_alias@
65host_triplet = @host@
66target_alias = @target_alias@
67target_triplet = @target@
68MAINT = @MAINT@
69MAKEINFO = @MAKEINFO@
70PACKAGE = @PACKAGE@
71RTEMS_CPU = @RTEMS_CPU@
72RTEMS_HAS_HWAPI = @RTEMS_HAS_HWAPI@
73RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
74RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
75RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
76RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
77RTEMS_HOST = @RTEMS_HOST@
78RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
79RTEMS_TOPdir = @RTEMS_TOPdir@
80RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
81TARGET_SUBDIRS = @TARGET_SUBDIRS@
82VERSION = @VERSION@
83target_subdirs = @target_subdirs@
84
85AUTOMAKE_OPTIONS = foreign 1.4
86
87SUBDIRS = build cpu update
88mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
89CONFIG_CLEAN_FILES =
90DIST_COMMON =  Makefile.am Makefile.in
91
92
93DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
94
95TAR = tar
96GZIP_ENV = --best
97all: all-redirect
98.SUFFIXES:
99$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/automake/subdirs.am $(top_srcdir)/automake/local.am
100        cd $(top_srcdir) && $(AUTOMAKE) --foreign tools/Makefile
101
102Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
103        cd $(top_builddir) \
104          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
105
106
107# This directory's subdirectories are mostly independent; you can cd
108# into them and run `make' without going through this Makefile.
109# To change the values of `make' variables: instead of editing Makefiles,
110# (1) if the variable is set in `config.status', edit `config.status'
111#     (which will cause the Makefiles to be regenerated when you run `make');
112# (2) otherwise, pass the desired values on the `make' command line.
113
114@SET_MAKE@
115
116all-recursive install-data-recursive install-exec-recursive \
117installdirs-recursive install-recursive uninstall-recursive  \
118check-recursive installcheck-recursive info-recursive dvi-recursive:
119        @set fnord $(MAKEFLAGS); amf=$$2; \
120        dot_seen=no; \
121        target=`echo $@ | sed s/-recursive//`; \
122        list='$(SUBDIRS)'; for subdir in $$list; do \
123          echo "Making $$target in $$subdir"; \
124          if test "$$subdir" = "."; then \
125            dot_seen=yes; \
126            local_target="$$target-am"; \
127          else \
128            local_target="$$target"; \
129          fi; \
130          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
131           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
132        done; \
133        if test "$$dot_seen" = "no"; then \
134          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
135        fi; test -z "$$fail"
136
137mostlyclean-recursive clean-recursive distclean-recursive \
138maintainer-clean-recursive:
139        @set fnord $(MAKEFLAGS); amf=$$2; \
140        dot_seen=no; \
141        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
142          rev="$$subdir $$rev"; \
143          test "$$subdir" = "." && dot_seen=yes; \
144        done; \
145        test "$$dot_seen" = "no" && rev=". $$rev"; \
146        target=`echo $@ | sed s/-recursive//`; \
147        for subdir in $$rev; do \
148          echo "Making $$target in $$subdir"; \
149          if test "$$subdir" = "."; then \
150            local_target="$$target-am"; \
151          else \
152            local_target="$$target"; \
153          fi; \
154          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
155           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
156        done && test -z "$$fail"
157tags-recursive:
158        list='$(SUBDIRS)'; for subdir in $$list; do \
159          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
160        done
161
162tags: TAGS
163
164ID: $(HEADERS) $(SOURCES) $(LISP)
165        list='$(SOURCES) $(HEADERS)'; \
166        unique=`for i in $$list; do echo $$i; done | \
167          awk '    { files[$$0] = 1; } \
168               END { for (i in files) print i; }'`; \
169        here=`pwd` && cd $(srcdir) \
170          && mkid -f$$here/ID $$unique $(LISP)
171
172TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
173        tags=; \
174        here=`pwd`; \
175        list='$(SUBDIRS)'; for subdir in $$list; do \
176   if test "$$subdir" = .; then :; else \
177            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
178   fi; \
179        done; \
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        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
185          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
186
187mostlyclean-tags:
188
189clean-tags:
190
191distclean-tags:
192        -rm -f TAGS ID
193
194maintainer-clean-tags:
195
196distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
197
198subdir = tools
199
200distdir: $(DISTFILES)
201        here=`cd $(top_builddir) && pwd`; \
202        top_distdir=`cd $(top_distdir) && pwd`; \
203        distdir=`cd $(distdir) && pwd`; \
204        cd $(top_srcdir) \
205          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign tools/Makefile
206        @for file in $(DISTFILES); do \
207          d=$(srcdir); \
208          if test -d $$d/$$file; then \
209            cp -pr $$/$$file $(distdir)/$$file; \
210          else \
211            test -f $(distdir)/$$file \
212            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
213            || cp -p $$d/$$file $(distdir)/$$file || :; \
214          fi; \
215        done
216        for subdir in $(SUBDIRS); do \
217          if test "$$subdir" = .; then :; else \
218            test -d $(distdir)/$$subdir \
219            || mkdir $(distdir)/$$subdir \
220            || exit 1; \
221            chmod 777 $(distdir)/$$subdir; \
222            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
223              || exit 1; \
224          fi; \
225        done
226info-am:
227info: info-recursive
228dvi-am:
229dvi: dvi-recursive
230check-am: all-am
231check: check-recursive
232installcheck-am:
233installcheck: installcheck-recursive
234install-exec-am:
235install-exec: install-exec-recursive
236
237install-data-am:
238install-data: install-data-recursive
239
240install-am: all-am
241        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
242install: install-recursive
243uninstall-am:
244uninstall: uninstall-recursive
245all-am: Makefile
246all-redirect: all-recursive
247install-strip:
248        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
249installdirs: installdirs-recursive
250installdirs-am:
251
252
253mostlyclean-generic:
254
255clean-generic:
256
257distclean-generic:
258        -rm -f Makefile $(CONFIG_CLEAN_FILES)
259        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
260
261maintainer-clean-generic:
262mostlyclean-am:  mostlyclean-tags mostlyclean-generic
263
264mostlyclean: mostlyclean-recursive
265
266clean-am:  clean-tags clean-generic mostlyclean-am
267
268clean: clean-recursive
269
270distclean-am:  distclean-tags distclean-generic clean-am
271
272distclean: distclean-recursive
273
274maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
275                distclean-am
276        @echo "This command is intended for maintainers to use;"
277        @echo "it deletes files that may require special tools to rebuild."
278
279maintainer-clean: maintainer-clean-recursive
280
281.PHONY: install-data-recursive uninstall-data-recursive \
282install-exec-recursive uninstall-exec-recursive installdirs-recursive \
283uninstalldirs-recursive all-recursive check-recursive \
284installcheck-recursive info-recursive dvi-recursive \
285mostlyclean-recursive distclean-recursive clean-recursive \
286maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
287distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
288dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
289install-exec install-data-am install-data install-am install \
290uninstall-am uninstall all-redirect all-am all installdirs-am \
291installdirs mostlyclean-generic distclean-generic clean-generic \
292maintainer-clean-generic clean mostlyclean distclean maintainer-clean
293
294
295depend-recursive \
296preinstall-recursive \
297debug-recursive \
298profile-recursive:
299        @set fnord $(MAKEFLAGS); amf=$$2; \
300        dot_seen=no; \
301        target=`echo $@ | sed s/-recursive//`; \
302        list='$(SUBDIRS)'; for subdir in $$list; do \
303          echo "Making $$target in $$subdir"; \
304          if test "$$subdir" = "."; then \
305            dot_seen=yes; \
306            local_target="$$target-am"; \
307          else \
308            local_target="$$target"; \
309          fi; \
310          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
311           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
312        done; \
313        if test "$$dot_seen" = "no"; then \
314          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
315        fi; test -z "$$fail"
316
317debug: debug-recursive
318.PHONY: debug-recursive
319
320profile: profile-recursive
321.PHONY: profile-recursive
322
323preinstall: preinstall-recursive
324.PHONY: preinstall-recursive
325
326depend: depend-recursive
327.PHONY: depend-recursive
328
329debug-am:
330debug: debug-am
331.PHONY: debug debug-am
332
333profile-am:
334profile: profile-am
335.PHONY: profile profile-am
336
337preinstall-am:
338preinstall: preinstall-am
339.PHONY: preinstall preinstall-am
340
341depend-am:
342depend: depend-am
343.PHONY: depend depend-am
344
345# Tell versions [3.59,3.63) of GNU make to not export all variables.
346# Otherwise a system limit (for SysV at least) may be exceeded.
347.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.