source: rtems/c/src/lib/libcpu/powerpc/mpc860/include/Makefile.in @ 458bd34

4.104.114.84.95
Last change on this file since 458bd34 was f817b02, checked in by Joel Sherrill <joel.sherrill@…>, on 11/04/99 at 18:05:09

The files in libcpu should not be directly dependent on any BSP. In
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden. This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@…>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration. The use of Cpu_table in each
BSP needs to be eliminated.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[ee733965]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[e1d8abb]8top_builddir = ../../..
9subdir = powerpc/mpc860/include
[ee733965]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
[6be1238]16H_FILES = $(srcdir)/mpc860.h
17MPC860_H_FILES = $(srcdir)/console.h
[6693a68]18SRCS = $(H_FILES) $(MPC860_H_FILES)
[ee733965]19
[6693a68]20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[ee733965]21include $(RTEMS_ROOT)/make/leaf.cfg
22
[6693a68]23INSTALL_CHANGE = @INSTALL_CHANGE@
24mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
25
26INSTALLDIRS = $(PROJECT_INCLUDE)/mpc860 $(PROJECT_INCLUDE)
27
28$(INSTALLDIRS):
29        @$(mkinstalldirs) $(INSTALLDIRS)
30
31all: install
[ee733965]32
[6be1238]33install: preinstall
34
[6693a68]35preinstall:
36        $(mkinstalldirs) $(PROJECT_INCLUDE)/mpc860
37        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
38        @$(INSTALL_CHANGE) -m 644 $(MPC860_H_FILES) $(PROJECT_INCLUDE)/mpc860
[ee733965]39
40all: FORCEIT
[6693a68]41        cd ../../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
[ee733965]42
[08b5f55]43Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]44        cd $(top_builddir) \
45         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.