source: rtems/c/src/lib/libcpu/powerpc/ppc403/ictrl/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 Nov 4, 1999 at 6:05:09 PM

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