summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh1/Makefile.am
blob: 50bf67569ed843b0294d1c7aef3b74ecd2ff282d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                        
            
 
                                                     
                                  
 

                                                  

                                  

                                 






                                                             
                               
                                 
 
                                          
                                                            
                                  
 
 


                                   
                                  
 
                                         
 
                           
                  
 




                                                
                     
 
         
                     
                                                                  
                                                          
                                   
                                                                       
                                          
                                     



                                                         



                                             
                                 

                                                       
 


                                                              
                                                                   
 
                   
 
                               
                                                   
ACLOCAL_AMFLAGS = -I ../../../../aclocal
EXTRA_DIST =

include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../bsp.am

include_shdir = $(includedir)/sh
include_rtems_scoredir = $(includedir)/rtems/score
include_bspdir = $(includedir)/bsp

dist_project_lib_DATA = bsp_specs

include_sh_HEADERS = include/sh/sci.h
include_sh_HEADERS += include/sh/sh7_pfc.h
include_sh_HEADERS += include/sh/sh7_sci.h

include_rtems_score_HEADERS = include/rtems/score/ispsh7032.h
include_rtems_score_HEADERS += include/rtems/score/iosh7032.h

include_HEADERS = include/bsp.h
include_HEADERS += include/tm27.h

nodist_include_HEADERS = include/bspopts.h
nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
DISTCLEANFILES = include/bspopts.h


EXTRA_DIST += start/start.S
start.$(OBJEXT): start/start.S
	$(CPPASCOMPILE) -o $@ -c $<
project_lib_DATA = start.$(OBJEXT)

dist_project_lib_DATA += startup/linkcmds

noinst_LIBRARIES = libbsp.a
libbsp_a_SOURCES =

SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen

scitab.c: $(SHGEN)
	$(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
BUILT_SOURCES = scitab.c
CLEANFILES = scitab.c

# startup
libbsp_a_SOURCES += \
    ../../shared/bsppredriverhook.c ../shared/startup/bspstart.c \
    ../../shared/bspclean.c ../../shared/bspreset_loop.c \
    ../../shared/bspgetworkarea.c \
    ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
    ../../shared/getentropy-cpucounter.c \
    ../../shared/gnatinstallhandler.c
libbsp_a_SOURCES += clock/ckinit.c
libbsp_a_SOURCES += clock/delay.c
libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7032.c
libbsp_a_SOURCES += timer/timer.c
# scitab
libbsp_a_SOURCES += scitab.c
# console
libbsp_a_SOURCES += ../../sh/shared/console.c
libbsp_a_SOURCES += console/sci.c
# debugio
libbsp_a_SOURCES += ../../shared/dummy_printk_support.c

# Cache
libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
libbsp_a_SOURCES += ../../shared/include/cache_.h
libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include

EXTRA_DIST += times

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