Changeset f724a870 in rtems for make


Ignore:
Timestamp:
Aug 30, 1999, 4:25:54 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
260b0c2
Parents:
473741b
Message:

Patch from Ralf Corsepius <corsepiu@…>:

This patch addresses a few configuration issues and removes some
duplicate configuration files.

Background:

  • some files used in AC_INIT were not unique enough and can lead to problems if a user plays with configure scripts.
  • the Makefile templates are independent of the target/cpu and bsp, so the bsp dependent versions (c/src/make/Templates) are removed.

To apply:

patch -p1 < rtems-rc-19990820-3.diff
rm -f c/src/make/Templates
./autogen

ATTENTION: This patch removes several files and one directory :)

Location:
make/Templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/Templates/Makefile.am

    r473741b rf724a870  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 EXTRA_DIST = \
     7rtems_makedir=$(prefix)/make
     8rtems_make_Templatesdir=$(rtems_makedir)/Templates
     9
     10rtems_make_Templates_DATA = \
    811Makefile.dir \
    912Makefile.leaf \
  • make/Templates/Makefile.in

    r473741b rf724a870  
    8888AUTOMAKE_OPTIONS = foreign 1.4
    8989
    90 EXTRA_DIST =  Makefile.dir Makefile.leaf Makefile.lib
     90rtems_makedir = $(prefix)/make
     91rtems_make_Templatesdir = $(rtems_makedir)/Templates
     92
     93rtems_make_Templates_DATA =  Makefile.dir Makefile.leaf Makefile.lib
    9194
    9295mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    9396CONFIG_CLEAN_FILES =
     97DATA =  $(rtems_make_Templates_DATA)
     98
    9499DIST_COMMON =  Makefile.am Makefile.in
    95100
     
    108113          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    109114
     115
     116install-rtems_make_TemplatesDATA: $(rtems_make_Templates_DATA)
     117        @$(NORMAL_INSTALL)
     118        $(mkinstalldirs) $(DESTDIR)$(rtems_make_Templatesdir)
     119        @list='$(rtems_make_Templates_DATA)'; for p in $$list; do \
     120          if test -f $(srcdir)/$$p; then \
     121            echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(rtems_make_Templatesdir)/$$p"; \
     122            $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(rtems_make_Templatesdir)/$$p; \
     123          else if test -f $$p; then \
     124            echo " $(INSTALL_DATA) $$p $(DESTDIR)$(rtems_make_Templatesdir)/$$p"; \
     125            $(INSTALL_DATA) $$p $(DESTDIR)$(rtems_make_Templatesdir)/$$p; \
     126          fi; fi; \
     127        done
     128
     129uninstall-rtems_make_TemplatesDATA:
     130        @$(NORMAL_UNINSTALL)
     131        list='$(rtems_make_Templates_DATA)'; for p in $$list; do \
     132          rm -f $(DESTDIR)$(rtems_make_Templatesdir)/$$p; \
     133        done
    110134tags: TAGS
    111135TAGS:
     
    143167install-exec: install-exec-am
    144168
    145 install-data-am:
     169install-data-am: install-rtems_make_TemplatesDATA
    146170install-data: install-data-am
    147171
     
    149173        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    150174install: install-am
    151 uninstall-am:
     175uninstall-am: uninstall-rtems_make_TemplatesDATA
    152176uninstall: uninstall-am
    153 all-am: Makefile
     177all-am: Makefile $(DATA)
    154178all-redirect: all-am
    155179install-strip:
    156180        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
    157181installdirs:
     182        $(mkinstalldirs)  $(DESTDIR)$(rtems_make_Templatesdir)
    158183
    159184
     
    185210maintainer-clean: maintainer-clean-am
    186211
    187 .PHONY: tags distdir info-am info dvi-am dvi check check-am \
    188 installcheck-am installcheck install-exec-am install-exec \
    189 install-data-am install-data install-am install uninstall-am uninstall \
    190 all-redirect all-am all installdirs mostlyclean-generic \
    191 distclean-generic clean-generic maintainer-clean-generic clean \
    192 mostlyclean distclean maintainer-clean
     212.PHONY: uninstall-rtems_make_TemplatesDATA \
     213install-rtems_make_TemplatesDATA tags distdir info-am info dvi-am dvi \
     214check check-am installcheck-am installcheck install-exec-am \
     215install-exec install-data-am install-data install-am install \
     216uninstall-am uninstall all-redirect all-am all installdirs \
     217mostlyclean-generic distclean-generic clean-generic \
     218maintainer-clean-generic clean mostlyclean distclean maintainer-clean
    193219
    194220
Note: See TracChangeset for help on using the changeset viewer.