c0cbfbea6970614cb5b5654a5a0889483883f285
[librfid] / src / Makefile.am
1 LIBVERSION= 0:0:0
2 INCLUDES = $(all_includes) -I$(top_srcdir)/include -D__LIBRFID__
3
4 AM_CFLAGS = -std=gnu99
5
6 lib_LTLIBRARIES = librfid.la
7
8 CORE=rfid.c rfid_layer2.c rfid_protocol.c rfid_reader.c rfid_scan.c
9 L2=rfid_layer2_iso14443a.c rfid_layer2_iso14443b.c rfid_layer2_iso15693.c rfid_iso14443_common.c
10 PROTO=rfid_proto_tcl.c rfid_proto_mifare_ul.c rfid_proto_mifare_classic.c
11 READER=rfid_reader_cm5121.c rfid_asic_rc632.c rfid_reader_openpcd.c
12
13 if MY_CCID
14 READER_LOW=ccid/rfid_reader_cm5121_ccid_direct.c ccid/ccid-driver.c
15 else
16 READER_LOW=rfid_reader_cm5121_openct.c
17 endif
18
19 librfid_la_LDFLAGS = -Wc,-nostartfiles -version-info $(LIBVERSION) -lopenct
20 librfid_la_SOURCES = $(CORE) $(L2) $(PROTO) $(READER) $(READER_LOW)
21