source: rtems/c/src/lib/libbsp/m68k/gen68340/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: 1.0 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c init68340.c bootcard.c \
10    m68kpretaskinghook.c main.c sbrk.c setvec.c dumpanic.c \
11    gnatinstallhandler.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14OBJS = $(C_O_FILES)
15
16include $(top_srcdir)/../../../../automake/compile.am
17include $(top_srcdir)/../../../../automake/lib.am
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23$(PGM): $(OBJS)
24        $(make-rel)
25
26project_lib_DATA = linkcmds
27
28# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
29
30all-local: $(PGM) $(TMPINSTALL_FILES)
31
32EXTRA_DIST = bspclean.c bspstart.c dumpanic.c init68340.c linkcmds
33
34$(PROJECT_LIB)/$(dirstamp):
35        @$(mkdir_p) $(PROJECT_LIB)
36        @: > $(PROJECT_LIB)/$(dirstamp)
37
38$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
40TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
41
42include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.