1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../../../.. |
---|
9 | subdir = libcpu/m68k/m68040/fpsp |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | PGM = ${ARCH}/fpsp.rel |
---|
17 | |
---|
18 | # C source names, if any, go here -- minus the .c |
---|
19 | C_PIECES = rtems_fpsp |
---|
20 | C_FILES = $(C_PIECES:%=%.c) |
---|
21 | C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) |
---|
22 | |
---|
23 | H_FILES = |
---|
24 | |
---|
25 | # Assembly source names, if any, go here -- minus the .S |
---|
26 | S_PIECES = bindec binstr bugfix decbin do_func gen_except get_op kernel_ex \ |
---|
27 | res_func round rtems_skel sacos sasin satan satanh scale scosh setox \ |
---|
28 | sgetem sint slog2 slogn smovecr srem_mod ssin ssinh stan stanh sto_res \ |
---|
29 | stwotox tbldo util x_bsun x_fline x_operr x_ovfl x_snan x_store x_unfl \ |
---|
30 | x_unimp x_unsupp |
---|
31 | S_FILES = $(S_PIECES:%=%.S) |
---|
32 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
33 | |
---|
34 | SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) |
---|
35 | OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) |
---|
36 | |
---|
37 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
38 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
39 | |
---|
40 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
41 | |
---|
42 | # |
---|
43 | # (OPTIONAL) Add local stuff here using += |
---|
44 | # |
---|
45 | |
---|
46 | DEFINES += |
---|
47 | CPPFLAGS += |
---|
48 | CFLAGS += $(CFLAGS_OS_V) |
---|
49 | |
---|
50 | LD_PATHS += |
---|
51 | LD_LIBS += |
---|
52 | LDFLAGS += |
---|
53 | |
---|
54 | # |
---|
55 | # Add your list of files to delete here. The config files |
---|
56 | # already know how to delete some stuff, so you may want |
---|
57 | # to just run 'make clean' first to see what gets missed. |
---|
58 | # 'make clobber' already includes 'make clean' |
---|
59 | # |
---|
60 | |
---|
61 | CLEAN_ADDITIONS += |
---|
62 | CLOBBER_ADDITIONS += |
---|
63 | |
---|
64 | ${PGM}: ${SRCS} ${OBJS} |
---|
65 | $(make-rel) |
---|
66 | |
---|
67 | all: ${ARCH} $(SRCS) $(PGM) |
---|
68 | |
---|
69 | # the .rel file built here will be put into libbsp.a by |
---|
70 | # libbsp/hppa/BSP/wrapup/Makefile |
---|
71 | install: all |
---|
72 | |
---|
73 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
74 | cd $(top_builddir) \ |
---|
75 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|