source: rtems/c/src/lib/libbsp/a29k/portsw/console/Makefile.in @ 1597ab4a

4.104.114.84.95
Last change on this file since 1597ab4a was 1597ab4a, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:17:27

Patch rtems-rc-20000104-8.diff from Ralf Corsepius <corsepiu@…>
that converts the a29k directory to automake.

NOTE: This port is not based on the GNU tools so no one can test it.

  • 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 = console
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16PGM = ${ARCH}/console.rel
17
18# C source names, if any, go here -- minus the .c
19C_PIECES = console serial
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
22
23H_FILES = $(srcdir)/concntl.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 +=
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): ${OBJS}
67        $(make-rel)
68
69all: ${ARCH} $(SRCS) $(PGM)
70        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
71
72# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
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.