source: rtems/Makefile.am @ 2e4bc732

4.11
Last change on this file since 2e4bc732 was 44dd5dc4, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 6, 2011 at 11:03:33 AM

2011-03-06 Ralf Corsépius <ralf.corsepius@…>

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