summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/sparc/syscall/Makefile.am
blob: 7fa0e2783a6265cc826eebc7256ee60074939f53 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
  
       
  
 
 
                         



                   
                          
 
                                                

                                                 
                                                        





                                                    


                              


                                                       





                                                
                                                      
##
## $Id$
##


PGM = $(ARCH)/syscall.rel

## Assembly sources
S_FILES = syscall.S

noinst_HEADERS = syscall.h

syscall_rel_OBJECTS = $(S_FILES:%.S=$(ARCH)/%.o)

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

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

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

# the .rel file built here will be put into libbsp.a by
#    libbsp/sparc/BSP/wrapup/Makefile

all-local: $(ARCH) $(syscall_rel_OBJECTS) $(PGM)

.PRECIOUS: $(PGM)

EXTRA_DIST = syscall.S syscall.h

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