summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/m68k/m68040/fpsp/Makefile.am
blob: 3e0284b63f57421a84dab85c94754373c586b4fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
## 
## $Id$
## 

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/fpsp.rel

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../automake/lib.am

C_FILES = rtems_fpsp.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

H_FILES = fpsp.defs

S_FILES = bindec.S binstr.S bugfix.S decbin.S do_func.S gen_except.S \
    get_op.S kernel_ex.S res_func.S round.S rtems_skel.S sacos.S sasin.S \
    satan.S satanh.S scale.S scosh.S setox.S sgetem.S sint.S slog2.S slogn.S \
    smovecr.S srem_mod.S ssin.S ssinh.S stan.S stanh.S sto_res.S stwotox.S \
    tbldo.S util.S x_bsun.S x_fline.S x_operr.S x_ovfl.S x_snan.S x_store.S \
    x_unfl.S x_unimp.S x_unsupp.S
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)

OBJS = $(C_O_FILES) $(S_O_FILES)

#
# (OPTIONAL) Add local stuff here using +=
#

AM_CFLAGS += $(CFLAGS_OS_V)

$(PGM): $(OBJS)
	$(make-rel)

if m68040
all-local: $(ARCH) $(OBJS) $(PGM)
endif

.PRECIOUS: $(PGM)

EXTRA_DIST = README bindec.S binstr.S bugfix.S decbin.S do_func.S fpsp.defs \
    gen_except.S get_op.S kernel_ex.S res_func.S round.S rtems_fpsp.c \
    rtems_skel.S sacos.S sasin.S satan.S satanh.S scale.S scosh.S setox.S \
    sgetem.S sint.S slog2.S slogn.S smovecr.S srem_mod.S ssin.S ssinh.S \
    stan.S stanh.S sto_res.S stwotox.S tbldo.S util.S x_bsun.S x_fline.S \
    x_operr.S x_ovfl.S x_snan.S x_store.S x_unfl.S x_unimp.S x_unsupp.S

include $(top_srcdir)/../../../../../automake/local.am