source: rtems/c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in @ f817b02

4.104.114.84.95
Last change on this file since f817b02 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.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/mcp750/clock
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16PGM = ${ARCH}/clock.rel
17
18# C source names, if any, go here -- minus the .c
19C_PIECES = c_clock
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
22
23H_FILES =
24
25SRCS = $(C_FILES) $(H_FILES)
26OBJS = $(C_O_FILES)
27
28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
29include $(RTEMS_ROOT)/make/leaf.cfg
30
31INSTALL_CHANGE = @INSTALL_CHANGE@
32mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
33
34INSTALLDIRS = $(PROJECT_INCLUDE)/bsp
35
36$(INSTALLDIRS):
37        @$(mkinstalldirs) $(INSTALLDIRS)
38
39#
40# (OPTIONAL) Add local stuff here using +=
41#
42
43DEFINES +=
44CPPFLAGS +=
45CFLAGS +=
46
47LD_PATHS +=
48LD_LIBS +=
49LDFLAGS +=
50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS +=
59CLOBBER_ADDITIONS +=
60
61${PGM}: ${SRCS} ${OBJS}
62        $(make-rel)
63
64preinstall:
65        @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
66        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp
67
68all: ${ARCH} $(SRCS) preinstall $(PGM)
69
70# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
71install: all
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74        cd $(top_builddir) \
75         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.