source: rtems/c/Makefile.in @ a719382

4.104.114.84.95
Last change on this file since a719382 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.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_BSP_LIST = @RTEMS_BSP_LIST@
76RTEMS_CPU = @RTEMS_CPU@
77RTEMS_HOST = @RTEMS_HOST@
78RTEMS_TOPdir = @RTEMS_TOPdir@
79VERSION = @VERSION@
80rtems_bsp_configure = @rtems_bsp_configure@
81
82AUTOMAKE_OPTIONS = foreign 1.4
83ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
84
85RTEMS_BSP = $(RTEMS_BSP_LIST)
86SUBDIRS =  . $(RTEMS_BSP)
87
88
89EXTRA_DIST =  ACKNOWLEDGEMENTS README.DOS REQUIRES PROBLEMS TESTED README UPDATE_HELP
90
91
92DIST_SUBDIRS = ${RTEMS_BSP}
93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
95CONFIG_CLEAN_FILES =
96DIST_COMMON =  README Makefile.am Makefile.in aclocal.m4 configure \
97configure.in
98
99
100DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
101
102TAR = tar
103GZIP_ENV = --best
104all: all-redirect
105.SUFFIXES:
106$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../automake/subdirs.am $(top_srcdir)/../automake/local.am
107        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
108
109Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
110        cd $(top_builddir) \
111          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
112
113$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
114        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
115
116config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
117        $(SHELL) ./config.status --recheck
118$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
119        cd $(srcdir) && $(AUTOCONF)
120
121# This directory's subdirectories are mostly independent; you can cd
122# into them and run `make' without going through this Makefile.
123# To change the values of `make' variables: instead of editing Makefiles,
124# (1) if the variable is set in `config.status', edit `config.status'
125#     (which will cause the Makefiles to be regenerated when you run `make');
126# (2) otherwise, pass the desired values on the `make' command line.
127
128@SET_MAKE@
129
130all-recursive install-data-recursive install-exec-recursive \
131installdirs-recursive install-recursive uninstall-recursive  \
132check-recursive installcheck-recursive info-recursive dvi-recursive:
133        @set fnord $(MAKEFLAGS); amf=$$2; \
134        dot_seen=no; \
135        target=`echo $@ | sed s/-recursive//`; \
136        list='$(SUBDIRS)'; for subdir in $$list; do \
137          echo "Making $$target in $$subdir"; \
138          if test "$$subdir" = "."; then \
139            dot_seen=yes; \
140            local_target="$$target-am"; \
141          else \
142            local_target="$$target"; \
143          fi; \
144          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
145           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
146        done; \
147        if test "$$dot_seen" = "no"; then \
148          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
149        fi; test -z "$$fail"
150
151mostlyclean-recursive clean-recursive distclean-recursive \
152maintainer-clean-recursive:
153        @set fnord $(MAKEFLAGS); amf=$$2; \
154        dot_seen=no; \
155        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
156          rev="$$subdir $$rev"; \
157          test "$$subdir" = "." && dot_seen=yes; \
158        done; \
159        test "$$dot_seen" = "no" && rev=". $$rev"; \
160        target=`echo $@ | sed s/-recursive//`; \
161        for subdir in $$rev; do \
162          echo "Making $$target in $$subdir"; \
163          if test "$$subdir" = "."; then \
164            local_target="$$target-am"; \
165          else \
166            local_target="$$target"; \
167          fi; \
168          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
169           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
170        done && test -z "$$fail"
171tags-recursive:
172        list='$(SUBDIRS)'; for subdir in $$list; do \
173          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
174        done
175
176tags: TAGS
177
178ID: $(HEADERS) $(SOURCES) $(LISP)
179        list='$(SOURCES) $(HEADERS)'; \
180        unique=`for i in $$list; do echo $$i; done | \
181          awk '    { files[$$0] = 1; } \
182               END { for (i in files) print i; }'`; \
183        here=`pwd` && cd $(srcdir) \
184          && mkid -f$$here/ID $$unique $(LISP)
185
186TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
187        tags=; \
188        here=`pwd`; \
189        list='$(SUBDIRS)'; for subdir in $$list; do \
190   if test "$$subdir" = .; then :; else \
191            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
192   fi; \
193        done; \
194        list='$(SOURCES) $(HEADERS)'; \
195        unique=`for i in $$list; do echo $$i; done | \
196          awk '    { files[$$0] = 1; } \
197               END { for (i in files) print i; }'`; \
198        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
199          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
200
201mostlyclean-tags:
202
203clean-tags:
204
205distclean-tags:
206        -rm -f TAGS ID
207
208maintainer-clean-tags:
209
210distdir = $(PACKAGE)-$(VERSION)
211top_distdir = $(distdir)
212
213# This target untars the dist file and tries a VPATH configuration.  Then
214# it guarantees that the distribution is self-contained by making another
215# tarfile.
216distcheck: dist
217        -rm -rf $(distdir)
218        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
219        mkdir $(distdir)/=build
220        mkdir $(distdir)/=inst
221        dc_install_base=`cd $(distdir)/=inst && pwd`; \
222        cd $(distdir)/=build \
223          && ../configure --srcdir=.. --prefix=$$dc_install_base \
224          && $(MAKE) $(AM_MAKEFLAGS) \
225          && $(MAKE) $(AM_MAKEFLAGS) dvi \
226          && $(MAKE) $(AM_MAKEFLAGS) check \
227          && $(MAKE) $(AM_MAKEFLAGS) install \
228          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
229          && $(MAKE) $(AM_MAKEFLAGS) dist
230        -rm -rf $(distdir)
231        @banner="$(distdir).tar.gz is ready for distribution"; \
232        dashes=`echo "$$banner" | sed s/./=/g`; \
233        echo "$$dashes"; \
234        echo "$$banner"; \
235        echo "$$dashes"
236dist: distdir
237        -chmod -R a+r $(distdir)
238        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
239        -rm -rf $(distdir)
240dist-all: distdir
241        -chmod -R a+r $(distdir)
242        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
243        -rm -rf $(distdir)
244distdir: $(DISTFILES)
245        -rm -rf $(distdir)
246        mkdir $(distdir)
247        -chmod 777 $(distdir)
248        here=`cd $(top_builddir) && pwd`; \
249        top_distdir=`cd $(distdir) && pwd`; \
250        distdir=`cd $(distdir) && pwd`; \
251        cd $(top_srcdir) \
252          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
253        @for file in $(DISTFILES); do \
254          d=$(srcdir); \
255          if test -d $$d/$$file; then \
256            cp -pr $$/$$file $(distdir)/$$file; \
257          else \
258            test -f $(distdir)/$$file \
259            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
260            || cp -p $$d/$$file $(distdir)/$$file || :; \
261          fi; \
262        done
263        for subdir in $(DIST_SUBDIRS); do \
264          if test "$$subdir" = .; then :; else \
265            test -d $(distdir)/$$subdir \
266            || mkdir $(distdir)/$$subdir \
267            || exit 1; \
268            chmod 777 $(distdir)/$$subdir; \
269            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
270              || exit 1; \
271          fi; \
272        done
273info-am:
274info: info-recursive
275dvi-am:
276dvi: dvi-recursive
277check-am: all-am
278check: check-recursive
279installcheck-am:
280installcheck: installcheck-recursive
281install-exec-am:
282install-exec: install-exec-recursive
283
284install-data-am:
285install-data: install-data-recursive
286
287install-am: all-am
288        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
289install: install-recursive
290uninstall-am:
291uninstall: uninstall-recursive
292all-am: Makefile
293all-redirect: all-recursive
294install-strip:
295        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
296installdirs: installdirs-recursive
297installdirs-am:
298
299
300mostlyclean-generic:
301
302clean-generic:
303
304distclean-generic:
305        -rm -f Makefile $(CONFIG_CLEAN_FILES)
306        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
307
308maintainer-clean-generic:
309mostlyclean-am:  mostlyclean-tags mostlyclean-generic
310
311mostlyclean: mostlyclean-recursive
312
313clean-am:  clean-tags clean-generic mostlyclean-am
314
315clean: clean-recursive
316
317distclean-am:  distclean-tags distclean-generic clean-am
318
319distclean: distclean-recursive
320        -rm -f config.status
321
322maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
323                distclean-am
324        @echo "This command is intended for maintainers to use;"
325        @echo "it deletes files that may require special tools to rebuild."
326
327maintainer-clean: maintainer-clean-recursive
328        -rm -f config.status
329
330.PHONY: install-data-recursive uninstall-data-recursive \
331install-exec-recursive uninstall-exec-recursive installdirs-recursive \
332uninstalldirs-recursive all-recursive check-recursive \
333installcheck-recursive info-recursive dvi-recursive \
334mostlyclean-recursive distclean-recursive clean-recursive \
335maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
336distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
337dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
338install-exec install-data-am install-data install-am install \
339uninstall-am uninstall all-redirect all-am all installdirs-am \
340installdirs mostlyclean-generic distclean-generic clean-generic \
341maintainer-clean-generic clean mostlyclean distclean maintainer-clean
342
343
344@RTEMS_BSP_LIST@: src/configure
345        @set fnord $(MAKEFLAGS); amf=$$2; \
346        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
347          echo "Configuring RTEMS_BSP=$$i"; \
348          test -d $$i || mkdir $$i; \
349          ( cd $$i && \
350            RTEMS_BSP=$$i $(rtems_bsp_configure) \
351            && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
352          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
353        done
354
355all-am: ${RTEMS_BSP}
356debug-am: ${RTEMS_BSP}
357profile-am: ${RTEMS_BSP}
358preinstall-am: ${RTEMS_BSP}
359depend-am: ${RTEMS_BSP}
360
361depend-recursive \
362preinstall-recursive \
363debug-recursive \
364profile-recursive:
365        @set fnord $(MAKEFLAGS); amf=$$2; \
366        dot_seen=no; \
367        target=`echo $@ | sed s/-recursive//`; \
368        list='$(SUBDIRS)'; for subdir in $$list; do \
369          echo "Making $$target in $$subdir"; \
370          if test "$$subdir" = "."; then \
371            dot_seen=yes; \
372            local_target="$$target-am"; \
373          else \
374            local_target="$$target"; \
375          fi; \
376          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
377           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
378        done; \
379        if test "$$dot_seen" = "no"; then \
380          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
381        fi; test -z "$$fail"
382
383debug: debug-recursive
384.PHONY: debug-recursive
385
386profile: profile-recursive
387.PHONY: profile-recursive
388
389preinstall: preinstall-recursive
390.PHONY: preinstall-recursive
391
392depend: depend-recursive
393.PHONY: depend-recursive
394
395debug-am:
396debug: debug-am
397.PHONY: debug debug-am
398
399profile-am:
400profile: profile-am
401.PHONY: profile profile-am
402
403preinstall-am:
404preinstall: preinstall-am
405.PHONY: preinstall preinstall-am
406
407depend-am:
408depend: depend-am
409.PHONY: depend depend-am
410# -------------------------------------------------------
411
412# Tell versions [3.59,3.63) of GNU make to not export all variables.
413# Otherwise a system limit (for SysV at least) may be exceeded.
414.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.