blob: 5f8bbc5c26af527182dcc348cbd481a95fbc8686 [file] [log] [blame]
Alexander Huemer7477d712016-09-09 00:43:15 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 $(NULL)
Neels Hofmeyr2989ff82015-10-12 11:57:35 +02005
Alexander Huemer7477d712016-09-09 00:43:15 +02006AM_CFLAGS = \
7 -Wall \
8 -ggdb3 \
9 $(LIBOSMOCORE_CFLAGS) \
10 $(LIBOSMOGSM_CFLAGS) \
11 $(NULL)
12
13EXTRA_DIST = \
Neels Hofmeyr539a2212016-12-09 00:05:50 +010014 oap_client_test.ok \
Neels Hofmeyrf456d9a2016-12-08 23:35:20 +010015 oap_client_test.err \
Alexander Huemer7477d712016-09-09 00:43:15 +020016 $(NULL)
Neels Hofmeyr2989ff82015-10-12 11:57:35 +020017
Alexander Huemer0f3621c2015-11-06 20:58:12 +010018if HAVE_LIBGTP
19if HAVE_LIBCARES
Alexander Huemer7477d712016-09-09 00:43:15 +020020noinst_PROGRAMS = \
Neels Hofmeyr539a2212016-12-09 00:05:50 +010021 oap_client_test \
Alexander Huemer7477d712016-09-09 00:43:15 +020022 $(NULL)
Alexander Huemer0f3621c2015-11-06 20:58:12 +010023endif
24endif
Neels Hofmeyr2989ff82015-10-12 11:57:35 +020025
Neels Hofmeyr539a2212016-12-09 00:05:50 +010026oap_client_test_SOURCES = \
27 oap_client_test.c \
Alexander Huemer7477d712016-09-09 00:43:15 +020028 $(NULL)
Neels Hofmeyr2989ff82015-10-12 11:57:35 +020029
Neels Hofmeyr539a2212016-12-09 00:05:50 +010030oap_client_test_LDADD = \
Neels Hofmeyr2989ff82015-10-12 11:57:35 +020031 $(top_builddir)/src/gprs/gprs_utils.o \
Neels Hofmeyr62507c52017-07-13 02:03:50 +020032 $(top_builddir)/src/gprs/oap_client.o \
Neels Hofmeyr2989ff82015-10-12 11:57:35 +020033 $(LIBOSMOCORE_LIBS) \
34 $(LIBOSMOGSM_LIBS) \
35 -lrt
36