source: rtems/tools/cpu/unix/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 Jul 26, 1999 at 9:26:44 PM

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