changeset 4812:a7b80f765d6f

moved libSAD.h to src/audlegacy for the path for header files.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 26 Nov 2008 02:56:18 +0900
parents 7bf7f83a217e
children 9bc0c8a3a0f0
files src/audlegacy/Makefile src/audlegacy/libSAD.h src/audlegacy/plugin.h src/audlegacy/util.h src/libSAD/Makefile src/libSAD/libSAD.h src/libid3tag/Makefile
diffstat 7 files changed, 32 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/src/audlegacy/Makefile	Wed Nov 26 00:44:56 2008 +0900
+++ b/src/audlegacy/Makefile	Wed Nov 26 02:56:18 2008 +0900
@@ -125,7 +125,8 @@
            util.h				\
            vfs.h				\
            vfs_buffer.h			\
-           vfs_buffered_file.h
+           vfs_buffered_file.h		\
+           libSAD.h
 
 DATA = images/about-logo.png				\
        images/appearance.png				\
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/audlegacy/libSAD.h	Wed Nov 26 02:56:18 2008 +0900
@@ -0,0 +1,26 @@
+/* Scale & Dither library (libSAD)
+ * High-precision bit depth converter with ReplayGain support
+ *
+ * Copyright (c) 2007-2008 Eugene Zagidullin (e.asphyx@gmail.com)
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 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 General Public License
+ * along with this program; if not, write to the Free Software 
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef LIBSAD_H
+#define LIBSAD_H
+
+#include "common.h"
+#include "dither.h"
+
+#endif /* LIBSAD_H */
--- a/src/audlegacy/plugin.h	Wed Nov 26 00:44:56 2008 +0900
+++ b/src/audlegacy/plugin.h	Wed Nov 26 02:56:18 2008 +0900
@@ -47,7 +47,7 @@
 #include "audlegacy/preferences.h"
 #include "audlegacy/interface.h"
 #include "audlegacy/equalizer_preset.h"
-#include "libSAD/libSAD.h"
+#include "audlegacy/libSAD.h"
 
 #define PLUGIN(x)         ((Plugin *)(x))
 #define INPUT_PLUGIN(x)   ((InputPlugin *)(x))
--- a/src/audlegacy/util.h	Wed Nov 26 00:44:56 2008 +0900
+++ b/src/audlegacy/util.h	Wed Nov 26 02:56:18 2008 +0900
@@ -38,7 +38,7 @@
 G_BEGIN_DECLS
 
 #include "audlegacy/plugin.h"
-#include "libSAD/libSAD.h"
+#include "audlegacy/libSAD.h"
 
 #define SWAP(a, b)      { a^=b; b^=a; a^=b; }
 
--- a/src/libSAD/Makefile	Wed Nov 26 00:44:56 2008 +0900
+++ b/src/libSAD/Makefile	Wed Nov 26 02:56:18 2008 +0900
@@ -6,8 +6,7 @@
        dither_ops.c \
        noicegen.c
 
-INCLUDES = libSAD.h \
-           common.h \
+INCLUDES = common.h \
            dither.h
 
 include ../../buildsys.mk
--- a/src/libSAD/libSAD.h	Wed Nov 26 00:44:56 2008 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-/* Scale & Dither library (libSAD)
- * High-precision bit depth converter with ReplayGain support
- *
- * Copyright (c) 2007-2008 Eugene Zagidullin (e.asphyx@gmail.com)
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 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 General Public License
- * along with this program; if not, write to the Free Software 
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-#ifndef LIBSAD_H
-#define LIBSAD_H
-
-#include "common.h"
-#include "dither.h"
-
-#endif /* LIBSAD_H */
--- a/src/libid3tag/Makefile	Wed Nov 26 00:44:56 2008 +0900
+++ b/src/libid3tag/Makefile	Wed Nov 26 02:56:18 2008 +0900
@@ -29,7 +29,7 @@
 
 #includesubdir = audacious
 
-CPPFLAGS += ${LIB_CPPFLAGS} -I.. ${GLIB_CFLAGS} ${GTK_CFLAGS} \
+CPPFLAGS += ${LIB_CPPFLAGS} -I.. -I../libSAD ${GLIB_CFLAGS} ${GTK_CFLAGS} \
 	${MOWGLI_CFLAGS} ${LIBMCS_CFLAGS}
 
 CFLAGS += ${LIB_CFLAGS}