root/branches/freebob-syt-experiments/tests/Makefile.am

Revision 192, 1.5 kB (checked in by wagi, 18 years ago)

This patch fixes two issues when building:

  • libfreebob include files aren't found when build dir != source dir
  • some libraries aren't found when they're not in a system install dir

Jeremy Kerr

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # Makefile.am - Makefile template
2 # Copyright (C) 2005 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)
22
23 noinst_PROGRAMS = test-freebob test-extplugcmd freebob-server
24 noinst_HEADERS =
25
26 test_freebob_SOURCES = test-freebob.c
27 test_freebob_LDADD   = $(top_builddir)/src/libfreebob.la \
28         $(LIBXML_LIBS) $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS)
29
30 test_extplugcmd_SOURCES = test-extplugcmd.cpp
31 test_extplugcmd_LDADD = $(top_builddir)/src/libfreebobavc/libfreebobavc.la \
32         $(LIBAVC1394_LIBS)
33
34 freebob_server_SOURCES = freebob-server.c
35 freebob_server_LDADD   = $(top_builddir)/src/libfreebob.la $(LIBXML_LIBS) \
36         $(LIBAVC1394_LIBS) $(LIBIEC61883_LIBS) -lrom1394
37
38
39 #TESTS_ENVIRONMENT
40 TEST = test-freebob
Note: See TracBrowser for help on using the browser.