source: rtems/c/src/lib/libbsp/m68k/ods68302/start/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.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../../../..
9subdir = c/src/lib/libbsp/m68k/ods68302/start302
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18PGM=${ARCH}/start302.o
19
20ifeq ($(RTEMS_DEBUGGER),yes)
21RESET_SRC = debugreset
22else
23RESET_SRC = reset
24CFLAGS += -DGDB_MONITOR_ACTIVE
25endif
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_SRC)
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
45#
46# (OPTIONAL) Add local stuff here using +=
47#
48
49DEFINES  +=
50CPPFLAGS +=
51CFLAGS   +=
52
53LD_PATHS  +=
54LD_LIBS   +=
55LDFLAGS   +=
56
57#
58# Add your list of files to delete here.  The config files
59#  already know how to delete some stuff, so you may want
60#  to just run 'make clean' first to see what gets missed.
61#  'make clobber' already includes 'make clean'
62#
63
64CLEAN_ADDITIONS +=
65CLOBBER_ADDITIONS +=
66
67${PGM}: ${OBJS}
68        $(make-rel)
69       
70all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
71        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
72
73# Install the program(s), appending _g or _p as appropriate.
74# for include files, just use $(INSTALL_CHANGE)
75
76Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
77        cd $(top_builddir) \
78         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.