summaryrefslogblamecommitdiffstats
path: root/testsuites/psxtests/psxreaddir/Makefile.am
blob: cc677f98cfd087380ed0588b43e4b0e9de85adda (plain) (tree)
1
2
3
4
5
6
7
8
9
  
       
  
 


              
                        
                                                  
 
                     
 
                       
 
 
                            

                                                 
                                            
                                         






                                                
                                                                                  





                                                                 
                                                                                                                            

                             

                                                                           

                           
 
 

                                      

                                                 


                             
                              
 
                    
 

                                
                                          
##
## $Id$
##


MANAGERS = all

noinst_LIBRARIES = lib.a
lib_a_SOURCES = main.c test.c ../include/pmacros.h

DOCS = psxreaddir.scn

OBJS = $(lib_a_OBJECTS)


PGM = ${ARCH}/psxreaddir.exe

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

project_bspdir=$(PROJECT_ROOT)

$(project_bspdir)/tests/$(dirstamp):
	@$(mkdir_p) $(project_bspdir)/tests
	@: > $(project_bspdir)/tests/$(dirstamp)

$(project_bspdir)/tests/psxreaddir.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
	$(INSTALL_PROGRAM) $< $@

$(project_bspdir)/tests/screens/psxtests/$(dirstamp):
	@$(mkdir_p) $(project_bspdir)/tests/screens/psxtests
	@: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp)

$(project_bspdir)/tests/screens/psxtests/psxreaddir.scn: psxreaddir.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp)
	$(INSTALL_DATA) $< $@

TMPINSTALL_FILES = $(project_bspdir)/tests/psxreaddir.exe
TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxreaddir.scn

$(PGM): ${ARCH}/$(dirstamp)


AM_CPPFLAGS += -I$(top_srcdir)/include

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

${PGM}: $(OBJS) $(LINK_FILES)
	$(make-exe)

all-local: $(TMPINSTALL_FILES)

EXTRA_DIST = $(DOCS)

CLEANFILES = $(TMPINSTALL_FILES)

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