2019-12-16 15:52:45 +00:00
|
|
|
AM_CFLAGS = -Wall -I$(top_srcdir)/include -I/$(top_builddir)/include -I$(top_srcdir)/src \
|
|
|
|
$(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) $(OSMOABIS_CFLAGS) \
|
2020-03-04 18:19:24 +00:00
|
|
|
$(PCSC_CFLAGS) $(USB_CFLAGS) \
|
2019-12-16 15:52:45 +00:00
|
|
|
$(OSMOSIMTRACE2_CFLAGS) \
|
|
|
|
-I$(top_srcdir)/include/osmocom/rspro
|
|
|
|
|
2020-03-14 17:19:13 +00:00
|
|
|
bin_PROGRAMS = osmo-remsim-client-shell
|
2019-12-16 15:52:45 +00:00
|
|
|
|
2020-02-14 13:32:02 +00:00
|
|
|
osmo_remsim_client_shell_SOURCES = user_shell.c remsim_client_main.c \
|
2020-02-22 17:16:16 +00:00
|
|
|
remsim_client.c main_fsm.c ../rspro_client_fsm.c ../debug.c
|
2020-02-14 20:01:23 +00:00
|
|
|
osmo_remsim_client_shell_CFLAGS = $(AM_CFLAGS)
|
2020-02-13 19:43:27 +00:00
|
|
|
osmo_remsim_client_shell_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
|
2019-12-16 15:52:45 +00:00
|
|
|
$(top_builddir)/src/libosmo-rspro.la
|
|
|
|
|
2020-03-14 17:19:13 +00:00
|
|
|
if BUILD_CLIENT_IFDHANDLER
|
2020-02-14 20:01:23 +00:00
|
|
|
EXTRA_DIST=PkgInfo osmo-remsim-client-reader_conf.in
|
|
|
|
serialconf_DATA=osmo-remsim-client-reader_conf
|
|
|
|
bundledir=$(usbdropdir)/libifd-osmo-remsim-client.bundle/Contents
|
|
|
|
bundle_DATA=PkgInfo
|
|
|
|
bundlelinuxdir=$(bundledir)/Linux
|
|
|
|
bundlelinux_LTLIBRARIES = libifd_remsim_client.la
|
|
|
|
libifd_remsim_client_la_SOURCES = user_ifdhandler.c \
|
2020-02-22 17:16:16 +00:00
|
|
|
remsim_client.c main_fsm.c ../rspro_client_fsm.c ../debug.c
|
2020-02-14 20:01:23 +00:00
|
|
|
libifd_remsim_client_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
libifd_remsim_client_la_CPPFLAGS = $(PCSC_CFLAGS)
|
|
|
|
libifd_remsim_client_la_LDFLAGS = -no-undefined
|
|
|
|
libifd_remsim_client_la_LIBADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
|
|
|
|
$(top_builddir)/src/libosmo-rspro.la
|
2020-03-14 17:19:13 +00:00
|
|
|
endif
|
2020-02-14 20:01:23 +00:00
|
|
|
|
2020-03-14 17:19:13 +00:00
|
|
|
if BUILD_CLIENT_ST2
|
|
|
|
bin_PROGRAMS += osmo-remsim-client-st2
|
2020-02-22 17:16:16 +00:00
|
|
|
osmo_remsim_client_st2_SOURCES = user_simtrace2.c remsim_client_main.c \
|
|
|
|
remsim_client.c main_fsm.c ../rspro_client_fsm.c ../debug.c
|
|
|
|
osmo_remsim_client_st2_CPPFLAGS = -DUSB_SUPPORT
|
2020-02-14 20:01:23 +00:00
|
|
|
osmo_remsim_client_st2_CFLAGS = $(AM_CFLAGS)
|
2019-12-16 15:52:45 +00:00
|
|
|
osmo_remsim_client_st2_LDADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
|
|
|
|
$(OSMOUSB_LIBS) $(OSMOSIMTRACE2_LIBS) \
|
2020-03-04 18:19:24 +00:00
|
|
|
$(USB_LIBS) \
|
2019-12-16 15:52:45 +00:00
|
|
|
$(top_builddir)/src/libosmo-rspro.la
|
2020-03-14 17:19:13 +00:00
|
|
|
endif
|
2019-12-16 15:52:45 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = client.h
|