source: rtems/c/src/lib/libcpu/powerpc/mpc821/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.3 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/mpc821/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 = clock
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
22
23H_FILES =
24
25# Assembly source names, if any, go here -- minus the .s
26S_PIECES =
27S_FILES = $(S_PIECES:%=%.s)
28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
29
30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
31OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
32
33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34include $(RTEMS_ROOT)/make/leaf.cfg
35
36INSTALL_CHANGE = @INSTALL_CHANGE@
37
38#
39# (OPTIONAL) Add local stuff here using +=
40#
41
42DEFINES +=
43CPPFLAGS +=
44CFLAGS += $(CFLAGS_OS_V)
45
46LD_PATHS +=
47LD_LIBS +=
48LDFLAGS +=
49
50#
51# Add your list of files to delete here.  The config files
52#  already know how to delete some stuff, so you may want
53#  to just run 'make clean' first to see what gets missed.
54#  'make clobber' already includes 'make clean'
55#
56
57CLEAN_ADDITIONS +=
58CLOBBER_ADDITIONS +=
59
60${PGM}: ${SRCS} ${OBJS}
61        $(make-rel)
62
63all: ${ARCH} $(SRCS) $(PGM)
64
65install: all
66
67Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
68        cd $(top_builddir) \
69         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.