[4ccd020] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
| 7 | top_srcdir = @top_srcdir@ |
---|
| 8 | top_builddir = .. |
---|
| 9 | subdir = itronmbox01 |
---|
| 10 | |
---|
| 11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
| 12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
| 13 | |
---|
| 14 | VPATH = @srcdir@ |
---|
| 15 | |
---|
| 16 | TEST = itronmbox01 |
---|
| 17 | PGM = ${ARCH}/$(TEST).exe |
---|
| 18 | |
---|
| 19 | MANAGERS = all |
---|
| 20 | |
---|
| 21 | # C source names, if any, go here -- minus the .c |
---|
| 22 | C_PIECES = init |
---|
| 23 | C_FILES = $(C_PIECES:%=%.c) |
---|
| 24 | C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) |
---|
| 25 | |
---|
| 26 | H_FILES = system.h |
---|
| 27 | |
---|
| 28 | DOCTYPES = doc scn |
---|
| 29 | DOCS = $(DOCTYPES:%=$(TEST).%) |
---|
| 30 | |
---|
| 31 | SRCS = $(DOCS) $(C_FILES) $(H_FILES) |
---|
| 32 | OBJS = $(C_O_FILES) |
---|
| 33 | |
---|
| 34 | PRINT_SRCS = $(DOCS) |
---|
| 35 | |
---|
| 36 | PGM = ${ARCH}/$(TEST).exe |
---|
| 37 | |
---|
| 38 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 39 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
| 40 | |
---|
| 41 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
| 42 | PACKHEX = @PACKHEX@ |
---|
| 43 | mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs |
---|
| 44 | |
---|
| 45 | INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/sptests |
---|
| 46 | |
---|
| 47 | $(INSTALLDIRS): |
---|
| 48 | @$(mkinstalldirs) $(INSTALLDIRS) |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | # |
---|
| 52 | # (OPTIONAL) Add local stuff here using += |
---|
| 53 | # |
---|
| 54 | |
---|
| 55 | DEFINES += |
---|
| 56 | CPPFLAGS += |
---|
| 57 | CFLAGS += |
---|
| 58 | |
---|
| 59 | LD_PATHS += |
---|
| 60 | LD_LIBS += |
---|
| 61 | LDFLAGS += |
---|
| 62 | |
---|
| 63 | # |
---|
| 64 | # Add your list of files to delete here. The config files |
---|
| 65 | # already know how to delete some stuff, so you may want |
---|
| 66 | # to just run 'make clean' first to see what gets missed. |
---|
| 67 | # 'make clobber' already includes 'make clean' |
---|
| 68 | # |
---|
| 69 | |
---|
| 70 | CLEAN_ADDITIONS += |
---|
| 71 | CLOBBER_ADDITIONS += |
---|
| 72 | |
---|
| 73 | all: ${ARCH} $(SRCS) $(PGM) |
---|
| 74 | @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests |
---|
| 75 | $(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \ |
---|
| 76 | $(PROJECT_RELEASE)/tests/screens/itrontests/$(TEST).scn |
---|
| 77 | |
---|
| 78 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
| 79 | $(make-exe) |
---|
| 80 | |
---|
| 81 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
| 82 | cd $(top_builddir) \ |
---|
| 83 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|