source: rtems/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.am @ 4043f42

4.104.114.84.95
Last change on this file since 4043f42 was 4043f42, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 22, 2003 at 4:10:00 PM

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

  • PCI_bus/Makefile.am: Eliminate VPATH.
  • clock/Makefile.am: Eliminate VPATH.
  • console/Makefile.am: Eliminate VPATH.
  • start/Makefile.am: Eliminate VPATH.
  • startup/Makefile.am: Eliminate VPATH.
  • timer/Makefile.am: Eliminate VPATH.
  • tod/Makefile.am: Eliminate VPATH.
  • vectors/Makefile.am: Eliminate VPATH.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5
6
7PGM = $(ARCH)/startup.rel
8
9#
10# First and second generation used different Bridge chips :(
11#       Generation 1 --> 82378zb (now in the CVS Attic)
12#       Generation 2 --> FPGA
13STARTUP_C_FILES = FPGA.c
14
15C_FILES = bspclean.c bspstart.c \
16    setvec.c Hwr_init.c spurious.c genpvec.c $(STARTUP_C_FILES)
17OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
18
19include $(top_srcdir)/../../../../automake/compile.am
20include $(top_srcdir)/../../../../automake/lib.am
21
22shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
23shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
24shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
25shared_C_FILES += $(top_srcdir)/../../shared/main.c
26shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
27shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
28OBJS += $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
29
30$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
31        ${COMPILE} -o $@ -c $<
32
33
34$(PGM): $(OBJS)
35        $(make-rel)
36
37project_lib_DATA = linkcmds
38
39all-local: $(PGM) $(TMPINSTALL_FILES)
40
41EXTRA_DIST = $(C_FILES) linkcmds
42
43$(PROJECT_LIB)/$(dirstamp):
44        @$(mkdir_p) $(PROJECT_LIB)
45        @: > $(PROJECT_LIB)/$(dirstamp)
46
47$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
49TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
50
51include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.