| 1 | # |
| 2 | # This file is part of DisOrder. |
| 3 | # Copyright (C) 2004, 2005, 2007-2009, 2011, 2013 Richard Kettlewell |
| 4 | # |
| 5 | # This program is free software: you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License as published by |
| 7 | # the Free Software Foundation, either version 3 of the License, or |
| 8 | # (at your option) any later version. |
| 9 | # |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU General Public License |
| 16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | # |
| 18 | |
| 19 | VPATH+=${top_srcdir}/common |
| 20 | |
| 21 | noinst_PROGRAMS=disorder-udplog |
| 22 | |
| 23 | AUTOMAKE_OPTIONS=subdir-objects |
| 24 | AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib |
| 25 | |
| 26 | disorder_udplog_SOURCES=udplog.c |
| 27 | nodist_disorder_udplog_SOURCES=memgc.c |
| 28 | disorder_udplog_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBGC) |
| 29 | disorder_udplog_DEPENDENCIES=../lib/libdisorder.a |
| 30 | |
| 31 | TESTS=cookie.py dbversion.py dump.py files.py play.py queue.py \ |
| 32 | recode.py search.py user.py aliases.py \ |
| 33 | schedule.py hashes.py playlists.py |
| 34 | |
| 35 | AM_TESTS_ENVIRONMENT=PYTHONUNBUFFERED=true;export PYTHONUNBUFFERED; |
| 36 | |
| 37 | clean-local: |
| 38 | rm -rf testroot *.log *.pyc |
| 39 | |
| 40 | EXTRA_DIST=dtest.py ${TESTS} fail.py |
| 41 | CLEANFILES=*.gcda *.gcov *.gcno *.c.html index.html |