source: rtems/Makefile.am @ 942d52a

Last change on this file since 942d52a was bac8d934, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 15, 2018 at 6:18:26 AM

tools: Remove install-if-change program

The last installed tool in RTEMS repository is the install-if-change
script. It is not used to build/install BSPs. This script does the
same as the standard "install" program with an additional feature to
install variants via the -V command line option.

This script is used by the standard Makefile support:

c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change

The INSTALL_CHANGE is used by:

c/src/make/host.cfg.in:ifndef INSTALL_CHANGE
c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
c/src/make/host.cfg.in:INSTALL_VARIANT=$(INSTALL_CHANGE) -V
"$(LIB_VARIANT)"

Remove the support for variant installation and instead use the standard
"install" program. This breaks application Makefiles using the standard
Makefile support of RTEMS.

Close #3455.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2# top level directory for RTEMS build tree
3#
4
5ACLOCAL_AMFLAGS = -I aclocal
6
7SUBDIRS = $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
8DIST_SUBDIRS = $(SUBDIRS)
9
10noinst_SCRIPTS = bootstrap
11
12
13dist-hook:
14        @files=`(cd $(srcdir); find cpukit c testsuites \
15           -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
16        for i in $$files; do \
17          if test -f $(distdir)/$$i/configure.ac; then : ; \
18          else \
19            d=`dirname $(distdir)/$$i`; \
20            $(MKDIR_P) $$d;\
21            echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \
22            cp -pR $(srcdir)/$$i $(distdir)/$$i; \
23          fi; \
24        done
25        rm -rf `find $(distdir) -name 'autom4te*'`
26        rm -rf `find $(distdir) -name CVS`
27        rm -f `find $(distdir) \( -name .cvsignore \
28          -o -name config.status \
29          -o -name config.log \)`
30        rm -f `find $(distdir) \( -name '*.bak' \
31          -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
32          -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
33        find $(distdir) -name '*.in' -print | while read a; do \
34          f=`echo $$a | sed 's,\.in$$,,'`; \
35          if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
36
37rtems_makedir = $(prefix)/make
38
39dist_rtems_make_DATA =
40dist_rtems_make_DATA += make/main.cfg
41dist_rtems_make_DATA += make/leaf.cfg
42
43rtems_make_Templatesdir = $(pkgdatadir)/make/Templates
44
45dist_rtems_make_Templates_DATA =
46dist_rtems_make_Templates_DATA += make/Templates/Makefile.dir
47dist_rtems_make_Templates_DATA += make/Templates/Makefile.leaf
48dist_rtems_make_Templates_DATA += make/Templates/Makefile.lib
49
50rtems_make_customdir = $(rtems_makedir)/custom
51
52dist_rtems_make_custom_DATA = make/custom/default.cfg
53
54include $(top_srcdir)/automake/subdirs.am
55include $(top_srcdir)/automake/host.am
Note: See TracBrowser for help on using the repository browser.