Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
[flac.git] / src / test_libFLAC / Makefile.am
index f4fa20a..e6136e7 100644 (file)
@@ -1,5 +1,5 @@
 #  test_libFLAC - Unit tester for libFLAC
-#  Copyright (C) 2000,2001,2002  Josh Coalson
+#  Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
 #
 #  This program is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU General Public License
 #  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.
+#  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.,
+#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 EXTRA_DIST = \
        Makefile.lite \
-       Makefile.vc \
-       test_libFLAC.dsp
+       test_libFLAC.vcproj
 
-CFLAGS = @CFLAGS@
-INCLUDES = -I$(top_srcdir)/src/libFLAC/include
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/src/libFLAC/include
 
 noinst_PROGRAMS = test_libFLAC
-test_libFLAC_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
+test_libFLAC_LDADD = \
+       $(top_builddir)/src/share/grabbag/libgrabbag.la \
+       $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
+       $(top_builddir)/src/test_libs_common/libtest_libs_common.la \
+       $(top_builddir)/src/libFLAC/libFLAC-static.la \
+       @OGG_LIBS@ \
+       -lm
+
 test_libFLAC_SOURCES = \
-       bitbuffer.c \
+       bitwriter.c \
        decoders.c \
        encoders.c \
-       file_utils.c \
+       format.c \
        main.c \
        metadata.c \
        metadata_manip.c \
        metadata_object.c \
-       metadata_utils.c \
-       bitbuffer.h \
+       bitwriter.h \
        decoders.h \
        encoders.h \
-       file_utils.h \
-       metadata.h \
-       metadata_utils.h
+       format.h \
+       metadata.h
+
+CLEANFILES = test_libFLAC.exe