source: rtems/testsuites/libtests/tar02/Makefile.am @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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