blob: bcdaf21081f7c9643cfe67a0c76de4d0c862c767 [file] [log] [blame]
Harald Welted54c2ee2012-01-17 18:25:50 +01001# This is _NOT_ the library release version, it's an API version.
2# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
3LIBVERSION=0:0:0
4
Andreas Rottmann9eb1c802015-05-17 16:31:54 +02005AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include
Harald Welte90e614f2015-12-05 23:38:18 +01006AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) $(TALLOC_CFLAGS)
7AM_LDFLAGS = $(COVERAGE_LDFLAGS) $(TALLOC_LIBS)
Harald Welte495fe262012-09-10 16:28:17 +02008
9if ENABLE_PCSC
10# FIXME: only build the PC/SC dependent part conditional, but always build other parts
Harald Welted54c2ee2012-01-17 18:25:50 +010011
12noinst_HEADERS = sim_int.h gsm_int.h
13
14lib_LTLIBRARIES = libosmosim.la
15
Harald Welte4acaa132016-03-14 15:35:50 +010016libosmosim_la_SOURCES = core.c reader.c reader_pcsc.c class_tables.c \
17 card_fs_sim.c card_fs_usim.c card_fs_uicc.c \
18 card_fs_isim.c card_fs_tetra.c
Harald Welte495fe262012-09-10 16:28:17 +020019libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
Holger Hans Peter Freytherc8690692015-01-18 19:16:25 +010020libosmosim_la_LIBADD = \
21 $(top_builddir)/src/libosmocore.la \
22 $(top_builddir)/src/gsm/libosmogsm.la \
23 $(PCSC_LIBS)
Harald Welted54c2ee2012-01-17 18:25:50 +010024
Harald Welte495fe262012-09-10 16:28:17 +020025endif