source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/tools/Makefile.in @ 29e68b75

4.104.114.84.95
Last change on this file since 29e68b75 was 29e68b75, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 21:26:44

Patch from Ralf Corsepius <corsepiu@…>:

This patch is an addition to "The big-patch"

CHANGES:

  • FIX: c/Makefile.am: bogus comment which changed the behavior of c/Makefile.am removed
  • FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly (Me thinks it might have been me who added this bogus setting :-).
  • NEW: removing make targets get, protos, debug_install, profile_install
  • NEW: replacing clobber with distclean
  • NEW: Reimplement distclean and clean as reverse depth first make targets (adaptation to automake's behavior)
  • NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is still in - remove it?)
  • NEW: "$(RM) Makefile" added to make distclean (adaptation to automake's behavior)
  • NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  • NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  • NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS, binpatch is not specific to the pc386 BSP at all)
  • NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC (Cygwin support)
  • NEW/Experimental: An experimental implementation of temporary installation tree support in libbsp/i386/pc386/tools/Makefile.am, based on dependency tracking with make, instead of applying INSTALL_CHANGE.

REMARK:

  • This patch is small in size, but changes the behavior of "make clean|distclean|clobber" basically.
  • This patch does not alter building/compiling RTEMS, ie. there should be no need to rerun all "make all" building tests.

KNOWN BUGS:

  • make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs subdirectories passed through RTEMS_BSP and in "c/." only, but does not descend into other BSP subdirectories previously configured with different settings of make RTEMS_BSP="...". => Workaround: always use the same setting of RTEMS_BSP when working inside the build-tree.
  • "make [distclean|clean]" do not clean subdirectories, which have been configured at configuration time, but which are not used due to make-time configuration (e.g. macros/networking/rdgb subdirectories). This will problem will vanish by itself when migrating from make-time to configuration-time configuration

APPLYING THE PATCH

mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
patch -p1 < rtems-rc-19990709-2.diff
autogen

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