OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [Makefile.am] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.12 2002/03/28 00:52:08 joel Exp
3
##
4
 
5
ACLOCAL_AMFLAGS = -I ../aclocal
6
 
7
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
8
## Esp. make clean and make distclean have unwanted side-effects
9
## if RTEMS_BSP is not properly set up.
10
 
11
RTEMS_BSP = $(RTEMS_BSP_LIST)
12
## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be
13
## triggered before $(RTEMS_BSP_LIST) subdirectories are made.
14
SUBDIRS = . $(RTEMS_BSP)
15
 
16
## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
17
## this rule for invalid BSPs
18
@RTEMS_BSP_LIST@: src/configure
19
        @set fnord $(MAKEFLAGS); amf=$$2; \
20
        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
21
          echo "Configuring RTEMS_BSP=$$i"; \
22
          test -d $$i || mkdir $$i; \
23
          ( cd $$i && \
24
            CONFIG_SHELL=$(SHELL) RTEMS_BSP=$$i $(rtems_bsp_configure) \
25
            && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
26
          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
27
        done
28
 
29
## Let all RTEMS' make targets depend on ${RTEMS_BSP}
30
all-local: ${RTEMS_BSP}
31
preinstall-am: ${RTEMS_BSP}
32
depend-am: ${RTEMS_BSP}
33
 
34
## Pull in extra files intro the distribution
35
EXTRA_DIST = ACKNOWLEDGEMENTS README.DOS REQUIRES PROBLEMS TESTED README \
36
    UPDATE_HELP
37
 
38
DIST_SUBDIRS = ${RTEMS_BSP}
39
## -------------------------------------------------------
40
include $(top_srcdir)/../automake/subdirs.am
41
include $(top_srcdir)/../automake/host.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.