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