summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/m68k/m68040/fpsp/Makefile.am
blob: 35f09dfff63b5e8590b9e9f2c0c32d4f610c40a6 (plain) (tree)
1
2
3
4
5
6
7
8
9
  
       
  


                              
                      

                                                 
                                                        

                                                    
                      
                                      
 
                          
 





                                                                              
                                      






                                          
               


                   
                                 

     







                                                                             

                                                      
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/fpsp.rel

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

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

noinst_HEADERS = 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 +=
#

$(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