source: rtems/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.am @ 5a30032

4.104.114.84.95
Last change on this file since 5a30032 was 5a30032, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 30, 2003 at 2:15:30 AM

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

  • startup/Makefile.am: Cosmetics.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5PGM = $(ARCH)/startup.rel
6
7#
8# First and second generation used different Bridge chips :(
9#       Generation 1 --> 82378zb (now in the CVS Attic)
10#       Generation 2 --> FPGA
11STARTUP_C_FILES = FPGA.c
12
13C_FILES = bspclean.c bspstart.c setvec.c Hwr_init.c spurious.c genpvec.c \
14    $(STARTUP_C_FILES)
15OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
16
17include $(top_srcdir)/../../../../automake/compile.am
18include $(top_srcdir)/../../../../automake/lib.am
19
20shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
21shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
22shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
23shared_C_FILES += $(top_srcdir)/../../shared/main.c
24shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
25shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
26OBJS += \
27    $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
28
29$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
30        ${COMPILE} -o $@ -c $<
31
32$(PGM): $(OBJS)
33        $(make-rel)
34
35project_lib_DATA = linkcmds
36
37all-local: $(PGM) $(TMPINSTALL_FILES)
38
39EXTRA_DIST = $(C_FILES) linkcmds
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.