Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
[flac.git] / src / test_libFLAC / Makefile.am
index c08eca0..e6136e7 100644 (file)
@@ -1,5 +1,5 @@
 #  test_libFLAC - Unit tester for libFLAC
-#  Copyright (C) 2000,2001,2002,2003,2004,2005,2006  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 \
-       test_libFLAC.dsp
+       test_libFLAC.vcproj
 
-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/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.la \
+       $(top_builddir)/src/libFLAC/libFLAC-static.la \
        @OGG_LIBS@ \
        -lm
+
 test_libFLAC_SOURCES = \
        bitwriter.c \
        decoders.c \
@@ -43,3 +44,5 @@ test_libFLAC_SOURCES = \
        encoders.h \
        format.h \
        metadata.h
+
+CLEANFILES = test_libFLAC.exe