source: rtems/tools/build/Makefile.in @ b6529a3

4.104.114.84.9
Last change on this file since b6529a3 was b6529a3, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 19, 1999 at 1:35:24 PM

Patch from Ralf Corsepius <corsepiu@…> to reorganize
the build-tools layout to simplify it.

This script reorganizes and simpilfies the build-tools subdirectories.
It moves all source-files and scripts to c/build-tools/. This will
enable use to use this directory directly to refer to the build-tools
instead of copying them around in a "preinstall" step in future.
However, RTEMS's autoconf Makefile.ins and *.cfg files are not yet
prepared to apply this approach and therefore require additional work.

  • Property mode set to 100644
File size: 14.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
19SHELL = @SHELL@
20
21srcdir = @srcdir@
22top_srcdir = @top_srcdir@
23VPATH = @srcdir@
24prefix = @prefix@
25exec_prefix = @exec_prefix@
26
27bindir = @bindir@
28sbindir = @sbindir@
29libexecdir = @libexecdir@
30datadir = @datadir@
31sysconfdir = @sysconfdir@
32sharedstatedir = @sharedstatedir@
33localstatedir = @localstatedir@
34libdir = @libdir@
35infodir = @infodir@
36mandir = @mandir@
37includedir = @includedir@
38oldincludedir = /usr/include
39
40DESTDIR =
41
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45
46top_builddir = .
47AUTOCONF = @AUTOCONF@
48AUTOMAKE = @AUTOMAKE@
49AUTOHEADER = @AUTOHEADER@
50
51INSTALL = @INSTALL@
52INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
53INSTALL_DATA = @INSTALL_DATA@
54INSTALL_SCRIPT = @INSTALL_SCRIPT@
55transform = @program_transform_name@
56
57NORMAL_INSTALL = :
58PRE_INSTALL = :
59POST_INSTALL = :
60NORMAL_UNINSTALL = :
61PRE_UNINSTALL = :
62POST_UNINSTALL = :
63host_alias = @host_alias@
64host_triplet = @host@
65CC = @CC@
66EXEEXT = @EXEEXT@
67KSH = @KSH@
68MAKEINFO = @MAKEINFO@
69PACKAGE = @PACKAGE@
70PROJECT_ROOT = @PROJECT_ROOT@
71RTEMS_ROOT = @RTEMS_ROOT@
72RTEMS_TOPdir = @RTEMS_TOPdir@
73VERSION = @VERSION@
74
75AUTOMAKE_OPTIONS = foreign
76ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
77
78bin_PROGRAMS = cklength eolstrip packhex unhex
79
80cklength_SOURCES = cklength.c
81eolstrip_SOURCES = eolstrip.c
82packhex_SOURCES = packhex.c
83unhex_SOURCES = unhex.c
84
85bin_SCRIPTS =  install-if-change lock-directory unlock-directory rcs-clean
86
87
88noinst_SCRIPTS = search-id.sh
89ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
91CONFIG_HEADER = config.h
92CONFIG_CLEAN_FILES =  install-if-change lock-directory rcs-clean \
93unlock-directory
94bin_PROGRAMS =  cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \
95unhex$(EXEEXT)
96PROGRAMS =  $(bin_PROGRAMS)
97
98
99DEFS = @DEFS@ -I. -I$(srcdir) -I.
100CPPFLAGS = @CPPFLAGS@
101LDFLAGS = @LDFLAGS@
102LIBS = @LIBS@
103cklength_OBJECTS =  cklength.o
104cklength_LDADD = $(LDADD)
105cklength_DEPENDENCIES =
106cklength_LDFLAGS =
107eolstrip_OBJECTS =  eolstrip.o
108eolstrip_LDADD = $(LDADD)
109eolstrip_DEPENDENCIES =
110eolstrip_LDFLAGS =
111packhex_OBJECTS =  packhex.o
112packhex_LDADD = $(LDADD)
113packhex_DEPENDENCIES =
114packhex_LDFLAGS =
115unhex_OBJECTS =  unhex.o
116unhex_LDADD = $(LDADD)
117unhex_DEPENDENCIES =
118unhex_LDFLAGS =
119SCRIPTS =  $(bin_SCRIPTS) $(noinst_SCRIPTS)
120
121CFLAGS = @CFLAGS@
122COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123CCLD = $(CC)
124LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
125DIST_COMMON =  README ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \
126config.h.in configure configure.in install-if-change.in \
127lock-directory.in rcs-clean.in unlock-directory.in
128
129
130DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131
132TAR = tar
133GZIP_ENV = --best
134DEP_FILES =  .deps/cklength.P .deps/eolstrip.P .deps/packhex.P \
135.deps/unhex.P
136SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES)
137OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS)
138
139all: all-redirect
140.SUFFIXES:
141.SUFFIXES: .S .c .o .s
142$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/local.am
143        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
144
145Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
146        cd $(top_builddir) \
147          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
148
149$(ACLOCAL_M4):  configure.in
150        cd $(srcdir) && $(ACLOCAL)
151
152config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
153        $(SHELL) ./config.status --recheck
154$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
155        cd $(srcdir) && $(AUTOCONF)
156
157config.h: stamp-h
158        @if test ! -f $@; then \
159                rm -f stamp-h; \
160                $(MAKE) stamp-h; \
161        else :; fi
162stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
163        cd $(top_builddir) \
164          && CONFIG_FILES= CONFIG_HEADERS=config.h \
165             $(SHELL) ./config.status
166        @echo timestamp > stamp-h 2> /dev/null
167$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
168        @if test ! -f $@; then \
169                rm -f $(srcdir)/stamp-h.in; \
170                $(MAKE) $(srcdir)/stamp-h.in; \
171        else :; fi
172$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
173        cd $(top_srcdir) && $(AUTOHEADER)
174        @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
175
176mostlyclean-hdr:
177
178clean-hdr:
179
180distclean-hdr:
181        -rm -f config.h
182
183maintainer-clean-hdr:
184install-if-change: $(top_builddir)/config.status install-if-change.in
185        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
186lock-directory: $(top_builddir)/config.status lock-directory.in
187        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
188rcs-clean: $(top_builddir)/config.status rcs-clean.in
189        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
190unlock-directory: $(top_builddir)/config.status unlock-directory.in
191        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
192
193mostlyclean-binPROGRAMS:
194
195clean-binPROGRAMS:
196        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
197
198distclean-binPROGRAMS:
199
200maintainer-clean-binPROGRAMS:
201
202install-binPROGRAMS: $(bin_PROGRAMS)
203        @$(NORMAL_INSTALL)
204        $(mkinstalldirs) $(DESTDIR)$(bindir)
205        @list='$(bin_PROGRAMS)'; for p in $$list; do \
206          if test -f $$p; then \
207            echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
208             $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
209          else :; fi; \
210        done
211
212uninstall-binPROGRAMS:
213        @$(NORMAL_UNINSTALL)
214        list='$(bin_PROGRAMS)'; for p in $$list; do \
215          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
216        done
217
218.s.o:
219        $(COMPILE) -c $<
220
221.S.o:
222        $(COMPILE) -c $<
223
224mostlyclean-compile:
225        -rm -f *.o core *.core
226
227clean-compile:
228
229distclean-compile:
230        -rm -f *.tab.c
231
232maintainer-clean-compile:
233
234cklength$(EXEEXT): $(cklength_OBJECTS) $(cklength_DEPENDENCIES)
235        @rm -f cklength$(EXEEXT)
236        $(LINK) $(cklength_LDFLAGS) $(cklength_OBJECTS) $(cklength_LDADD) $(LIBS)
237
238eolstrip$(EXEEXT): $(eolstrip_OBJECTS) $(eolstrip_DEPENDENCIES)
239        @rm -f eolstrip$(EXEEXT)
240        $(LINK) $(eolstrip_LDFLAGS) $(eolstrip_OBJECTS) $(eolstrip_LDADD) $(LIBS)
241
242packhex$(EXEEXT): $(packhex_OBJECTS) $(packhex_DEPENDENCIES)
243        @rm -f packhex$(EXEEXT)
244        $(LINK) $(packhex_LDFLAGS) $(packhex_OBJECTS) $(packhex_LDADD) $(LIBS)
245
246unhex$(EXEEXT): $(unhex_OBJECTS) $(unhex_DEPENDENCIES)
247        @rm -f unhex$(EXEEXT)
248        $(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS)
249
250install-binSCRIPTS: $(bin_SCRIPTS)
251        @$(NORMAL_INSTALL)
252        $(mkinstalldirs) $(DESTDIR)$(bindir)
253        @list='$(bin_SCRIPTS)'; for p in $$list; do \
254          if test -f $$p; then \
255            echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
256            $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
257          else if test -f $(srcdir)/$$p; then \
258            echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
259            $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
260          else :; fi; fi; \
261        done
262
263uninstall-binSCRIPTS:
264        @$(NORMAL_UNINSTALL)
265        list='$(bin_SCRIPTS)'; for p in $$list; do \
266          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
267        done
268
269tags: TAGS
270
271ID: $(HEADERS) $(SOURCES) $(LISP)
272        list='$(SOURCES) $(HEADERS)'; \
273        unique=`for i in $$list; do echo $$i; done | \
274          awk '    { files[$$0] = 1; } \
275               END { for (i in files) print i; }'`; \
276        here=`pwd` && cd $(srcdir) \
277          && mkid -f$$here/ID $$unique $(LISP)
278
279TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
280        tags=; \
281        here=`pwd`; \
282        list='$(SOURCES) $(HEADERS)'; \
283        unique=`for i in $$list; do echo $$i; done | \
284          awk '    { files[$$0] = 1; } \
285               END { for (i in files) print i; }'`; \
286        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
287          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
288
289mostlyclean-tags:
290
291clean-tags:
292
293distclean-tags:
294        -rm -f TAGS ID
295
296maintainer-clean-tags:
297
298distdir = $(PACKAGE)-$(VERSION)
299top_distdir = $(distdir)
300
301# This target untars the dist file and tries a VPATH configuration.  Then
302# it guarantees that the distribution is self-contained by making another
303# tarfile.
304distcheck: dist
305        -rm -rf $(distdir)
306        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
307        mkdir $(distdir)/=build
308        mkdir $(distdir)/=inst
309        dc_install_base=`cd $(distdir)/=inst && pwd`; \
310        cd $(distdir)/=build \
311          && ../configure --srcdir=.. --prefix=$$dc_install_base \
312          && $(MAKE) $(AM_MAKEFLAGS) \
313          && $(MAKE) $(AM_MAKEFLAGS) dvi \
314          && $(MAKE) $(AM_MAKEFLAGS) check \
315          && $(MAKE) $(AM_MAKEFLAGS) install \
316          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
317          && $(MAKE) $(AM_MAKEFLAGS) dist
318        -rm -rf $(distdir)
319        @banner="$(distdir).tar.gz is ready for distribution"; \
320        dashes=`echo "$$banner" | sed s/./=/g`; \
321        echo "$$dashes"; \
322        echo "$$banner"; \
323        echo "$$dashes"
324dist: distdir
325        -chmod -R a+r $(distdir)
326        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
327        -rm -rf $(distdir)
328dist-all: distdir
329        -chmod -R a+r $(distdir)
330        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
331        -rm -rf $(distdir)
332distdir: $(DISTFILES)
333        -rm -rf $(distdir)
334        mkdir $(distdir)
335        -chmod 777 $(distdir)
336        here=`cd $(top_builddir) && pwd`; \
337        top_distdir=`cd $(distdir) && pwd`; \
338        distdir=`cd $(distdir) && pwd`; \
339        cd $(top_srcdir) \
340          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
341        @for file in $(DISTFILES); do \
342          d=$(srcdir); \
343          if test -d $$d/$$file; then \
344            cp -pr $$/$$file $(distdir)/$$file; \
345          else \
346            test -f $(distdir)/$$file \
347            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
348            || cp -p $$d/$$file $(distdir)/$$file || :; \
349          fi; \
350        done
351
352DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
353
354-include $(DEP_FILES)
355
356mostlyclean-depend:
357
358clean-depend:
359
360distclean-depend:
361        -rm -rf .deps
362
363maintainer-clean-depend:
364
365%.o: %.c
366        @echo '$(COMPILE) -c $<'; \
367        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
368        @-cp .deps/$(*F).pp .deps/$(*F).P; \
369        tr ' ' '\012' < .deps/$(*F).pp \
370          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
371            >> .deps/$(*F).P; \
372        rm .deps/$(*F).pp
373
374%.lo: %.c
375        @echo '$(LTCOMPILE) -c $<'; \
376        $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
377        @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
378          < .deps/$(*F).pp > .deps/$(*F).P; \
379        tr ' ' '\012' < .deps/$(*F).pp \
380          | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
381            >> .deps/$(*F).P; \
382        rm -f .deps/$(*F).pp
383info-am:
384info: info-am
385dvi-am:
386dvi: dvi-am
387check-am: all-am
388check: check-am
389installcheck-am:
390installcheck: installcheck-am
391all-recursive-am: config.h
392        $(MAKE) $(AM_MAKEFLAGS) all-recursive
393
394install-exec-am: install-binPROGRAMS install-binSCRIPTS \
395                install-exec-local
396install-exec: install-exec-am
397
398install-data-am:
399install-data: install-data-am
400
401install-am: all-am
402        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
403install: install-am
404uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS
405uninstall: uninstall-am
406all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h
407all-redirect: all-am
408install-strip:
409        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
410installdirs:
411        $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
412
413
414mostlyclean-generic:
415
416clean-generic:
417
418distclean-generic:
419        -rm -f Makefile $(CONFIG_CLEAN_FILES)
420        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
421
422maintainer-clean-generic:
423mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
424                mostlyclean-compile mostlyclean-tags mostlyclean-depend \
425                mostlyclean-generic
426
427mostlyclean: mostlyclean-am
428
429clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
430                clean-depend clean-generic mostlyclean-am
431
432clean: clean-am
433
434distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
435                distclean-tags distclean-depend distclean-generic \
436                clean-am
437
438distclean: distclean-am
439        -rm -f config.status
440
441maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
442                maintainer-clean-compile maintainer-clean-tags \
443                maintainer-clean-depend maintainer-clean-generic \
444                distclean-am
445        @echo "This command is intended for maintainers to use;"
446        @echo "it deletes files that may require special tools to rebuild."
447
448maintainer-clean: maintainer-clean-am
449        -rm -f config.status
450
451.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
452mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
453maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
454mostlyclean-compile distclean-compile clean-compile \
455maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \
456mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
457distdir mostlyclean-depend distclean-depend clean-depend \
458maintainer-clean-depend info-am info dvi-am dvi check check-am \
459installcheck-am installcheck all-recursive-am install-exec-local \
460install-exec-am install-exec install-data-am install-data install-am \
461install uninstall-am uninstall all-redirect all-am all installdirs \
462mostlyclean-generic distclean-generic clean-generic \
463maintainer-clean-generic clean mostlyclean distclean maintainer-clean
464
465
466#
467# HACK: Install to build directory
468#
469install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS)
470        if test -n "${RTEMS_BSP}"; then \
471          $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
472          $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
473          $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
474        fi
475
476preinstall: install-exec-local
477
478debug-am:
479
480debug: debug-am
481
482debug_install-am:
483
484debug_install: debug_install-am
485
486.PHONY: debug debug_install debug-am
487
488profile-am:
489
490profile: profile-am
491
492profile_install-am:
493
494profile_install: profile_install-am
495
496.PHONY: profile profile_install profile-am
497
498preinstall-am:
499
500preinstall: preinstall-am
501
502.PHONY: preinstall preinstall-am
503
504# Tell versions [3.59,3.63) of GNU make to not export all variables.
505# Otherwise a system limit (for SysV at least) may be exceeded.
506.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.