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. |
| 2 | # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification |
| 3 | LIBVERSION=0:0:0 |
| 4 | |
| 5 | INCLUDES = $(all_includes) -I$(top_srcdir)/include |
Harald Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 6 | AM_CFLAGS = -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(PCSC_CFLAGS) |
| 7 | AM_LDFLAGS = $(COVERAGE_LDFLAGS) |
| 8 | |
| 9 | if ENABLE_PCSC |
| 10 | # 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] | 11 | |
| 12 | noinst_HEADERS = sim_int.h gsm_int.h |
| 13 | |
| 14 | lib_LTLIBRARIES = libosmosim.la |
| 15 | |
Harald Welte | ad41863 | 2012-09-10 10:49:59 +0200 | [diff] [blame] | 16 | libosmosim_la_SOURCES = core.c card_fs_sim.c card_fs_usim.c card_fs_uicc.c reader.c reader_pcsc.c |
Harald Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 17 | libosmosim_la_LDFLAGS = -version-info $(LIBVERSION) |
| 18 | libosmosim_la_LIBADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(PCSC_LIBS) |
Harald Welte | d54c2ee | 2012-01-17 18:25:50 +0100 | [diff] [blame] | 19 | |
Harald Welte | 495fe26 | 2012-09-10 16:28:17 +0200 | [diff] [blame] | 20 | endif |