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