source: rtems/c/build-tools/Makefile.in @ 9b8baa1

4.104.114.84.95
Last change on this file since 9b8baa1 was 9b8baa1, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 23, 1999 at 6:02:17 PM

Automake II patch from Ralf Corsepius <corsepiu@…>. Email
description follows:

Description:

  • automake for *all* tool subdirectories (Makefile.am, configure.in etc.)
  • autogen now also considers CONFIG_HEADER (generates stamp-h.ins and config.h.ins)
  • c/src/tests/tools/generic/difftest and c/src/tests/tools/generic/sorttimes generated by configure scripts
  • c/update-tools/ampolish, beautifier for Makefile.ams, similar to acpolish
  • rtems-polish.sh added to c/update-tools/ + ampolish support
  • New subdirectory ./automake, contains automake -Makefile fragments to support RTEMS make "debug, debug_install, profile, profile_install" for native Makefile.ams (== ignore these make targets).
  • aclocal/rtems-top.m4's RTEMS_TOP now reads the automake makefile variable VERSION from RTEMS ./VERSION file.
  • ./configure.in uses the macros from aclocal + support for the tools' configure scripts

Remarks:

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