source: rtems/tools/cpu/generic/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 03/23/99 at 18:02:17

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: 7.2 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# NOTE: This is a temporary work-around to keep
21# "make debug" and "make debug_install" working.
22# Once automake is fully integrated these make targets
23# and this file will probably be removed
24
25
26SHELL = @SHELL@
27
28srcdir = @srcdir@
29top_srcdir = @top_srcdir@
30VPATH = @srcdir@
31prefix = @prefix@
32exec_prefix = @exec_prefix@
33
34bindir = @bindir@
35sbindir = @sbindir@
36libexecdir = @libexecdir@
37datadir = @datadir@
38sysconfdir = @sysconfdir@
39sharedstatedir = @sharedstatedir@
40localstatedir = @localstatedir@
41libdir = @libdir@
42infodir = @infodir@
43mandir = @mandir@
44includedir = @includedir@
45oldincludedir = /usr/include
46
47DESTDIR =
48
49pkgdatadir = $(datadir)/@PACKAGE@
50pkglibdir = $(libdir)/@PACKAGE@
51pkgincludedir = $(includedir)/@PACKAGE@
52
53top_builddir = .
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@
76KSH = @KSH@
77MAKEINFO = @MAKEINFO@
78PACKAGE = @PACKAGE@
79PROJECT_ROOT = @PROJECT_ROOT@
80RTEMS_TOPdir = @RTEMS_TOPdir@
81VERSION = @VERSION@
82program_prefix = @program_prefix@
83project_bindir = @project_bindir@
84project_includedir = @project_includedir@
85project_libdir = @project_libdir@
86tooldir = @tooldir@
87
88AUTOMAKE_OPTIONS = foreign
89ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
90
91# FIXME: This script doesn't make sense to be installed
92noinst_SCRIPTS = size_rtems
93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
95CONFIG_CLEAN_FILES =  size_rtems
96SCRIPTS =  $(noinst_SCRIPTS)
97
98DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in \
99size_rtems.in
100
101
102DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
103
104TAR = tar
105GZIP_ENV = --best
106all: all-redirect
107.SUFFIXES:
108$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am
109        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
110
111Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
112        cd $(top_builddir) \
113          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
114
115$(ACLOCAL_M4):  configure.in
116        cd $(srcdir) && $(ACLOCAL)
117
118config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
119        $(SHELL) ./config.status --recheck
120$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
121        cd $(srcdir) && $(AUTOCONF)
122size_rtems: $(top_builddir)/config.status size_rtems.in
123        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
124tags: TAGS
125TAGS:
126
127
128distdir = $(PACKAGE)-$(VERSION)
129top_distdir = $(distdir)
130
131# This target untars the dist file and tries a VPATH configuration.  Then
132# it guarantees that the distribution is self-contained by making another
133# tarfile.
134distcheck: dist
135        -rm -rf $(distdir)
136        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
137        mkdir $(distdir)/=build
138        mkdir $(distdir)/=inst
139        dc_install_base=`cd $(distdir)/=inst && pwd`; \
140        cd $(distdir)/=build \
141          && ../configure --srcdir=.. --prefix=$$dc_install_base \
142          && $(MAKE) $(AM_MAKEFLAGS) \
143          && $(MAKE) $(AM_MAKEFLAGS) dvi \
144          && $(MAKE) $(AM_MAKEFLAGS) check \
145          && $(MAKE) $(AM_MAKEFLAGS) install \
146          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
147          && $(MAKE) $(AM_MAKEFLAGS) dist
148        -rm -rf $(distdir)
149        @banner="$(distdir).tar.gz is ready for distribution"; \
150        dashes=`echo "$$banner" | sed s/./=/g`; \
151        echo "$$dashes"; \
152        echo "$$banner"; \
153        echo "$$dashes"
154dist: distdir
155        -chmod -R a+r $(distdir)
156        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
157        -rm -rf $(distdir)
158dist-all: distdir
159        -chmod -R a+r $(distdir)
160        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
161        -rm -rf $(distdir)
162distdir: $(DISTFILES)
163        -rm -rf $(distdir)
164        mkdir $(distdir)
165        -chmod 777 $(distdir)
166        here=`cd $(top_builddir) && pwd`; \
167        top_distdir=`cd $(distdir) && pwd`; \
168        distdir=`cd $(distdir) && pwd`; \
169        cd $(top_srcdir) \
170          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
171        @for file in $(DISTFILES); do \
172          d=$(srcdir); \
173          if test -d $$d/$$file; then \
174            cp -pr $$/$$file $(distdir)/$$file; \
175          else \
176            test -f $(distdir)/$$file \
177            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
178            || cp -p $$d/$$file $(distdir)/$$file || :; \
179          fi; \
180        done
181info-am:
182info: info-am
183dvi-am:
184dvi: dvi-am
185check-am: all-am
186check: check-am
187installcheck-am:
188installcheck: installcheck-am
189install-exec-am: install-exec-local
190install-exec: install-exec-am
191
192install-data-am:
193install-data: install-data-am
194
195install-am: all-am
196        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
197install: install-am
198uninstall-am:
199uninstall: uninstall-am
200all-am: Makefile $(SCRIPTS)
201all-redirect: all-am
202install-strip:
203        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
204installdirs:
205
206
207mostlyclean-generic:
208
209clean-generic:
210
211distclean-generic:
212        -rm -f Makefile $(CONFIG_CLEAN_FILES)
213        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
214
215maintainer-clean-generic:
216mostlyclean-am:  mostlyclean-generic
217
218mostlyclean: mostlyclean-am
219
220clean-am:  clean-generic mostlyclean-am
221
222clean: clean-am
223
224distclean-am:  distclean-generic clean-am
225
226distclean: distclean-am
227        -rm -f config.status
228
229maintainer-clean-am:  maintainer-clean-generic distclean-am
230        @echo "This command is intended for maintainers to use;"
231        @echo "it deletes files that may require special tools to rebuild."
232
233maintainer-clean: maintainer-clean-am
234        -rm -f config.status
235
236.PHONY: tags distdir info-am info dvi-am dvi check check-am \
237installcheck-am installcheck install-exec-local install-exec-am \
238install-exec install-data-am install-data install-am install \
239uninstall-am uninstall all-redirect all-am all installdirs \
240mostlyclean-generic distclean-generic clean-generic \
241maintainer-clean-generic clean mostlyclean distclean maintainer-clean
242
243
244# HACK: install into build-tree
245preinstall: install-exec-local
246
247install-exec-local: size_rtems
248        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
249        $(INSTALL_SCRIPT) size_rtems $(PROJECT_ROOT)/${RTEMS_BSP}/bin
250
251debug-am:
252
253debug: debug-am
254
255debug_install-am:
256
257debug_install: debug_install-am
258
259profile-am:
260
261profile: profile-am
262
263profile_install-am:
264
265profile_install: profile_install-am
266
267.PHONY: debug debug_install profile profile_install
268
269# Tell versions [3.59,3.63) of GNU make to not export all variables.
270# Otherwise a system limit (for SysV at least) may be exceeded.
271.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.