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

4.115
Last change on this file since d0566390 was 6f9ce8f4, checked in by Joel Sherrill <joel.sherrill@…>, on 12/08/11 at 21:38:12

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