forked from Imagelibrary/rtems
PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
if TARTESTS
|
|
rtems_tests_PROGRAMS = tar02
|
|
tar02_SOURCES = init.c ../../psxtests/psxfile01/test_cat.c \
|
|
initial_filesystem_tar.c initial_filesystem_tar.h
|
|
|
|
BUILT_SOURCES = initial_filesystem_tar.c initial_filesystem_tar.h
|
|
|
|
dist_rtems_tests_DATA = tar02.scn
|
|
dist_rtems_tests_DATA += tar02.doc
|
|
endif
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
|
|
if TARTESTS
|
|
AM_CPPFLAGS += -I$(top_srcdir)/include
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include
|
|
|
|
LINK_OBJS = $(tar02_OBJECTS)
|
|
LINK_LIBS = $(tar02_LDLIBS)
|
|
|
|
tar02$(EXEEXT): $(tar02_OBJECTS) $(tar02_DEPENDENCIES)
|
|
@rm -f tar02$(EXEEXT)
|
|
$(make-exe)
|
|
|
|
initial_filesystem_tar.c: initial_filesystem.tar
|
|
$(BIN2C) -C initial_filesystem.tar initial_filesystem_tar
|
|
CLEANFILES += initial_filesystem_tar.c
|
|
|
|
initial_filesystem_tar.h: initial_filesystem.tar
|
|
$(BIN2C) -H initial_filesystem.tar initial_filesystem_tar
|
|
CLEANFILES += initial_filesystem_tar.h
|
|
|
|
initial_filesystem.tar:
|
|
rm -rf initial_fs
|
|
$(MKDIR_P) initial_fs/home
|
|
(echo "This is a test of loading an RTEMS filesystem from an" ; \
|
|
echo "initial tar image.") >initial_fs/home/test_file
|
|
(cd initial_fs; \
|
|
$(LN_S) home/test_file symlink; \
|
|
$(PAX) -w -f ../initial_filesystem.tar home symlink)
|
|
CLEANFILES += initial_filesystem.tar
|
|
endif TARTESTS
|
|
|
|
clean-local:
|
|
-rm -rf initial_fs
|
|
|
|
include $(top_srcdir)/../automake/local.am
|