1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | # wrapup is the one that actually builds and installs the library |
---|
8 | # from the individual .rel files built in other directories |
---|
9 | SUBDIRS = . @exceptions@ wrapup |
---|
10 | |
---|
11 | include $(top_srcdir)/../../../../automake/compile.am |
---|
12 | include $(top_srcdir)/../../bsp.am |
---|
13 | |
---|
14 | EXTRA_PROGRAMS = |
---|
15 | CLEANFILES = |
---|
16 | noinst_DATA = |
---|
17 | |
---|
18 | dist_project_lib_DATA += bsp_specs.dl |
---|
19 | |
---|
20 | include_HEADERS += include/coverhd.h |
---|
21 | |
---|
22 | EXTRA_PROGRAMS += dlentry.rel |
---|
23 | CLEANFILES += dlentry.rel |
---|
24 | dlentry_rel_SOURCES = dlentry/dlentry.S |
---|
25 | dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
26 | dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
27 | |
---|
28 | EXTRA_PROGRAMS += dlentry_g.rel |
---|
29 | CLEANFILES += dlentry_g.rel |
---|
30 | dlentry_g_rel_SOURCES = $(dlentry_rel_SOURCES) |
---|
31 | dlentry_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
32 | dlentry_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
33 | |
---|
34 | noinst_DATA += dlentry$(LIB_VARIANT).rel |
---|
35 | |
---|
36 | EXTRA_PROGRAMS += flashentry.rel |
---|
37 | CLEANFILES += flashentry.rel |
---|
38 | flashentry_rel_SOURCES = flashentry/flashentry.S |
---|
39 | flashentry_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
40 | flashentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
41 | |
---|
42 | EXTRA_PROGRAMS += flashentry_g.rel |
---|
43 | CLEANFILES += flashentry_g.rel |
---|
44 | flashentry_g_rel_SOURCES = $(flashentry_rel_SOURCES) |
---|
45 | flashentry_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
46 | flashentry_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
47 | |
---|
48 | noinst_DATA += flashentry$(LIB_VARIANT).rel |
---|
49 | |
---|
50 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.dl |
---|
51 | |
---|
52 | EXTRA_PROGRAMS += startup.rel |
---|
53 | CLEANFILES += startup.rel |
---|
54 | startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
55 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
56 | ../../shared/main.c ../../shared/sbrk.c startup/setvec.c \ |
---|
57 | ../../shared/gnatinstallhandler.c |
---|
58 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
59 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
60 | |
---|
61 | EXTRA_PROGRAMS += startup_g.rel |
---|
62 | CLEANFILES += startup_g.rel |
---|
63 | startup_g_rel_SOURCES = $(startup_rel_SOURCES) |
---|
64 | startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
65 | startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
66 | |
---|
67 | noinst_DATA += startup$(LIB_VARIANT).rel |
---|
68 | |
---|
69 | all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
70 | |
---|
71 | EXTRA_DIST = times |
---|
72 | |
---|
73 | PREINSTALL_DIRS = |
---|
74 | TMPINSTALL_FILES = |
---|
75 | |
---|
76 | $(PROJECT_LIB)/bsp_specs.dl: bsp_specs.dl $(PROJECT_LIB)/$(dirstamp) |
---|
77 | $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs.dl |
---|
78 | TMPINSTALL_FILES += $(PROJECT_LIB)/bsp_specs.dl |
---|
79 | |
---|
80 | $(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
81 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h |
---|
82 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h |
---|
83 | |
---|
84 | $(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp) |
---|
85 | $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds |
---|
86 | TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds |
---|
87 | |
---|
88 | $(PROJECT_LIB)/linkcmds.dl: startup/linkcmds.dl $(PROJECT_LIB)/$(dirstamp) |
---|
89 | $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.dl |
---|
90 | TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.dl |
---|
91 | |
---|
92 | CLEANFILES += $(PREINSTALL_FILES) |
---|
93 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
94 | CLEANFILES += $(TMPINSTALL_FILES) |
---|
95 | |
---|
96 | include $(top_srcdir)/../../../../automake/subdirs.am |
---|
97 | include $(top_srcdir)/../../../../automake/local.am |
---|