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

4.104.114.84.95
Last change on this file since 0162910 was 0162910, checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/98 at 23:15:38

Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventions. This is a
minor step along the way to supporting automake.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11PGM=${ARCH}/console.rel
12
13IMPORT_SRC=$(srcdir)/../../shared/io/printk.c
14
15# C source names, if any, go here -- minus the .c
16C_PIECES=console printk
17C_FILES=$(C_PIECES:%=%.c)
18C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
19
20H_FILES=
21
22# Assembly source names, if any, go here -- minus the .S
23S_PIECES=
24S_FILES=$(S_PIECES:%=%.S)
25S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
26
27SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
28OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
29
30include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
31include $(RTEMS_ROOT)/make/leaf.cfg
32
33#
34# (OPTIONAL) Add local stuff here using +=
35#
36
37DEFINES  += 
38CFLAGS   +=
39
40LD_PATHS  +=
41LD_LIBS   +=
42LDFLAGS   +=
43
44#
45# Add your list of files to delete here.  The config files
46#  already know how to delete some stuff, so you may want
47#  to just run 'make clean' first to see what gets missed.
48#  'make clobber' already includes 'make clean'
49#
50
51CLEAN_ADDITIONS +=
52CLOBBER_ADDITIONS +=
53
54preinstall:
55        ${CP} ${IMPORT_SRC} .
56
57${PGM}: ${SRCS} ${OBJS}
58        $(make-rel)
59
60all:    ${ARCH} preinstall $(SRCS) $(PGM)
61
62# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
63install:  all
Note: See TracBrowser for help on using the repository browser.