source: rtems/c/src/lib/libbsp/i386/i386ex/console/Makefile.in @ 196094eb

4.104.114.84.95
Last change on this file since 196094eb was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

  • 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 = c/src/lib/libbsp/i386/i386ex/console
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18PGM=${ARCH}/console.rel
19
20IMPORT_SRC=$(srcdir)/../../shared/io/printk.c
21
22# C source names, if any, go here -- minus the .c
23C_PIECES=console printk
24C_FILES=$(C_PIECES:%=%.c)
25C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
26
27H_FILES=
28
29# Assembly source names, if any, go here -- minus the .S
30S_PIECES=
31S_FILES=$(S_PIECES:%=%.S)
32S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
33
34SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
35OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
36
37include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
38include $(RTEMS_ROOT)/make/leaf.cfg
39
40#
41# (OPTIONAL) Add local stuff here using +=
42#
43
44DEFINES  += 
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
61preinstall:
62        ${CP} ${IMPORT_SRC} .
63
64${PGM}: ${SRCS} ${OBJS}
65        $(make-rel)
66
67all:    ${ARCH} preinstall $(SRCS) $(PGM)
68
69# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
70install:  all
71
72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73        cd $(top_builddir) \
74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.