source: rtems/c/src/lib/libbsp/sh/gensh2/startup/Makefile.am @ b35414a

4.104.114.84.95
Last change on this file since b35414a was b35414a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/13/03 at 05:09:48

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

  • start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
  • startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
  • Property mode set to 100644
File size: 940 bytes
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = hw_init.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
10    bootcard.c main.c gnatinstallhandler.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13OBJS = $(C_O_FILES)
14
15include $(top_srcdir)/../../../../automake/compile.am
16include $(top_srcdir)/../../../../automake/lib.am
17
18#
19# (OPTIONAL) Add local stuff here using +=
20#
21
22project_lib_DATA = linkcmds
23
24$(PGM): $(OBJS)
25        $(make-rel)
26
27all-local: $(PREINSTALL_FILES) $(PGM) $(TMPINSTALL_FILES)
28
29EXTRA_DIST = bspclean.c bspstart.c hw_init.c linkcmds linkcmds.ram \
30    linkcmds.rom
31
32$(PROJECT_LIB)/$(dirstamp):
33        @$(mkdir_p) $(PROJECT_LIB)
34        @: > $(PROJECT_LIB)/$(dirstamp)
35
36$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
38TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
39
40include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.