From 4a5945e67d36598a0c78014d7bf5ccae29ccfd42 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 3 Nov 2009 15:53:35 +0000 Subject: [PATCH] Third attempt to reorganize tree. --- src/lib/buses.h | 23 +++++++++++++++++++++++ src/lib/buses/Makefile.am | 9 +++++++++ src/lib/{bus/rs232.c => buses/uart.c} | 0 src/lib/{bus/rs232.h => buses/uart.h} | 0 4 files changed, 32 insertions(+) create mode 100644 src/lib/buses.h create mode 100644 src/lib/buses/Makefile.am rename src/lib/{bus/rs232.c => buses/uart.c} (100%) rename src/lib/{bus/rs232.h => buses/uart.h} (100%) diff --git a/src/lib/buses.h b/src/lib/buses.h new file mode 100644 index 0000000..478d2e2 --- /dev/null +++ b/src/lib/buses.h @@ -0,0 +1,23 @@ +/** + * Public platform independent Near Field Communication (NFC) library + * + * Copyright (C) 2009, Roel Verdult + * + * This program 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 3 of the License, or (at your + * option) any later version. + * + * This program 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 General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see + * + * + * @file buses.h + * @brief + */ + diff --git a/src/lib/buses/Makefile.am b/src/lib/buses/Makefile.am new file mode 100644 index 0000000..7f062ef --- /dev/null +++ b/src/lib/buses/Makefile.am @@ -0,0 +1,9 @@ + +# set the include path found by configure +INCLUDES= $(all_includes) + +noinst_HEADERS = uart.h +noinst_LTLIBRARIES = libnfcbuses.la +libnfcbuses_la_SOURCES = uart.c + +DISTCLEANFILES = Makefile.in diff --git a/src/lib/bus/rs232.c b/src/lib/buses/uart.c similarity index 100% rename from src/lib/bus/rs232.c rename to src/lib/buses/uart.c diff --git a/src/lib/bus/rs232.h b/src/lib/buses/uart.h similarity index 100% rename from src/lib/bus/rs232.h rename to src/lib/buses/uart.h