summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 48cb4a457b540a83a4c4605e1e4ecb9973e59b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
LIBVERSION= 0:0:0
INCLUDES = $(all_includes) -I$(top_srcdir)/include -D__LIBRFID__

lib_LTLIBRARIES = librfid.la

CORE=rfid.c rfid_layer2.c rfid_protocol.c rfid_reader.c
L2=rfid_layer2_iso14443a.c rfid_layer2_iso14443b.c rfid_layer2_iso15693.c rfid_iso14443_common.c
PROTO=rfid_proto_tcl.c rfid_proto_mifare_ul.c rfid_proto_mifare_classic.c
READER=rfid_reader_cm5121.c rfid_asic_rc632.c rfid_reader_openpcd.c

if MY_CCID
READER_LOW=ccid/rfid_reader_cm5121_ccid_direct.c ccid/ccid-driver.c
else
READER_LOW=rfid_reader_cm5121_openct.c
endif

librfid_la_LDFLAGS = -Wc,-nostartfiles -version-info $(LIBVERSION) -lopenct
librfid_la_SOURCES = $(CORE) $(L2) $(PROTO) $(READER) $(READER_LOW)

personal git repositories of Harald Welte. Your mileage may vary