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


       


                              
                                                                    
                                                
 
                                                                           

                                                                         
               
 






                                             
 
         

                                                    






                                           
                              

                                                
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

## We only build multiprocessing related files if HAS_MP was defined
MP_I_FILES = mppkt.inl objectmp.inl threadmp.inl

STD_I_FILES = address.inl chain.inl coremsg.inl coremutex.inl coresem.inl \
    heap.inl isr.inl object.inl priority.inl stack.inl states.inl \
    sysstate.inl thread.inl tod.inl tqdata.inl userext.inl watchdog.inl \
    wkspace.inl

if HAS_MP
I_FILES = $(STD_I_FILES) $(MP_I_FILES)
else
I_FILES = $(STD_I_FILES)
endif

noinst_HEADERS = $(STD_I_FILES) $(MP_I_FILES)

if INLINE
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
    $(I_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%)

$(PROJECT_INCLUDE)/rtems/score:
	@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/rtems/score/%.inl: %.inl
	$(INSTALL_DATA) $< $@
endif

all-local: $(PREINSTALL_FILES)

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