source: rtems/Makefile.in @ 01be59d

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