Harald Welte | d54c2ee | 2012-01-17 18:25:50 +0100 | [diff] [blame] | 1 | # This is _NOT_ the library release version, it's an API version. |
Max | 4e72ee0 | 2016-12-13 18:41:17 +0100 | [diff] [blame] | 2 | # 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 Welte | d54c2ee | 2012-01-17 18:25:50 +0100 | [diff] [blame] | 4 | LIBVERSION=0:0:0 |
| 5 | |
Andreas Rottmann | 9eb1c80 | 2015-05-17 16:31:54 +0200 | [diff] [blame] | 6 | AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include |
Harald Welte | 90e614f | 2015-12-05 23:38:18 +0100 | [diff] [blame] | 7 | AM_CFLAGS = -fPIC -Wall $(PCSC_CFLAGS) $(TALLOC_CFLAGS) |
| 8 | AM_LDFLAGS = $(COVERAGE_LDFLAGS) $(TALLOC_LIBS) |
Harald Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 9 | |
| 10 | if ENABLE_PCSC |
| 11 | # FIXME: only build the PC/SC dependent part conditional, but always build other parts |
Harald Welte | d54c2ee | 2012-01-17 18:25:50 +0100 | [diff] [blame] | 12 | |
| 13 | noinst_HEADERS = sim_int.h gsm_int.h |
| 14 | |
| 15 | lib_LTLIBRARIES = libosmosim.la |
| 16 | |
Harald Welte | 4acaa13 | 2016-03-14 15:35:50 +0100 | [diff] [blame] | 17 | libosmosim_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 Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 20 | libosmosim_la_LDFLAGS = -version-info $(LIBVERSION) |
Holger Hans Peter Freyther | c869069 | 2015-01-18 19:16:25 +0100 | [diff] [blame] | 21 | libosmosim_la_LIBADD = \ |
| 22 | $(top_builddir)/src/libosmocore.la \ |
| 23 | $(top_builddir)/src/gsm/libosmogsm.la \ |
Holger Hans Peter Freyther | 6030ce8 | 2017-01-24 14:26:11 +0100 | [diff] [blame] | 24 | $(TALLOC_LIBS) \ |
Holger Hans Peter Freyther | c869069 | 2015-01-18 19:16:25 +0100 | [diff] [blame] | 25 | $(PCSC_LIBS) |
Harald Welte | d54c2ee | 2012-01-17 18:25:50 +0100 | [diff] [blame] | 26 | |
Harald Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 27 | endif |