4.104.114.84.95
Last change
on this file since e453d5c was
5fa62fc4,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/06/00 at 15:32:10
|
2000-09-06 Ralf Corsepius <corsepiu@…>
- wrapup/rtems/Makefile.am: Use PROJECT_TOPdir in path to size_rtems.
|
-
Property mode set to
100644
|
File size:
990 bytes
|
Rev | Line | |
---|
[fba12eb6] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
| 7 | LIBNAME = librtems |
---|
| 8 | LIB = $(ARCH)/$(LIBNAME).a |
---|
| 9 | |
---|
| 10 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[d79bdeb] | 11 | include $(top_srcdir)/../../../automake/compile.am |
---|
[fba12eb6] | 12 | include $(top_srcdir)/../../../automake/lib.am |
---|
| 13 | |
---|
| 14 | CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) |
---|
| 15 | CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o) |
---|
| 16 | SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o) |
---|
| 17 | RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o) |
---|
| 18 | |
---|
| 19 | OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) |
---|
| 20 | |
---|
[5fa62fc4] | 21 | SIZE_RTEMS = $(SHELL) $(PROJECT_TOPdir)/tools/cpu/generic/size_rtems |
---|
[fba12eb6] | 22 | |
---|
| 23 | $(LIB): ${OBJS} |
---|
| 24 | $(make-library) |
---|
| 25 | # cd $(PROJECT_ROOT) ; \ |
---|
| 26 | $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \ |
---|
| 27 | >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt |
---|
| 28 | |
---|
[df49c60] | 29 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
[fba12eb6] | 30 | |
---|
| 31 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
| 32 | $(INSTALL_DATA) $< $@ |
---|
| 33 | |
---|
[df49c60] | 34 | all-local: ${ARCH} $(TMPINSTALL_FILES) |
---|
[fba12eb6] | 35 | |
---|
| 36 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.