source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/startup/Makefile.am @ e9b6f41

4.104.114.84.95
Last change on this file since e9b6f41 was b35414a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/13/03 at 05:09:48

2003-12-13 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
  • startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = bspstart.c bspclean.c sbrk.c setvec.c spurious.c genpvec.c swap.c \
10    main.c bootcard.c bsplibc.c bsppost.c gnatinstallhandler.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13S_FILES = bsptrap.S
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES) $(S_O_FILES)
17
18include $(top_srcdir)/../../../../automake/compile.am
19include $(top_srcdir)/../../../../automake/lib.am
20
21#FIXME: What is this?
22# Files expected to be from the shared directory:
23#  sbrk bootcard main bsplibc bsppost
24STARTUP_C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main \
25    bootcard bsplibc bsppost
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(PGM): $(OBJS)
32        $(make-rel)
33
34project_lib_DATA = linkcmds
35
36all-local: $(PGM) $(TMPINSTALL_FILES)
37
38EXTRA_DIST = bspclean.c bspstart.c bsptrap.S genpvec.c linkcmds \
39    rtems-ctor.cc setvec.c spurious.c swap.c
40
41$(PROJECT_LIB)/$(dirstamp):
42        @$(mkdir_p) $(PROJECT_LIB)
43        @: > $(PROJECT_LIB)/$(dirstamp)
44
45$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
46        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
47TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
48
49include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.