source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/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.2 KB
Line 
1##
2## $Id$
3##
4
5PGM = $(ARCH)/startup.rel
6
7C_FILES = bspstart.c bspclean.c setvec.c spurious.c genpvec.c swap.c
8OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
9
10S_FILES = bsptrap.S
11OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
12
13include $(top_srcdir)/../../../../automake/compile.am
14include $(top_srcdir)/../../../../automake/lib.am
15
16shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
17shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
18shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
19shared_C_FILES += $(top_srcdir)/../../shared/main.c
20shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
21shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
22OBJS += \
23    $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
24
25$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
26        ${COMPILE} -o $@ -c $<
27
28$(PGM): $(OBJS)
29        $(make-rel)
30
31project_lib_DATA = linkcmds
32
33all-local: $(PGM) $(TMPINSTALL_FILES)
34
35EXTRA_DIST = linkcmds $(C_FILES) $(S_FILES)
36
37$(PROJECT_LIB)/$(dirstamp):
38        @$(mkdir_p) $(PROJECT_LIB)
39        @: > $(PROJECT_LIB)/$(dirstamp)
40
41$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
42        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
43TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
44
45include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.