source: rtems/c/src/exec/score/cpu/m68k/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.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11RELS=$(ARCH)/rtems-cpu.rel
12
13# C source names, if any, go here -- minus the .c
14C_PIECES=cpu memcpy
15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=$(srcdir)/cpu.h $(srcdir)/m68k.h $(srcdir)/m68ktypes.h
19
20# H_FILES that get installed externally
21EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/m68302.h $(srcdir)/m68360.h \
22        $(srcdir)/qsm.h $(srcdir)/sim.h
23
24# Assembly source names, if any, go here -- minus the .S
25S_PIECES=cpu_asm rtems
26S_FILES=$(S_PIECES:%=%.S)
27S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
28
29SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
30OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
31
32include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
33include $(RTEMS_ROOT)/make/leaf.cfg
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39DEFINES  +=
40CPPFLAGS +=
41CFLAGS   += $(CFLAGS_OS_V)
42
43LD_PATHS  +=
44LD_LIBS   +=
45LDFLAGS   +=
46
47#
48# Add your list of files to delete here.  The config files
49#  already know how to delete some stuff, so you may want
50#  to just run 'make clean' first to see what gets missed.
51#  'make clobber' already includes 'make clean'
52#
53
54CLEAN_ADDITIONS +=
55CLOBBER_ADDITIONS +=
56
57$(ARCH)/rtems-cpu.rel: $(OBJS)
58        $(make-rel)
59
60all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
61
62preinstall: $(ARCH) $(PROJECT_INCLUDE)/rtems/score/targopts.h \
63            ${PROJECT_RELEASE}/lib/bsp_specs
64        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
65# we will share the basic cpu file
66        $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
67
68$(PROJECT_INCLUDE)/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp
69        $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@
70
71# $(ARCH)/targopts.h-tmp rule is in leaf.cfg
72
73${PROJECT_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp
74        $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@
75
76# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg
Note: See TracBrowser for help on using the repository browser.