1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | VPATH = @srcdir@:@srcdir@/../../../shared |
---|
8 | |
---|
9 | PGM = $(ARCH)/startup.rel |
---|
10 | |
---|
11 | #C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \ |
---|
12 | # gnatinstallhandler |
---|
13 | C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c cntrltbl.c \ |
---|
14 | exit.c fault.c flttbl.c frmstr.c intrtbl.c kkprintf.c main.c nmi.c \ |
---|
15 | nulsystbl.c prcb.c rom_cntrltbl.c rom_ibr.c rom_prcb.c sbrk.c sctns.c \ |
---|
16 | setvec.c systbl.c |
---|
17 | |
---|
18 | noinst_HEADERS = asmfault.h asmstub.h cntrltbl.h fault.h faultret.h flttbl.h \ |
---|
19 | frmstr.h i960.h ihandler.h intrtbl.h main.h memchnl.h pmc901_memmap.h \ |
---|
20 | prcb.h rom_ibr.h rommon.h sctns.h systbl.h time.h types.h |
---|
21 | |
---|
22 | S_FILES = asmfault.S asmstub.S ihandler.S |
---|
23 | |
---|
24 | OBJS = $(C_FILES:%.c=$(ARCH)/%.o) $(S_FILES:%.S=$(ARCH)/%.o) |
---|
25 | |
---|
26 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
27 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
28 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
29 | |
---|
30 | # |
---|
31 | # (OPTIONAL) Add local stuff here using += |
---|
32 | # |
---|
33 | |
---|
34 | $(PGM): $(OBJS) |
---|
35 | $(make-rel) |
---|
36 | |
---|
37 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds |
---|
38 | $(INSTALL_DATA) $< $@ |
---|
39 | |
---|
40 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
41 | |
---|
42 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds |
---|
43 | |
---|
44 | all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
---|
45 | |
---|
46 | .PRECIOUS: $(PGM) |
---|
47 | |
---|
48 | EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \ |
---|
49 | cntrltbl.h dram.ld exit.c fault.c fault.h faultret.h flttbl.c flttbl.h \ |
---|
50 | frmstr.c frmstr.h i960.h ihandler.S ihandler.h intrtbl.c intrtbl.h \ |
---|
51 | kkprintf.c linkcmds main.h memchnl.h nmi.c nulsystbl.c pmc901_memmap.h \ |
---|
52 | prcb.c prcb.h rom.ld rom_cntrltbl.c rom_ibr.c rom_ibr.h rom_prcb.c \ |
---|
53 | rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h time.h \ |
---|
54 | types.h |
---|
55 | |
---|
56 | include $(top_srcdir)/../../../../../../automake/local.am |
---|