summaryrefslogblamecommitdiffstats
path: root/c/src/exec/score/src/Makefile.in
blob: ca564f6d9307b439c9506a60a07ec6f4b78404d4 (plain) (tree)
1
2
3
4
5
6
7
8
9





                 
                         

                    
 
                         



                             




                                                 
                                                                   

                                          
 


                                                       





                                                                      





                                                                            

                        





                                                                     


                                                                 
                                                                


                                                                               
                                   

                                     
 

                   
 



                               
                             
           
                        







                                                          
                  

                    
                            
 
                                                             

                                                                              
#
#  $Id$
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ../..
subdir = score/src

RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@

VPATH = @srcdir@

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

INSTALL_CHANGE = @INSTALL_CHANGE@

# We only build multiprocessing related files if HAS_MP was defined
MP_C_PIECES_yes_V = mpci objectmp threadmp
MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V)

HEAP_C_PIECES = heap heapallocate heapextend heapfree \
    heapsizeofuserarea heapwalk

OBJECT_C_PIECES = object objectallocate objectallocatebyindex \
    objectclearname objectcomparenameraw objectcomparenamestring \
    objectcopynameraw objectcopynamestring objectextendinformation \
    objectfree objectget objectgetbyindex objectgetnext \
    objectinitializeinformation objectnametoid objectshrinkinformation

THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \
    threadcreateidle threaddelayended threaddispatch threadevaluatemode \
    threadget threadhandler threadidlebody threadinitialize threadloadenv \
    threadready threadresettimeslice threadrestart threadsetpriority \
    threadsetstate threadsettransient threadstackallocate threadstackfree \
    threadstart threadstartmultitasking threadtickletimeslice \
    threadyieldprocessor

THREADQ_C_PIECES= threadq threadqdequeue threadqdequeuefifo \
    threadqdequeuepriority threadqenqueue threadqenqueuefifo \
    threadqenqueuepriority threadqextract threadqextractfifo \
    threadqextractpriority threadqextractwithproxy threadqfirst \
    threadqfirstfifo threadqfirstpriority threadqflush threadqtimeout

TOD_C_PIECES= coretod coretodset coretodtickle coretodtoseconds \
    coretodvalidate

# C and C++ source names, if any, go here -- minus the .c or .cc
C_PIECES = apiext chain coremsg coremutex coresem $(HEAP_C_PIECES) interr isr \
    $(OBJECT_C_PIECES) $(THREAD_C_PIECES) $(THREADQ_C_PIECES) \
    $(TOD_C_PIECES) userext \
    watchdog wkspace $(MP_C_PIECES)
C_FILES = $(C_PIECES:%=%.c)
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)

SRCS = $(C_FILES)
OBJS = $(C_O_FILES)

#
# Add local stuff here using +=
#

DEFINES += -D__RTEMS_INSIDE__
CPPFLAGS +=
CFLAGS += $(CFLAGS_OS_V)

#
# Add your list of files to delete here.  The config files
#  already know how to delete some stuff, so you may want
#  to just run 'make clean' first to see what gets missed.
#  'make clobber' already includes 'make clean'
#

CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS +=

all: ${ARCH} $(SRCS) ${OBJS}

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status