blob: e241dc91f8df4df4b314cae90c9d9e703749bc08 [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
Holger Hans Peter Freytherc8690692015-01-18 19:16:25 +01006AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS)
Harald Welte495fe262012-09-10 16:28:17 +02007AM_LDFLAGS = $(COVERAGE_LDFLAGS)
8
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 Welteaad7e062014-05-04 16:31:24 +020016libosmosim_la_SOURCES = core.c reader.c reader_pcsc.c \
17 card_fs_sim.c card_fs_usim.c card_fs_uicc.c card_fs_isim.c card_fs_tetra.c
Harald Welte495fe262012-09-10 16:28:17 +020018libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
Holger Hans Peter Freytherc8690692015-01-18 19:16:25 +010019libosmosim_la_LIBADD = \
20 $(top_builddir)/src/libosmocore.la \
21 $(top_builddir)/src/gsm/libosmogsm.la \
22 $(PCSC_LIBS)
Harald Welted54c2ee2012-01-17 18:25:50 +010023
Harald Welte495fe262012-09-10 16:28:17 +020024endif