Brad Bishop | 14275cf | 2016-11-10 16:24:48 -0500 | [diff] [blame] | 1 | if WANT_LIBSDBUSPLUS |
| 2 | |
Patrick Williams | a14167b | 2017-04-28 15:54:39 -0500 | [diff] [blame] | 3 | AM_CPPFLAGS = -I$(top_srcdir) $(GTEST_CPPFLAGS) |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 4 | gtest_ldadd = -lgtest -lgtest_main |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 5 | check_PROGRAMS = |
| 6 | |
| 7 | TESTS = $(check_PROGRAMS) |
| 8 | |
Patrick Williams | b4041d4 | 2017-04-27 21:49:00 -0500 | [diff] [blame] | 9 | check_PROGRAMS += bus_list_names |
| 10 | bus_list_names_SOURCES = bus/list_names.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 11 | bus_list_names_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS) |
Patrick Williams | b4041d4 | 2017-04-27 21:49:00 -0500 | [diff] [blame] | 12 | |
Patrick Williams | faa89f2 | 2017-04-29 15:50:13 -0500 | [diff] [blame] | 13 | check_PROGRAMS += bus_match |
| 14 | bus_match_SOURCES = bus/match.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 15 | bus_match_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS) |
Patrick Williams | faa89f2 | 2017-04-29 15:50:13 -0500 | [diff] [blame] | 16 | |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 17 | check_PROGRAMS += message_append |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 18 | message_append_SOURCES = message/append.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 19 | message_append_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS) |
| 20 | message_append_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 21 | |
| 22 | check_PROGRAMS += message_read |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 23 | message_read_SOURCES = message/read.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 24 | message_read_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS) |
| 25 | message_read_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 26 | |
Patrick Williams | 9db2864 | 2017-01-06 15:55:05 -0600 | [diff] [blame] | 27 | check_PROGRAMS += message_native_types |
| 28 | message_native_types_SOURCES = message/native_types.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 29 | message_native_types_LDADD = $(gtest_ldadd) |
Patrick Williams | 9db2864 | 2017-01-06 15:55:05 -0600 | [diff] [blame] | 30 | |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 31 | check_PROGRAMS += message_types |
| 32 | message_types_SOURCES = message/types.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 33 | message_types_LDADD = $(gtest_ldadd) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 34 | |
| 35 | check_PROGRAMS += utility_tuple_to_array |
| 36 | utility_tuple_to_array_SOURCES = utility/tuple_to_array.cpp |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 37 | utility_tuple_to_array_LDADD = $(gtest_ldadd) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 38 | |
| 39 | check_PROGRAMS += utility_type_traits |
| 40 | utility_type_traits_SOURCES = utility/type_traits.cpp |
| 41 | |
| 42 | check_PROGRAMS += vtable_vtable |
| 43 | vtable_vtable_SOURCES = vtable/vtable.cpp vtable/vtable_c.c |
Patrick Williams | 43b283a | 2017-05-01 14:15:54 -0500 | [diff] [blame] | 44 | vtable_vtable_LDADD = $(gtest_ldadd) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 45 | |
Brad Bishop | 14275cf | 2016-11-10 16:24:48 -0500 | [diff] [blame] | 46 | endif |