blob: 871221a6c6b73845c47c2e9e47137d318ecfa581 [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) \
Harald Weltef50a7522020-03-04 19:19:24 +01003 $(PCSC_CFLAGS) $(USB_CFLAGS) \
Harald Weltef7598fe2019-12-16 16:52:45 +01004 $(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 Welte0e968cc2020-02-22 18:16:16 +010010 remsim_client.c main_fsm.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 \
Harald Welte0e968cc2020-02-22 18:16:16 +010022 remsim_client.c main_fsm.c ../rspro_client_fsm.c ../debug.c
Harald Welte9fac4962020-02-14 21:01:23 +010023libifd_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 Welte0e968cc2020-02-22 18:16:16 +010029osmo_remsim_client_st2_SOURCES = user_simtrace2.c remsim_client_main.c \
30 remsim_client.c main_fsm.c ../rspro_client_fsm.c ../debug.c
31osmo_remsim_client_st2_CPPFLAGS = -DUSB_SUPPORT
Harald Welte9fac4962020-02-14 21:01:23 +010032osmo_remsim_client_st2_CFLAGS = $(AM_CFLAGS)
Harald Weltef7598fe2019-12-16 16:52:45 +010033osmo_remsim_client_st2_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
34 $(OSMOUSB_LIBS) $(OSMOSIMTRACE2_LIBS) \
Harald Weltef50a7522020-03-04 19:19:24 +010035 $(USB_LIBS) \
Harald Weltef7598fe2019-12-16 16:52:45 +010036 $(top_builddir)/src/libosmo-rspro.la
37
38noinst_HEADERS = client.h