source: rtems/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am @ d48576d

4.104.114.84.95
Last change on this file since d48576d was d48576d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/22/03 at 16:09:26

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

  • dlentry/Makefile.am: Eliminate VPATH.
  • flashentry/Makefile.am: Eliminate VPATH.
  • startup/Makefile.am: Eliminate VPATH.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5PGM = $(ARCH)/startup.rel
6
7C_FILES = bspclean.c bspstart.c setvec.c
8OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../../../automake/lib.am
12
13shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
14shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
15shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
16shared_C_FILES += $(top_srcdir)/../../shared/main.c
17shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
18shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
19OBJS += \
20    $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
21
22$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
23        ${COMPILE} -o $@ -c $<
24
25$(PGM): $(OBJS)
26        $(make-rel)
27
28project_lib_DATA = linkcmds
29
30# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
31
32all-local: $(PGM) $(TMPINSTALL_FILES)
33
34EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds.dl setvec.c
35
36$(PROJECT_LIB)/$(dirstamp):
37        @$(mkdir_p) $(PROJECT_LIB)
38        @: > $(PROJECT_LIB)/$(dirstamp)
39
40$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
42TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
43
44include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.