blob: fe64278d383681bb4c1824471f0f1ffc9d3a3ac5 [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
5INCLUDES = $(all_includes) -I$(top_srcdir)/include
Harald Welte495fe262012-09-10 16:28:17 +02006AM_CFLAGS = -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(PCSC_CFLAGS)
7AM_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 Weltead418632012-09-10 10:49:59 +020016libosmosim_la_SOURCES = core.c card_fs_sim.c card_fs_usim.c card_fs_uicc.c reader.c reader_pcsc.c
Harald Welte495fe262012-09-10 16:28:17 +020017libosmosim_la_LDFLAGS = -version-info $(LIBVERSION)
18libosmosim_la_LIBADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(PCSC_LIBS)
Harald Welted54c2ee2012-01-17 18:25:50 +010019
Harald Welte495fe262012-09-10 16:28:17 +020020endif