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