summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--include/librfid/Makefile.am1
-rw-r--r--include/librfid/rfid_reader_spidev.h6
-rw-r--r--src/Makefile.am4
4 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 3199c1b..f7fcc41 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to create configure.
AC_INIT
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(librfid, 0.1.0)
+AM_INIT_AUTOMAKE(librfid, 0.2.0)
AC_PROG_CC
AM_PROG_CC_C_O
diff --git a/include/librfid/Makefile.am b/include/librfid/Makefile.am
index 63c997c..6d5acd3 100644
--- a/include/librfid/Makefile.am
+++ b/include/librfid/Makefile.am
@@ -10,5 +10,6 @@ pkginclude_HEADERS = rfid.h rfid_scan.h rfid_asic.h rfid_asic_rc632.h \
rfid_system.h \
rfid_access_mifare_classic.h \
rfid_reader_cm5121.h \
+ rfid_reader_spidev.h \
rfid_reader_openpcd.h
diff --git a/include/librfid/rfid_reader_spidev.h b/include/librfid/rfid_reader_spidev.h
new file mode 100644
index 0000000..be04a54
--- /dev/null
+++ b/include/librfid/rfid_reader_spidev.h
@@ -0,0 +1,6 @@
+#ifndef _RFID_READER_SPIDEV_H
+#define _RFID_READER_SPIDEV_H
+
+extern struct rfid_reader rfid_reader_spidev;
+
+#endif
diff --git a/src/Makefile.am b/src/Makefile.am
index 1e132db..996d7ba 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ if ENABLE_STATIC
AM_CFLAGS += -DLIBRFID_STATIC
endif
-noinst_HEADERS=rfid_iso14443_common.h rc632.h libusb_dyn.h usleep.h
+noinst_HEADERS=rfid_iso14443_common.h rc632.h libusb_dyn.h usleep.h cm5121_source.h
CORE=rfid.c rfid_layer2.c rfid_protocol.c rfid_reader.c rfid_scan.c
L2=rfid_layer2_iso14443a.c rfid_layer2_iso14443b.c rfid_layer2_iso15693.c rfid_iso14443_common.c
@@ -38,7 +38,7 @@ AM_CFLAGS += -DENABLE_SPIDEV
endif
if ENABLE_CCID
-READER_CM5121=rfid_reader_cm5121.c ccid/rfid_reader_cm5121_ccid_direct.c ccid/ccid-driver.c
+READER_CM5121=rfid_reader_cm5121.c ccid/rfid_reader_cm5121_ccid_direct.c ccid/ccid-driver.c ccid/ccid-driver.h
AM_CFLAGS += -DENABLE_CM5121
endif
personal git repositories of Harald Welte. Your mileage may vary