2012-01-17 17:25:50 +00:00
|
|
|
# This is _NOT_ the library release version, it's an API version.
|
2016-12-13 17:41:17 +00:00
|
|
|
# Please read chapter "Library interface versions" of the libtool documentation
|
|
|
|
# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
|
2021-11-16 12:08:22 +00:00
|
|
|
LIBVERSION=3:0:1
|
2012-01-17 17:25:50 +00:00
|
|
|
|
2015-05-17 14:31:54 +00:00
|
|
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
|
2020-03-15 21:50:06 +00:00
|
|
|
AM_CFLAGS = -fPIC -Wall $(TALLOC_CFLAGS)
|
2017-10-30 12:19:58 +00:00
|
|
|
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
2012-09-10 14:28:17 +00:00
|
|
|
|
2012-01-17 17:25:50 +00:00
|
|
|
noinst_HEADERS = sim_int.h gsm_int.h
|
|
|
|
|
2020-03-15 21:50:06 +00:00
|
|
|
if !EMBEDDED
|
2012-01-17 17:25:50 +00:00
|
|
|
lib_LTLIBRARIES = libosmosim.la
|
|
|
|
|
2020-03-15 21:50:06 +00:00
|
|
|
libosmosim_la_SOURCES = core.c reader.c class_tables.c \
|
2016-03-14 14:35:50 +00:00
|
|
|
card_fs_sim.c card_fs_usim.c card_fs_uicc.c \
|
2020-03-21 13:16:10 +00:00
|
|
|
card_fs_isim.c card_fs_hpsim.c card_fs_tetra.c
|
2012-09-10 14:28:17 +00:00
|
|
|
libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
|
2015-01-18 18:16:25 +00:00
|
|
|
libosmosim_la_LIBADD = \
|
|
|
|
$(top_builddir)/src/libosmocore.la \
|
|
|
|
$(top_builddir)/src/gsm/libosmogsm.la \
|
2020-03-15 21:50:06 +00:00
|
|
|
$(TALLOC_LIBS)
|
|
|
|
if ENABLE_PCSC
|
|
|
|
AM_CFLAGS += $(PCSC_CFLAGS)
|
|
|
|
libosmosim_la_SOURCES += reader_pcsc.c
|
|
|
|
libosmosim_la_LIBADD += $(PCSC_LIBS)
|
2012-09-10 14:28:17 +00:00
|
|
|
endif
|
2020-03-15 21:50:06 +00:00
|
|
|
|
|
|
|
endif # !EMBEDDED
|