blob: f37126a23f1ee587bb6819854082177eefa2ae11 [file] [log] [blame]
Harald Weltef7598fe2019-12-16 16:52:45 +01001AM_CFLAGS = -Wall -I$(top_srcdir)/include -I/$(top_builddir)/include -I$(top_srcdir)/src \
2 $(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) $(OSMOABIS_CFLAGS) \
3 $(PCSC_CFLAGS) $(USB_CFLAGS) $(OSMOSIM_CFLAGS) \
4 $(OSMOSIMTRACE2_CFLAGS) \
5 -I$(top_srcdir)/include/osmocom/rspro
6
Harald Welte1200c822020-02-13 20:43:27 +01007bin_PROGRAMS = osmo-remsim-client-st2 osmo-remsim-client-shell
Harald Weltef7598fe2019-12-16 16:52:45 +01008
Harald Weltea9caad82020-02-14 14:32:02 +01009osmo_remsim_client_shell_SOURCES = user_shell.c remsim_client_main.c \
Harald Welte1200c822020-02-13 20:43:27 +010010 remsim_client.c ../rspro_client_fsm.c ../debug.c
Harald Welte9fac4962020-02-14 21:01:23 +010011osmo_remsim_client_shell_CFLAGS = $(AM_CFLAGS)
Harald Welte1200c822020-02-13 20:43:27 +010012osmo_remsim_client_shell_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
Harald Weltef7598fe2019-12-16 16:52:45 +010013 $(top_builddir)/src/libosmo-rspro.la
14
Harald Welte9fac4962020-02-14 21:01:23 +010015EXTRA_DIST=PkgInfo osmo-remsim-client-reader_conf.in
16serialconf_DATA=osmo-remsim-client-reader_conf
17bundledir=$(usbdropdir)/libifd-osmo-remsim-client.bundle/Contents
18bundle_DATA=PkgInfo
19bundlelinuxdir=$(bundledir)/Linux
20bundlelinux_LTLIBRARIES = libifd_remsim_client.la
21libifd_remsim_client_la_SOURCES = user_ifdhandler.c \
22 remsim_client.c ../rspro_client_fsm.c ../debug.c
23libifd_remsim_client_la_CFLAGS = $(AM_CFLAGS)
24libifd_remsim_client_la_CPPFLAGS = $(PCSC_CFLAGS)
25libifd_remsim_client_la_LDFLAGS = -no-undefined
26libifd_remsim_client_la_LIBADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
27 $(top_builddir)/src/libosmo-rspro.la
28
Harald Weltef7598fe2019-12-16 16:52:45 +010029osmo_remsim_client_st2_SOURCES = simtrace2-remsim_client.c \
30 ../rspro_client_fsm.c ../debug.c
Harald Welte9fac4962020-02-14 21:01:23 +010031osmo_remsim_client_st2_CFLAGS = $(AM_CFLAGS)
Harald Weltef7598fe2019-12-16 16:52:45 +010032osmo_remsim_client_st2_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
33 $(OSMOUSB_LIBS) $(OSMOSIMTRACE2_LIBS) \
34 $(USB_LIBS) $(OSMOSIM_LIBS) \
35 $(top_builddir)/src/libosmo-rspro.la
36
37noinst_HEADERS = client.h