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