source: rtems/c/src/lib/libbsp/m68k/ods68302/start/Makefile.in @ 53ab4823

4.104.114.84.95
Last change on this file since 53ab4823 was fb16fed, checked in by Joel Sherrill <joel.sherrill@…>, on 12/21/99 at 15:25:05

Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@…>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

To apply:

patch -p1 < rtems-rc-19991203-10.diff

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = m68k/ods68302/start
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16PGM = ${ARCH}/start.o
17
18RESET_S_PIECES_yes_V = debugreset
19RESET_S_PIECES_no_V = reset
20RESET_S_PIECES__V = $(RESET_S_PIECES_no_V)
21RESET_S_PIECES = $(RESET_S_PIECES_$(RTEMS_DEBUGGER)_V)
22
23CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
24CFLAGS__V = $(CFLAGS_no_V)
25CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
26
27# C source names, if any, go here -- minus the .c
28C_PIECES = cpuboot
29C_FILES = $(C_PIECES:%=%.c)
30C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
31
32H_FILES =
33
34# Assembly source names, if any, go here -- minus the .S
35S_PIECES = $(RESET_S_PIECES)
36S_FILES = $(S_PIECES:%=%.S)
37S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
38
39SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
40OBJS = $(S_O_FILES) $(C_O_FILES)
41
42include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
43include $(RTEMS_ROOT)/make/leaf.cfg
44
45INSTALL_CHANGE = @INSTALL_CHANGE@
46
47#
48# (OPTIONAL) Add local stuff here using +=
49#
50
51DEFINES +=
52CPPFLAGS +=
53CFLAGS += $(CFLAGS_V)
54
55LD_PATHS +=
56LD_LIBS +=
57LDFLAGS +=
58
59#
60# Add your list of files to delete here.  The config files
61#  already know how to delete some stuff, so you may want
62#  to just run 'make clean' first to see what gets missed.
63#  'make clobber' already includes 'make clean'
64#
65
66CLEAN_ADDITIONS +=
67CLOBBER_ADDITIONS +=
68
69${PGM}: ${OBJS}
70        $(make-rel)
71
72all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
73        $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
74
75# Install the program(s), appending _g or _p as appropriate.
76# for include files, just use $(INSTALL_CHANGE)
77
78Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
79        cd $(top_builddir) \
80         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.