[16a384cf] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
| 7 | top_srcdir = @top_srcdir@ |
---|
[6693a68] | 8 | top_builddir = ../../../.. |
---|
| 9 | subdir = libbsp/i386/ts_386ex/console |
---|
[16a384cf] | 10 | |
---|
[6693a68] | 11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
[16a384cf] | 12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
| 13 | |
---|
[1896a650] | 14 | VPATH = @srcdir@:@srcdir@/../../shared/io |
---|
[16a384cf] | 15 | |
---|
[6693a68] | 16 | PGM = ${ARCH}/console.rel |
---|
[16a384cf] | 17 | |
---|
| 18 | # C source names, if any, go here -- minus the .c |
---|
[6693a68] | 19 | C_PIECES = console printk |
---|
| 20 | C_FILES = $(C_PIECES:%=%.c) |
---|
| 21 | C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) |
---|
[16a384cf] | 22 | |
---|
[6693a68] | 23 | H_FILES = |
---|
[16a384cf] | 24 | |
---|
| 25 | # Assembly source names, if any, go here -- minus the .S |
---|
[6693a68] | 26 | S_PIECES = |
---|
| 27 | S_FILES = $(S_PIECES:%=%.S) |
---|
| 28 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
[16a384cf] | 29 | |
---|
[6693a68] | 30 | SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) |
---|
| 31 | OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) |
---|
[16a384cf] | 32 | |
---|
[6693a68] | 33 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[16a384cf] | 34 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
| 35 | |
---|
[6693a68] | 36 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
| 37 | |
---|
[16a384cf] | 38 | # |
---|
| 39 | # (OPTIONAL) Add local stuff here using += |
---|
| 40 | # |
---|
| 41 | |
---|
[6693a68] | 42 | DEFINES += |
---|
| 43 | CFLAGS += |
---|
[16a384cf] | 44 | |
---|
[6693a68] | 45 | LD_PATHS += |
---|
| 46 | LD_LIBS += |
---|
| 47 | LDFLAGS += |
---|
[16a384cf] | 48 | |
---|
| 49 | # |
---|
| 50 | # Add your list of files to delete here. The config files |
---|
| 51 | # already know how to delete some stuff, so you may want |
---|
| 52 | # to just run 'make clean' first to see what gets missed. |
---|
| 53 | # 'make clobber' already includes 'make clean' |
---|
| 54 | # |
---|
| 55 | |
---|
| 56 | CLEAN_ADDITIONS += |
---|
| 57 | CLOBBER_ADDITIONS += |
---|
| 58 | |
---|
| 59 | ${PGM}: ${SRCS} ${OBJS} |
---|
| 60 | $(make-rel) |
---|
| 61 | |
---|
[1896a650] | 62 | all: ${ARCH} $(SRCS) $(PGM) |
---|
[16a384cf] | 63 | |
---|
| 64 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
[6693a68] | 65 | install: all |
---|
[16a384cf] | 66 | |
---|
[08b5f55] | 67 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
[16a384cf] | 68 | cd $(top_builddir) \ |
---|
[6693a68] | 69 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|