Home | History | Annotate | Download | only in tests
      1 
      2 REALPATH= readlink -f
      3 
      4 SRCDIR := $(shell $(REALPATH) $(topdir)/libutil++/tests/ )
      5 
      6 AM_CPPFLAGS = \
      7 	-I ${top_srcdir}/libutil++ -D SRCDIR="\"$(SRCDIR)/\""
      8 
      9 COMMON_LIBS = ../libutil++.a ../../libutil/libutil.a
     10 
     11 LIBS = @LIBERTY_LIBS@
     12 
     13 AM_CXXFLAGS = @OP_CXXFLAGS@
     14 
     15 check_PROGRAMS = \
     16 	string_manip_tests \
     17 	string_filter_tests \
     18 	comma_list_tests \
     19 	file_manip_tests \
     20 	glob_filter_tests \
     21 	path_filter_tests \
     22 	cached_value_tests \
     23 	utility_tests
     24 
     25 string_manip_tests_SOURCES = string_manip_tests.cpp
     26 string_manip_tests_LDADD = ${COMMON_LIBS}
     27 
     28 string_filter_tests_SOURCES = string_filter_tests.cpp
     29 string_filter_tests_LDADD = ${COMMON_LIBS}
     30 
     31 glob_filter_tests_SOURCES = glob_filter_tests.cpp
     32 glob_filter_tests_LDADD = ${COMMON_LIBS}
     33 
     34 path_filter_tests_SOURCES = path_filter_tests.cpp
     35 path_filter_tests_LDADD = ${COMMON_LIBS}
     36 
     37 comma_list_tests_SOURCES = comma_list_tests.cpp
     38 comma_list_tests_LDADD = ${COMMON_LIBS}
     39 
     40 file_manip_tests_SOURCES = file_manip_tests.cpp
     41 file_manip_tests_LDADD = ${COMMON_LIBS}
     42 
     43 cached_value_tests_SOURCES = cached_value_tests.cpp
     44 cached_value_tests_LDADD = ${COMMON_LIBS}
     45 
     46 utility_tests_SOURCES = utility_tests.cpp
     47 utility_tests_LDADD = ${COMMON_LIBS}
     48 
     49 TESTS = ${check_PROGRAMS}
     50