1 |
# Makefile.am - Makefile template |
---|
2 |
# Copyright (C) 2005,06 by Daniel Wagner. |
---|
3 |
# |
---|
4 |
# This file is part of FreeBoB. |
---|
5 |
# |
---|
6 |
# FreeBoB is free software; you can redistribute it and/or modify |
---|
7 |
# it under the terms of the GNU General Public License as published by |
---|
8 |
# the Free Software Foundation; either version 2 of the License, or |
---|
9 |
# (at your option) any later version. |
---|
10 |
# FreeBoB 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 |
# You should have received a copy of the GNU General Public License |
---|
15 |
# along with FreeBoB; if not, write to the Free Software |
---|
16 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
17 |
|
---|
18 |
# SUBDIRS = streaming |
---|
19 |
|
---|
20 |
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src $(LIBXML_CFLAGS) \ |
---|
21 |
$(LIBAVC1394_CFLAGS) $(LIBXMLCPP_CFLAGS) |
---|
22 |
|
---|
23 |
noinst_PROGRAMS = |
---|
24 |
|
---|
25 |
if BUILD_TESTS |
---|
26 |
noinst_PROGRAMS += test-freebob test-freebob-cpp test-extplugcmd test-fw410 freebob-server \ |
---|
27 |
test-volume test-mixer test-cycletimer test-sytmonitor \ |
---|
28 |
test-timestampedbuffer test-ieee1394service |
---|
29 |
endif |
---|
30 |
|
---|
31 |
noinst_HEADERS = |
---|
32 |
|
---|
33 |
test_freebob_SOURCES = test-freebob.c |
---|
34 |
test_freebob_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
35 |
$(LIBXML_LIBS) $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) |
---|
36 |
|
---|
37 |
test_freebob_cpp_SOURCES = test-freebob-cpp.cpp |
---|
38 |
test_freebob_cpp_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
39 |
$(LIBXML_LIBS) $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) |
---|
40 |
|
---|
41 |
test_extplugcmd_SOURCES = test-extplugcmd.cpp |
---|
42 |
test_extplugcmd_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
43 |
$(LIBAVC1394_LIBS) |
---|
44 |
|
---|
45 |
test_volume_SOURCES = test-volume.cpp |
---|
46 |
test_volume_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
47 |
$(LIBAVC1394_LIBS) |
---|
48 |
|
---|
49 |
test_mixer_SOURCES = test-mixer.cpp |
---|
50 |
test_mixer_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
51 |
$(LIBAVC1394_LIBS) |
---|
52 |
|
---|
53 |
test_fw410_SOURCES = test-fw410.cpp |
---|
54 |
test_fw410_LDADD = $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394 |
---|
55 |
|
---|
56 |
test_ieee1394service_SOURCES = test-ieee1394service.cpp |
---|
57 |
test_ieee1394service_LDADD = $(top_builddir)/src/libfreebob.la \ |
---|
58 |
$(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394 |
---|
59 |
|
---|
60 |
freebob_server_SOURCES = freebob-server.c |
---|
61 |
freebob_server_LDADD = $(top_builddir)/src/libfreebob.la $(LIBXML_LIBS) \ |
---|
62 |
$(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394 |
---|
63 |
|
---|
64 |
#TESTS_ENVIRONMENT |
---|
65 |
TEST = test-freebob |
---|
66 |
|
---|
67 |
test_cycletimer_LDADD = $(top_builddir)/src/libfreebob.la $(LIBIEC61883_LIBS) \ |
---|
68 |
$(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS) |
---|
69 |
test_cycletimer_SOURCES = test-cycletimer.cpp |
---|
70 |
|
---|
71 |
test_sytmonitor_LDADD = $(top_builddir)/src/libfreebob.la $(LIBIEC61883_LIBS) \ |
---|
72 |
$(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS) |
---|
73 |
test_sytmonitor_SOURCES = test-sytmonitor.cpp SytMonitor.cpp \ |
---|
74 |
SytMonitor.h |
---|
75 |
|
---|
76 |
test_timestampedbuffer_LDADD = $(top_builddir)/src/libfreebob.la $(LIBIEC61883_LIBS) \ |
---|
77 |
$(LIBRAW1394_LIBS) $(LIBAVC1394_LIBS) |
---|
78 |
test_timestampedbuffer_SOURCES = test-timestampedbuffer.cpp |
---|