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 | 608b5bc | 2017-04-28 16:00:19 -0500 | [diff] [blame] | 4 | gtest_ldflags = -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 |
| 11 | bus_list_names_LDFLAGS = $(gtest_ldflags) $(SYSTEMD_LIBS) |
| 12 | |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 13 | check_PROGRAMS += message_append |
| 14 | message_append_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS) |
| 15 | message_append_LDFLAGS = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) |
| 16 | message_append_SOURCES = message/append.cpp |
| 17 | |
| 18 | check_PROGRAMS += message_read |
| 19 | message_read_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS) |
| 20 | message_read_LDFLAGS = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) |
| 21 | message_read_SOURCES = message/read.cpp |
| 22 | |
Patrick Williams | 9db2864 | 2017-01-06 15:55:05 -0600 | [diff] [blame] | 23 | check_PROGRAMS += message_native_types |
| 24 | message_native_types_SOURCES = message/native_types.cpp |
| 25 | |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 26 | check_PROGRAMS += message_types |
| 27 | message_types_SOURCES = message/types.cpp |
Patrick Williams | 450d0ec | 2017-04-28 16:09:09 -0500 | [diff] [blame^] | 28 | message_types_LDFLAGS = $(gtest_ldflags) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 29 | |
| 30 | check_PROGRAMS += utility_tuple_to_array |
| 31 | utility_tuple_to_array_SOURCES = utility/tuple_to_array.cpp |
Patrick Williams | 608b5bc | 2017-04-28 16:00:19 -0500 | [diff] [blame] | 32 | utility_tuple_to_array_LDFLAGS = $(gtest_ldflags) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 33 | |
| 34 | check_PROGRAMS += utility_type_traits |
| 35 | utility_type_traits_SOURCES = utility/type_traits.cpp |
| 36 | |
| 37 | check_PROGRAMS += vtable_vtable |
| 38 | vtable_vtable_SOURCES = vtable/vtable.cpp vtable/vtable_c.c |
Patrick Williams | 608b5bc | 2017-04-28 16:00:19 -0500 | [diff] [blame] | 39 | vtable_vtable_LDFLAGS = $(gtest_ldflags) |
Patrick Williams | 83a9d0b | 2016-11-04 17:06:13 -0500 | [diff] [blame] | 40 | |
Brad Bishop | 14275cf | 2016-11-10 16:24:48 -0500 | [diff] [blame] | 41 | endif |