source: rtems/c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in @ a2016b99

4.104.114.84.95
Last change on this file since a2016b99 was a2016b99, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 8, 1997 at 2:42:08 PM

Removed include directory at "build" point and the link of this directory
to lib/include.

Went to using a PROJECT_INCLUDE variable.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
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$
9#
10
11@SET_MAKE@
12srcdir = @srcdir@
13top_srcdir = @top_srcdir@
14VPATH=@srcdir@
15
16include $(RTEMS_CUSTOM)
17include $(PROJECT_ROOT)/make/leaf.cfg
18
19SRCS=$(srcdir)/floss-bsp.h
20
21# HACK alert
22# on a 'make -k' we don't want to bomb out of build
23EXIT_CMD=exit 1
24ifeq (k, $(findstring k, $(MAKEFLAGS)))
25EXIT_CMD=true
26endif
27
28
29all install::
30        @$(ECHO); $(ECHO)
31        @if [ ! -d $(FLOSS_ROOT) ]; \
32        then \
33            $(ECHO) "*** ERROR FLOSS_ROOT ($(FLOSS_ROOT)) points to nonexistent directory"; \
34            $(ECHO); $(ECHO); \
35            $(EXIT_CMD); \
36        fi
37        @if [ -f $(FLOSS_ROOT)/PURE ]; \
38        then \
39            $(ECHO) "*** Assuming $(FLOSS_HOME) up to date since ./PURE exists"; \
40        else \
41            cmd="cd $(RTEMS_ROOT)/c/src/tests/support/include; $(MAKE) install"; \
42            $(ECHO) $$cmd; \
43            eval $$cmd || $(EXIT_CMD); \
44            cmd="cd $(FLOSS_ROOT); $(MAKE) $@"; \
45            $(ECHO) $$cmd; \
46            eval $$cmd || $(EXIT_CMD); \
47        fi
48        @$(ECHO); $(ECHO)
49        $(INSTALL) -m 444 $(srcdir)/floss-bsp.h $(PROJECT_INCLUDE)/bsp.h
Note: See TracBrowser for help on using the repository browser.