source: rtems/make/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 07/26/99 at 21:26:44

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