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

4.104.114.84.95
Last change on this file since a846105 was 1846a62, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 21, 2002 at 2:57:25 PM

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

  • Makefile.am: Add preinstall-stamp.
  • Property mode set to 100644
File size: 1021 bytes
Line 
1##
2##  $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../aclocal
6
7SUBDIRS = . @BSP_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_HOST=@RTEMS_HOST@ RTEMS_ROOT=. BARE_CPU_MODEL=${BARE_CPU_MODEL} \
16        make/@RTEMS_BSP@.cache
17
18noinst_DATA = make/@RTEMS_BSP@.cache
19DISTCLEANFILES = make/@RTEMS_BSP@.cache
20
21rtems_makedir = $(prefix)/make
22rtems_make_customdir = $(rtems_makedir)/custom
23rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
24
25make/custom/default.cfg: $(srcdir)/make/custom/default.cfg.in
26        cp $< $@
27
28make/custom/%.cfg: $(srcdir)/$(cfg_dir)/custom/%.cfg
29        cp $< $@
30
31noinst_DATA += make/custom/default.cfg
32DISTCLEANFILES += make/custom/default.cfg
33
34noinst_DATA += preinstall-stamp
35
36preinstall-stamp:
37        $(MAKE) $(AM_MAKEFLAGS) preinstall
38        touch preinstall-stamp
39CLEANFILES = preinstall-stamp
40
41include $(top_srcdir)/../../automake/subdirs.am
42include $(top_srcdir)/../../automake/host.am
Note: See TracBrowser for help on using the repository browser.