source: rtems/c/src/lib/libbsp/powerpc/psim/startup/Makefile.am @ daa9eb96

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

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

  • clock/Makefile.am: Eliminate VPATH.
  • console/Makefile.am: Eliminate VPATH.
  • shmsupp/Makefile.am: Eliminate VPATH.
  • startup/Makefile.am: Eliminate VPATH.
  • timer/Makefile.am: Eliminate VPATH.
  • vectors/Makefile.am: Eliminate VPATH.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = bspclean.c bspstart.c setvec.c
10OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
11
12include $(top_srcdir)/../../../../automake/compile.am
13include $(top_srcdir)/../../../../automake/lib.am
14
15shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
16shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
17shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
18shared_C_FILES += $(top_srcdir)/../../shared/main.c
19shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
20shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
21OBJS += $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
22
23$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
24        ${COMPILE} -o $@ -c $<
25
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30project_lib_DATA = linkcmds device-tree
31
32all-local: $(PGM) $(TMPINSTALL_FILES)
33
34EXTRA_DIST = bspclean.c bspstart.c device-tree linkcmds 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
44$(PROJECT_LIB)/device-tree: device-tree $(PROJECT_LIB)/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_LIB)/device-tree
46TMPINSTALL_FILES += $(PROJECT_LIB)/device-tree
47
48include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.