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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [hppa1.1/] [pxfl/] [Makefile.in] - Blame information for rev 389

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

Line No. Rev Author Line
1 30 unneback
#
2
# Build the pixelflow bsp by cd'ing into another floss tree and
3
#  building it there.
4
#
5
# NOTE: we also jump sideways in rtems tree and install test/support/include
6
#       so that floss tests can use the rtems test structures
7
#
8
#  $Id: Makefile.in,v 1.2 2001-09-27 11:59:44 chris Exp $
9
#
10
 
11
@SET_MAKE@
12
srcdir = @srcdir@
13
top_srcdir = @top_srcdir@
14
top_builddir = ..
15
subdir = pxfl
16
 
17
RTEMS_ROOT = @RTEMS_ROOT@
18
PROJECT_ROOT = @PROJECT_ROOT@
19
 
20
VPATH = @srcdir@
21
 
22
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23
include $(RTEMS_ROOT)/make/leaf.cfg
24
 
25
INSTALL_CHANGE = @INSTALL_CHANGE@
26
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
27
 
28
INSTALLDIRS = $(PROJECT_INCLUDE)
29
 
30
$(INSTALLDIRS):
31
        @$(mkinstalldirs) $(INSTALLDIRS)
32
 
33
SRCS = $(srcdir)/floss-bsp.h
34
 
35
# HACK alert
36
# on a 'make -k' we don't want to bomb out of build
37
EXIT_CMD = true
38
ifeq (k, $(findstring k, $(MAKEFLAGS)))
39
EXIT_CMD = true
40
endif
41
 
42
all install:
43
        @$(ECHO); $(ECHO)
44
        @if [ ! -d $(FLOSS_ROOT) ]; \
45
        then \
46
            $(ECHO) "*** ERROR FLOSS_ROOT ($(FLOSS_ROOT)) points to nonexistent directory"; \
47
            $(ECHO); $(ECHO); \
48
            $(EXIT_CMD); \
49
        fi
50
        @if [ -f $(FLOSS_ROOT)/PURE ]; \
51
        then \
52
            $(ECHO) "*** Assuming $(FLOSS_HOME) up to date since ./PURE exists"; \
53
        else \
54
            cmd="cd $(RTEMS_ROOT)/c/src/tests/support/include; $(MAKE) install"; \
55
            $(ECHO) $$cmd; \
56
            eval $$cmd || $(EXIT_CMD); \
57
            cmd="cd $(FLOSS_ROOT); $(MAKE) $@"; \
58
            $(ECHO) $$cmd; \
59
            eval $$cmd || $(EXIT_CMD); \
60
        fi
61
        @$(ECHO); $(ECHO)
62
        @$(INSTALL_CHANGE) -m 644 $(srcdir)/floss-bsp.h $(PROJECT_INCLUDE)/bsp.h
63
 
64
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
65
        cd $(top_builddir) \
66
         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status

powered by: WebSVN 2.1.0

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