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

4.104.114.84.95
Last change on this file since 53ab4823 was 53ab4823, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 10, 2000 at 2:23:56 PM

Patch rtems-rc-20000104-9.diff from Ralf Corsepius <corsepiu@…>
that converts the hppa1.1 directory to automake.

NOTE:

  • Due to not having a toolchain (gcc refuses to build) this patch is untested.
  • I omited/deactivated the pxfl subdirectory, because I don't understand how it supposed to work.

Joel's note: It was right to ignore the pxfl directory. It should be
removed one the BSPs are moved outside the tree. This was an old hack.

  • Property mode set to 100644
File size: 1.6 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 = 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.