diff --git a/libfprint/Makefile.am b/libfprint/Makefile.am index c2c1df11..84cb7b9b 100644 --- a/libfprint/Makefile.am +++ b/libfprint/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES = libfprint.la -noinst_PROGRAMS = fprint-list-hal-info fprint-list-udev-rules -MOSTLYCLEANFILES = $(hal_fdi_DATA) $(udev_rules_DATA) +noinst_PROGRAMS = fprint-list-udev-rules +MOSTLYCLEANFILES = $(udev_rules_DATA) UPEKE2_SRC = drivers/upeke2.c UPEKTS_SRC = drivers/upekts.c @@ -72,16 +72,6 @@ libfprint_la_CFLAGS = -fvisibility=hidden -I$(srcdir)/nbis/include $(LIBUSB_CFLA libfprint_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@ libfprint_la_LIBADD = -lm $(LIBUSB_LIBS) $(GLIB_LIBS) $(CRYPTO_LIBS) -fprint_list_hal_info_SOURCES = fprint-list-hal-info.c -fprint_list_hal_info_CFLAGS = -fvisibility=hidden -I$(srcdir)/nbis/include $(LIBUSB_CFLAGS) $(GLIB_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(CRYPTO_CFLAGS) $(AM_CFLAGS) -fprint_list_hal_info_LDADD = $(builddir)/libfprint.la - -hal_fdi_DATA = 10-fingerprint-reader-fprint.fdi -hal_fdidir = $(datadir)/hal/fdi/information/20thirdparty/ - -$(hal_fdi_DATA): fprint-list-hal-info - $(builddir)/fprint-list-hal-info > $@ - fprint_list_udev_rules_SOURCES = fprint-list-udev-rules.c fprint_list_udev_rules_CFLAGS = -fvisibility=hidden -I$(srcdir)/nbis/include $(LIBUSB_CFLAGS) $(GLIB_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(CRYPTO_CFLAGS) $(AM_CFLAGS) fprint_list_udev_rules_LDADD = $(builddir)/libfprint.la diff --git a/libfprint/fprint-list-hal-info.c b/libfprint/fprint-list-hal-info.c deleted file mode 100644 index 13d24d60..00000000 --- a/libfprint/fprint-list-hal-info.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Helper binary for creating a HAL FDI file for supported devices - * Copyright (C) 2008 Bastien Nocera - * Copyright (C) 2008 Timo Hoenig , - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include -#include - -#include "fp_internal.h" - -/* FDI entry example: - * - * - * - * - * biometric.fingerprint_reader - * libfprint - * biometric - * biometric.fingerprint_reader - * aes2501 - * true - * - * - * - */ - -static void print_driver (struct fp_driver *driver) -{ - int i; - - for (i = 0; driver->id_table[i].vendor != 0; i++) { - printf (" \n", fp_driver_get_full_name (driver)); - printf (" \n", driver->id_table[i].vendor); - printf (" \n", driver->id_table[i].product); - printf (" biometric.fingerprint_reader\n"); - printf (" libfprint\n"); - printf (" biometric\n"); - printf (" biometric.fingerprint_reader\n"); - printf (" %s\n", driver->name); - printf (" true\n"); - printf (" %s\n", - fp_driver_get_scan_type (driver) == FP_SCAN_TYPE_PRESS ? "press" : "swipe"); - printf (" \n"); - printf (" \n"); - } -} - -int main (int argc, char **argv) -{ - struct fp_driver **list; - guint i; - - list = fprint_get_drivers (); - - printf ("\n"); - printf ("\n", VERSION); - printf ("\n"); - - for (i = 0; list[i] != NULL; i++) { - print_driver (list[i]); - } - - printf ("\n"); - - return 0; -}