source: rtems/testsuites/fstests/jffs2_fspermission/Makefile.am @ 67901a82

4.115
Last change on this file since 67901a82 was ee4e7f0, checked in by Sebastian Huber <sebastian.huber@…>, on May 26, 2015 at 1:17:50 PM

jffs2: Move into separate library

In case the zlib compression was used, then the librtemscpu.a depended
on libz.a. To avoid a GCC patch or complicated link flags move the
JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to
link the executable.

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[0282e83]1
2rtems_tests_PROGRAMS = jffs2_fspermission
3jffs2_fspermission_SOURCES  = ../fspermission/test.c
4jffs2_fspermission_SOURCES += ../support/fstest_support.c
5jffs2_fspermission_SOURCES += ../support/fstest_support.h
6jffs2_fspermission_SOURCES += ../support/fstest.h
7jffs2_fspermission_SOURCES += ../../psxtests/include/pmacros.h
8jffs2_fspermission_SOURCES += ../jffs2_support/fs_support.c
9jffs2_fspermission_SOURCES += ../jffs2_support/fs_config.h
[ee4e7f0]10jffs2_fspermission_LDADD = -ljffs2
[0282e83]11
[a136fb6]12dist_rtems_tests_DATA = jffs2_fspermission.scn
[0282e83]13#dist_rtems_tests_DATA += jffs2_fspermission.doc
14
15include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16include $(top_srcdir)/../automake/compile.am
17include $(top_srcdir)/../automake/leaf.am
18
19
20AM_CPPFLAGS += -I$(top_srcdir)/support
21AM_CPPFLAGS += -I$(top_srcdir)/jffs2_support
22AM_CPPFLAGS += -I$(top_srcdir)/../support/include
23AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include
24
[ee4e7f0]25LINK_OBJS = $(jffs2_fspermission_OBJECTS) $(jffs2_fspermission_LDADD)
[0282e83]26LINK_LIBS = $(jffs2_fspermission_LDLIBS)
27
28jffs2_fspermission$(EXEEXT): $(jffs2_fspermission_OBJECTS) $(jffs2_fspermission_DEPENDENCIES)
29        @rm -f jffs2_fspermission$(EXEEXT)
30        $(make-exe)
31
32include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.