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

4.104.114.84.95
Last change on this file since ae2ddb8 was ae2ddb8, checked in by Joel Sherrill <joel.sherrill@…>, on 08/02/99 at 15:40:27

Patch from Ralf Corsepius <corsepiu@…>:

The patch below fixes a nasty bug in acpolish, which has broken many
Makefile.ins below c/src/tests/

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-5.diff

The essential part of this patch is the diff-fragment for acpolish
contained in this patch. Ie. if any of the other diffs do not apply,
make sure that the acpolish diff was applied correctly and then run

cd <srcdir>
tools/update/rtems-polish.sh -ac

  • Property mode set to 100644
File size: 1.7 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@
14top_builddir = ../../..
15subdir = libbsp/hppa1.1/pxfl
16
17RTEMS_ROOT = @RTEMS_ROOT@
18PROJECT_ROOT = @PROJECT_ROOT@
19
20VPATH = @srcdir@
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(RTEMS_ROOT)/make/leaf.cfg
24
25INSTALL_CHANGE = @INSTALL_CHANGE@
26mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
27
28INSTALLDIRS = $(PROJECT_INCLUDE)
29
30$(INSTALLDIRS):
31        @$(mkinstalldirs) $(INSTALLDIRS)
32
33SRCS = $(srcdir)/floss-bsp.h
34
35# HACK alert
36# on a 'make -k' we don't want to bomb out of build
37EXIT_CMD = true
38ifeq (k, $(findstring k, $(MAKEFLAGS)))
39EXIT_CMD = true
40endif
41
42all 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
64Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
65        cd $(top_builddir) \
66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.