source: rtems/c/src/Makefile.am @ f0d7515

4.104.114.84.95
Last change on this file since f0d7515 was f0d7515, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/09/02 at 05:01:03

2002-08-09 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Create make/@RTEMS_BSP@.cache. Handle make/custom/*.cfgs. Create make/custom/default.cfg.
  • configure.ac: Add creation of make/custon/*.cfg. Create make/${RTEMS_BSP}.cache. Read make/${RTEMS_BSP}.cache
  • Property mode set to 100644
File size: 791 bytes
Line 
1##
2##  $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../aclocal
6
7SUBDIRS = @exec@ @subdirs@
8
9clean-local:
10        $(RM) -r $(PROJECT_RELEASE)
11
12make/@RTEMS_BSP@.cache: make/bsp.mak @CUSTOM_CFG_FILES@
13        $(RM) make/@RTEMS_BSP@.cache
14        $(MAKE) -f ${srcdir}/make/bsp.mak \
15        RTEMS_BSP=@RTEMS_BSP@ RTEMS_ROOT=. \
16        make/@RTEMS_BSP@.cache
17
18noinst_DATA = make/@RTEMS_BSP@.cache
19DISTCLEANFILES = make/@RTEMS_BSP@.cache
20
21rtems_make_customdir = $(rtems_makedir)/custom
22rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
23
24make/custom/default.cfg: $(srcdir)/make/custom/default.cfg.in
25        cp $< $@
26
27make/custom/%.cfg: $(srcdir)/$(cfg_dir)/custom/%.cfg
28        cp $< $@
29
30noinst_DATA += make/custom/default.cfg
31DISTCLEANFILES += make/custom/default.cfg
32
33include $(top_srcdir)/../../automake/subdirs.am
34include $(top_srcdir)/../../automake/host.am
Note: See TracBrowser for help on using the repository browser.