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 01/10/00 at 14:23:56

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
RevLine 
[254b4450]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@
[d8ff793]13top_srcdir = @top_srcdir@
[53ab4823]14top_builddir = ..
15subdir = pxfl
[254b4450]16
[6693a68]17RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]18PROJECT_ROOT = @PROJECT_ROOT@
19
20VPATH = @srcdir@
21
[6693a68]22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[cb5bfe4]23include $(RTEMS_ROOT)/make/leaf.cfg
[254b4450]24
[6693a68]25INSTALL_CHANGE = @INSTALL_CHANGE@
26mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
27
[ae2ddb8]28INSTALLDIRS = $(PROJECT_INCLUDE)
[6693a68]29
30$(INSTALLDIRS):
31        @$(mkinstalldirs) $(INSTALLDIRS)
32
33SRCS = $(srcdir)/floss-bsp.h
[254b4450]34
35# HACK alert
36# on a 'make -k' we don't want to bomb out of build
[6693a68]37EXIT_CMD = true
[254b4450]38ifeq (k, $(findstring k, $(MAKEFLAGS)))
[6693a68]39EXIT_CMD = true
40endif
[254b4450]41
[6693a68]42all install:
[254b4450]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)
[6693a68]62        @$(INSTALL_CHANGE) -m 644 $(srcdir)/floss-bsp.h $(PROJECT_INCLUDE)/bsp.h
[d8ff793]63
[08b5f55]64Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]65        cd $(top_builddir) \
66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.