blob: 869e12dbdcc48905f6da6e116ed4f2f4847c7cb4 [file] [log] [blame]
Harald Welted54c2ee2012-01-17 18:25:50 +01001# This is _NOT_ the library release version, it's an API version.
Max4e72ee02016-12-13 18:41:17 +01002# Please read chapter "Library interface versions" of the libtool documentation
3# before making any modifications: https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
Harald Weltefaee5de2017-10-27 19:43:33 +02004LIBVERSION=0:1:0
Harald Welted54c2ee2012-01-17 18:25:50 +01005
Andreas Rottmann9eb1c802015-05-17 16:31:54 +02006AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
Harald Welte90e614f2015-12-05 23:38:18 +01007AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) $(TALLOC_CFLAGS)
Maxba1059c2017-10-30 13:19:58 +01008AM_LDFLAGS = $(COVERAGE_LDFLAGS)
Harald Welte495fe262012-09-10 16:28:17 +02009
10if ENABLE_PCSC
11# FIXME: only build the PC/SC dependent part conditional, but always build other parts
Harald Welted54c2ee2012-01-17 18:25:50 +010012
13noinst_HEADERS = sim_int.h gsm_int.h
14
15lib_LTLIBRARIES = libosmosim.la
16
Harald Welte4acaa132016-03-14 15:35:50 +010017libosmosim_la_SOURCES = core.c reader.c reader_pcsc.c class_tables.c \
18 card_fs_sim.c card_fs_usim.c card_fs_uicc.c \
19 card_fs_isim.c card_fs_tetra.c
Harald Welte495fe262012-09-10 16:28:17 +020020libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
Holger Hans Peter Freytherc8690692015-01-18 19:16:25 +010021libosmosim_la_LIBADD = \
22 $(top_builddir)/src/libosmocore.la \
23 $(top_builddir)/src/gsm/libosmogsm.la \
Holger Hans Peter Freyther6030ce82017-01-24 14:26:11 +010024 $(TALLOC_LIBS) \
Holger Hans Peter Freytherc8690692015-01-18 19:16:25 +010025 $(PCSC_LIBS)
Harald Welted54c2ee2012-01-17 18:25:50 +010026
Harald Welte495fe262012-09-10 16:28:17 +020027endif