source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/include/Makefile.in @ fb16fed

4.104.114.84.95
Last change on this file since fb16fed was fb16fed, checked in by Joel Sherrill <joel.sherrill@…>, on 12/21/99 at 15:25:05

Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@…>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

To apply:

patch -p1 < rtems-rc-19991203-10.diff

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/mcp750/include
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16H_FILES = $(srcdir)/../../shared/include/nvram.h \
17    $(srcdir)/../../shared/include/bsp.h
18
19BSP_H_FILES = $(srcdir)/../../shared/console/consoleIo.h \
20    $(srcdir)/../../shared/console/uart.h $(srcdir)/../../shared/irq/irq.h \
21    $(srcdir)/../../shared/motorola/motorola.h
22
23#
24#  Equate files are for including from assembly preprocessed by
25#  gm4 or gasp.  No examples are provided except for those for
26#  other CPUs.  The best way to generate them would be to
27#  provide a program which generates the constants used based
28#  on the C equivalents.
29#
30
31EQ_FILES =
32
33SRCS = $(H_FILES) $(EQ_FILES)
34
35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
36include $(RTEMS_ROOT)/make/leaf.cfg
37
38INSTALL_CHANGE = @INSTALL_CHANGE@
39mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
40
41INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp
42
43$(INSTALLDIRS):
44        @$(mkinstalldirs) $(INSTALLDIRS)
45
46CLEAN_ADDITIONS +=
47CLOBBER_ADDITIONS +=
48
49preinstall:
50        $(mkinstalldirs) $(PROJECT_INCLUDE)
51        $(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
52        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
53        @$(INSTALL_CHANGE) -m 644 $(BSP_H_FILES) $(PROJECT_INCLUDE)/bsp
54
55all: $(SRCS) preinstall
56
57Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
58        cd $(top_builddir) \
59         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.