source: rtems/c/src/exec/score/cpu/m68k/Makefile.in @ a2016b99

4.104.114.84.95
Last change on this file since a2016b99 was a2016b99, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 14:42:08

Removed include directory at "build" point and the link of this directory
to lib/include.

Went to using a PROJECT_INCLUDE variable.

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