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

4.104.114.84.95
Last change on this file since c24d7c84 was 91fd793d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/05/03 at 22:16:39

2003-12-05 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Cosmetics.
  • automake/lib.am: Add project_libdir. Add preinstallation dirstamp support.
  • Property mode set to 100644
File size: 1.2 KB
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
41@host_alias@-@RTEMS_BSP@.pc: config.status bsp.pc.in
42        ./config.status --file=$@:$(srcdir)/bsp.pc.in
43
44pkgconfigdir = $(prefix)/lib/pkgconfig
45pkgconfig_DATA = @host_alias@-@RTEMS_BSP@.pc
46DISTCLEANFILES += @host_alias@-@RTEMS_BSP@.pc
47
48include $(top_srcdir)/automake/subdirs.am
49include $(top_srcdir)/automake/host.am
Note: See TracBrowser for help on using the repository browser.