OSDN Git Service

build: Add private SBC library header
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Jul 2012 21:20:32 +0000 (18:20 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jul 2012 03:01:50 +0000 (20:01 -0700)
Makefile.am
sbc/sbc_private.h [new file with mode: 0644]

index 3cae31a..0a4916f 100644 (file)
@@ -3,7 +3,7 @@ AM_MAKEFLAGS = --no-print-directory
 
 sbc_headers = sbc/sbc.h
 
-sbc_sources = sbc/sbc.c sbc/sbc_math.h sbc/sbc_tables.h \
+sbc_sources = sbc/sbc.c sbc/sbc_private.h sbc/sbc_math.h sbc/sbc_tables.h \
                sbc/sbc_primitives.h sbc/sbc_primitives.c \
                sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \
                sbc/sbc_primitives_iwmmxt.h sbc/sbc_primitives_iwmmxt.c \
diff --git a/sbc/sbc_private.h b/sbc/sbc_private.h
new file mode 100644 (file)
index 0000000..15c4421
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ *
+ *  Bluetooth low-complexity, subband codec (SBC) library
+ *
+ *  Copyright (C) 2008-2010  Nokia Corporation
+ *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */
+
+#define LIB_EXPORT __attribute__ ((visibility("default")))