source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.in @ 1d9a2fc

4.104.114.84.95
Last change on this file since 1d9a2fc was 1d9a2fc, checked in by Joel Sherrill <joel.sherrill@…>, on 11/29/99 at 15:45:11

Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@…>
which (among other things) converted the mptests to automake.

SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
(apparently a leftover from moving the start* directories)

Addtional major bugs:

  • psxtests/include was empty (incomplete psxtests changes).
  • bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs)

In addition I have added a few more changes (I couldn't resist)

  • automake support for itrontests
  • OPERATION_COUNT support in tmitrontests/
  • automake support for tmitrontests
  • automake suppport for mptests
  • Some (minor) corrections to several configure.in/Makefile.ams

=> c/src/tests/ is completly under automake control, now.
=> we could start to sort out the structural issues with c/src/tests

(tests/support, stubdr, tools, get "make dist" working)

  • 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/mcp750/console
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/../../../shared
15
16# C source names, if any, go here -- minus the .c
17C_PIECES = polled_io uart console inch console_reserve_resources
18C_FILES = $(C_PIECES:%=%.c)
19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES = $(srcdir)/consoleIo.h $(srcdir)/keyboard.h $(srcdir)/uart.h
22
23# Assembly source names, if any, go here -- minus the .s
24S_PIECES =
25S_FILES = $(S_PIECES:%=%.S)
26S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
27
28SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
29OBJS = $(S_O_FILES) $(C_O_FILES)
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/leaf.cfg
33
34INSTALL_CHANGE = @INSTALL_CHANGE@
35mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
36
37INSTALLDIRS = $(PROJECT_INCLUDE)/bsp
38
39$(INSTALLDIRS):
40        @$(mkinstalldirs) $(INSTALLDIRS)
41
42CC_PIECES =
43CC_FILES = $(CC_PIECES:%=%.cc)
44CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o)
45
46#
47# (OPTIONAL) Add local stuff here using +=
48#
49
50CPPFLAGS += -DSTATIC_LOG_ALLOC
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
55#  to just run 'make clean' first to see what gets missed.
56#  'make clobber' already includes 'make clean'
57#
58
59preinstall:
60        @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
61        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp
62
63all: ${ARCH} $(SRCS) preinstall ${OBJS}
64
65Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
66        cd $(top_builddir) \
67         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.