source: rtems/testsuites/libtests/tar01/Makefile.am @ d0566390

4.11
Last change on this file since d0566390 was 6f9ce8f4, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 8, 2011 at 9:38:12 PM

2011-12-08 Joel Sherrill <joel.sherrill@…>

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.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4
5if TARTESTS
6rtems_tests_PROGRAMS = tar01
7tar01_SOURCES = init.c ../../psxtests/psxfile01/test_cat.c \
8  initial_filesystem_tar.c initial_filesystem_tar.h
9 
10BUILT_SOURCES = initial_filesystem_tar.c initial_filesystem_tar.h
11
12dist_rtems_tests_DATA = tar01.scn
13dist_rtems_tests_DATA += tar01.doc
14endif TARTESTS
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(top_srcdir)/../automake/compile.am
18include $(top_srcdir)/../automake/leaf.am
19
20if TARTESTS
21AM_CPPFLAGS += -I$(top_srcdir)/include
22AM_CPPFLAGS += -I$(top_srcdir)/../support/include
23AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include
24
25LINK_OBJS = $(tar01_OBJECTS)
26LINK_LIBS = $(tar01_LDLIBS)
27
28tar01$(EXEEXT): $(tar01_OBJECTS) $(tar01_DEPENDENCIES)
29        @rm -f tar01$(EXEEXT)
30        $(make-exe)
31
32initial_filesystem_tar.c: initial_filesystem.tar
33        $(BIN2C) -C initial_filesystem.tar initial_filesystem_tar
34CLEANFILES += initial_filesystem_tar.c
35
36initial_filesystem_tar.h: initial_filesystem.tar
37        $(BIN2C) -H initial_filesystem.tar initial_filesystem_tar
38CLEANFILES += initial_filesystem_tar.h
39
40initial_filesystem.tar:
41        rm -rf initial_fs
42        $(MKDIR_P) initial_fs/home
43        (echo "This is a test of loading an RTEMS filesystem from an" ; \
44        echo "initial tar image.") >initial_fs/home/test_file
45        (cd initial_fs; \
46        $(LN_S) home/test_file symlink; \
47        $(PAX) -w -f ../initial_filesystem.tar home symlink)
48CLEANFILES += initial_filesystem.tar
49endif TARTESTS
50
51clean-local:
52        -rm -rf initial_fs
53
54include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.