4.104.114.84.95
Rev | Line | |
---|
[df49c60] | 1 | ## |
---|
[4e36a2f] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[4e36a2f] | 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
| 7 | PGM = $(ARCH)/tod.rel |
---|
| 8 | |
---|
| 9 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 10 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 11 | |
---|
| 12 | # generation 1 |
---|
| 13 | TOD_C_FILES_1_V = tod_g1.c |
---|
| 14 | # generation 2 |
---|
| 15 | TOD_C_FILES_2_V = tod.c |
---|
| 16 | TOD_C_FILES = $(TOD_C_FILES_$(SCORE603E_GENERATION)_V) |
---|
| 17 | |
---|
| 18 | C_FILES = $(TOD_C_FILES) |
---|
| 19 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
| 20 | |
---|
| 21 | OBJS = $(C_O_FILES) |
---|
| 22 | |
---|
| 23 | # |
---|
| 24 | # (OPTIONAL) Add local stuff here using += |
---|
| 25 | # |
---|
| 26 | |
---|
| 27 | $(PGM): $(OBJS) |
---|
| 28 | $(make-rel) |
---|
| 29 | |
---|
| 30 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
| 31 | |
---|
| 32 | all-local: $(ARCH) $(OBJS) $(PGM) |
---|
| 33 | |
---|
| 34 | .PRECIOUS: $(PGM) |
---|
| 35 | |
---|
| 36 | EXTRA_DIST = tod.c tod_g1.c |
---|
| 37 | |
---|
| 38 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.