source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/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: 10.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#  $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@
76CC = @CC@
77MAKEINFO = @MAKEINFO@
78PACKAGE = @PACKAGE@
79PROJECT_ROOT = @PROJECT_ROOT@
80RTEMS_TOPdir = @RTEMS_TOPdir@
81VERSION = @VERSION@
82
83AUTOMAKE_OPTIONS = foreign
84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
85
86noinst_PROGRAMS =  print_dump
87
88
89print_dump_SOURCES =  print_dump.c
90
91ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
93CONFIG_HEADER = config.h
94CONFIG_CLEAN_FILES =
95PROGRAMS =  $(noinst_PROGRAMS)
96
97
98DEFS = @DEFS@ -I. -I$(srcdir) -I.
99CPPFLAGS = @CPPFLAGS@
100LDFLAGS = @LDFLAGS@
101LIBS = @LIBS@
102print_dump_OBJECTS =  print_dump.o
103print_dump_LDADD = $(LDADD)
104print_dump_DEPENDENCIES =
105print_dump_LDFLAGS =
106CFLAGS = @CFLAGS@
107COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
108CCLD = $(CC)
109LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
110DIST_COMMON =  ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \
111config.h.in configure configure.in
112
113
114DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
115
116TAR = tar
117GZIP_ENV = --best
118DEP_FILES =  .deps/print_dump.P
119SOURCES = $(print_dump_SOURCES)
120OBJECTS = $(print_dump_OBJECTS)
121
122all: all-redirect
123.SUFFIXES:
124.SUFFIXES: .S .c .o .s
125$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(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):  configure.in
133        cd $(srcdir) && $(ACLOCAL)
134
135config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
136        $(SHELL) ./config.status --recheck
137$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
138        cd $(srcdir) && $(AUTOCONF)
139
140config.h: stamp-h
141        @if test ! -f $@; then \
142                rm -f stamp-h; \
143                $(MAKE) stamp-h; \
144        else :; fi
145stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
146        cd $(top_builddir) \
147          && CONFIG_FILES= CONFIG_HEADERS=config.h \
148             $(SHELL) ./config.status
149        @echo timestamp > stamp-h 2> /dev/null
150$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
151        @if test ! -f $@; then \
152                rm -f $(srcdir)/stamp-h.in; \
153                $(MAKE) $(srcdir)/stamp-h.in; \
154        else :; fi
155$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
156        cd $(top_srcdir) && $(AUTOHEADER)
157        @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
158
159mostlyclean-hdr:
160
161clean-hdr:
162
163distclean-hdr:
164        -rm -f config.h
165
166maintainer-clean-hdr:
167
168mostlyclean-noinstPROGRAMS:
169
170clean-noinstPROGRAMS:
171        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
172
173distclean-noinstPROGRAMS:
174
175maintainer-clean-noinstPROGRAMS:
176
177.s.o:
178        $(COMPILE) -c $<
179
180.S.o:
181        $(COMPILE) -c $<
182
183mostlyclean-compile:
184        -rm -f *.o core *.core
185
186clean-compile:
187
188distclean-compile:
189        -rm -f *.tab.c
190
191maintainer-clean-compile:
192
193print_dump: $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES)
194        @rm -f print_dump
195        $(LINK) $(print_dump_LDFLAGS) $(print_dump_OBJECTS) $(print_dump_LDADD) $(LIBS)
196
197tags: TAGS
198
199ID: $(HEADERS) $(SOURCES) $(LISP)
200        list='$(SOURCES) $(HEADERS)'; \
201        unique=`for i in $$list; do echo $$i; done | \
202          awk '    { files[$$0] = 1; } \
203               END { for (i in files) print i; }'`; \
204        here=`pwd` && cd $(srcdir) \
205          && mkid -f$$here/ID $$unique $(LISP)
206
207TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
208        tags=; \
209        here=`pwd`; \
210        list='$(SOURCES) $(HEADERS)'; \
211        unique=`for i in $$list; do echo $$i; done | \
212          awk '    { files[$$0] = 1; } \
213               END { for (i in files) print i; }'`; \
214        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
215          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
216
217mostlyclean-tags:
218
219clean-tags:
220
221distclean-tags:
222        -rm -f TAGS ID
223
224maintainer-clean-tags:
225
226distdir = $(PACKAGE)-$(VERSION)
227top_distdir = $(distdir)
228
229# This target untars the dist file and tries a VPATH configuration.  Then
230# it guarantees that the distribution is self-contained by making another
231# tarfile.
232distcheck: dist
233        -rm -rf $(distdir)
234        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
235        mkdir $(distdir)/=build
236        mkdir $(distdir)/=inst
237        dc_install_base=`cd $(distdir)/=inst && pwd`; \
238        cd $(distdir)/=build \
239          && ../configure --srcdir=.. --prefix=$$dc_install_base \
240          && $(MAKE) $(AM_MAKEFLAGS) \
241          && $(MAKE) $(AM_MAKEFLAGS) dvi \
242          && $(MAKE) $(AM_MAKEFLAGS) check \
243          && $(MAKE) $(AM_MAKEFLAGS) install \
244          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
245          && $(MAKE) $(AM_MAKEFLAGS) dist
246        -rm -rf $(distdir)
247        @banner="$(distdir).tar.gz is ready for distribution"; \
248        dashes=`echo "$$banner" | sed s/./=/g`; \
249        echo "$$dashes"; \
250        echo "$$banner"; \
251        echo "$$dashes"
252dist: distdir
253        -chmod -R a+r $(distdir)
254        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
255        -rm -rf $(distdir)
256dist-all: distdir
257        -chmod -R a+r $(distdir)
258        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
259        -rm -rf $(distdir)
260distdir: $(DISTFILES)
261        -rm -rf $(distdir)
262        mkdir $(distdir)
263        -chmod 777 $(distdir)
264        here=`cd $(top_builddir) && pwd`; \
265        top_distdir=`cd $(distdir) && pwd`; \
266        distdir=`cd $(distdir) && pwd`; \
267        cd $(top_srcdir) \
268          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
269        @for file in $(DISTFILES); do \
270          d=$(srcdir); \
271          if test -d $$d/$$file; then \
272            cp -pr $$/$$file $(distdir)/$$file; \
273          else \
274            test -f $(distdir)/$$file \
275            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
276            || cp -p $$d/$$file $(distdir)/$$file || :; \
277          fi; \
278        done
279
280DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
281
282-include $(DEP_FILES)
283
284mostlyclean-depend:
285
286clean-depend:
287
288distclean-depend:
289        -rm -rf .deps
290
291maintainer-clean-depend:
292
293%.o: %.c
294        @echo '$(COMPILE) -c $<'; \
295        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
296        @-cp .deps/$(*F).pp .deps/$(*F).P; \
297        tr ' ' '\012' < .deps/$(*F).pp \
298          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
299            >> .deps/$(*F).P; \
300        rm .deps/$(*F).pp
301
302%.lo: %.c
303        @echo '$(LTCOMPILE) -c $<'; \
304        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
305        @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
306          < .deps/$(*F).pp > .deps/$(*F).P; \
307        tr ' ' '\012' < .deps/$(*F).pp \
308          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
309            >> .deps/$(*F).P; \
310        rm -f .deps/$(*F).pp
311info-am:
312info: info-am
313dvi-am:
314dvi: dvi-am
315check-am: all-am
316check: check-am
317installcheck-am:
318installcheck: installcheck-am
319all-recursive-am: config.h
320        $(MAKE) $(AM_MAKEFLAGS) all-recursive
321
322install-exec-am: install-exec-local
323install-exec: install-exec-am
324
325install-data-am:
326install-data: install-data-am
327
328install-am: all-am
329        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
330install: install-am
331uninstall-am:
332uninstall: uninstall-am
333all-am: Makefile $(PROGRAMS) config.h
334all-redirect: all-am
335install-strip:
336        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
337installdirs:
338
339
340mostlyclean-generic:
341
342clean-generic:
343
344distclean-generic:
345        -rm -f Makefile $(CONFIG_CLEAN_FILES)
346        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
347
348maintainer-clean-generic:
349mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
350                mostlyclean-compile mostlyclean-tags mostlyclean-depend \
351                mostlyclean-generic
352
353mostlyclean: mostlyclean-am
354
355clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-tags \
356                clean-depend clean-generic mostlyclean-am
357
358clean: clean-am
359
360distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
361                distclean-tags distclean-depend distclean-generic \
362                clean-am
363
364distclean: distclean-am
365        -rm -f config.status
366
367maintainer-clean-am:  maintainer-clean-hdr \
368                maintainer-clean-noinstPROGRAMS \
369                maintainer-clean-compile maintainer-clean-tags \
370                maintainer-clean-depend maintainer-clean-generic \
371                distclean-am
372        @echo "This command is intended for maintainers to use;"
373        @echo "it deletes files that may require special tools to rebuild."
374
375maintainer-clean: maintainer-clean-am
376        -rm -f config.status
377
378.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
379mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
380clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
381mostlyclean-compile distclean-compile clean-compile \
382maintainer-clean-compile tags mostlyclean-tags distclean-tags \
383clean-tags maintainer-clean-tags distdir mostlyclean-depend \
384distclean-depend clean-depend maintainer-clean-depend info-am info \
385dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
386install-exec-local install-exec-am install-exec install-data-am \
387install-data install-am install uninstall-am uninstall all-redirect \
388all-am all installdirs mostlyclean-generic distclean-generic \
389clean-generic maintainer-clean-generic clean mostlyclean distclean \
390maintainer-clean
391
392
393# HACK: install to build-tree
394install-exec-local: print_dump
395        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
396        $(INSTALL_PROGRAM) print_dump $(PROJECT_ROOT)/${RTEMS_BSP}/bin
397
398debug-am:
399
400debug: debug-am
401
402debug_install-am:
403
404debug_install: debug_install-am
405
406profile-am:
407
408profile: profile-am
409
410profile_install-am:
411
412profile_install: profile_install-am
413
414.PHONY: debug debug_install profile profile_install
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.