root/trunk/libfreebob/src/libfreebobavc/Makefile.am

Revision 155, 1.7 kB (checked in by wagi, 18 years ago)

2006-01-19 Daniel Wagner <wagi@monom.org>

  • This patch cleans up the external dependency detection for
    libfreebob. At present, building libfreebob is not possible
    if libraries are outside the system include/library paths
    (ie /usr/ and /usr/local). Use the results of pkg-config to
    specify the correct paths to the automake system.

Becuase we're using pkgconfig, there's no real need to use
AC_CHECK_LIB or AC_CHECK_HEADERS. However, these could
potentially be reinstated, but need to be fixed to check in
the locations specified by pkgconfig.

  • It is not currently possible to build freebob in a directory
    outside the source dir (ie, builddir != srcdir). This patch
    fixes the include paths to allow this. (it's handy for keeping
    the source tree clean, or when building on multiple architectures
  • I use a build dir of $srcdir/obj-$arch-$os)

Both patches are written by Jeremy Kerr <jk@ozlabs.org>

  • 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 noinst_LTLIBRARIES = libfreebobavc.la
19
20 libfreebobavc_la_SOURCES =                              \
21                 avc_connect.h                           \
22                 avc_connect.cpp                         \
23                 avc_definitions.h                       \
24                 avc_definitions.cpp                     \
25                 avc_extended_cmd_generic.h              \
26                 avc_extended_cmd_generic.cpp            \
27                 avc_extended_stream_format.h            \
28                 avc_extended_stream_format.cpp          \
29                 avc_extended_plug_info.h                \
30                 avc_extended_plug_info.cpp              \
31                 avc_generic.h                           \
32                 avc_generic.cpp                         \
33                 avc_plug_info.h                         \
34                 avc_plug_info.cpp                       \
35                 avc_signal_source.h                     \
36                 avc_signal_source.cpp                   \
37                 avc_unit_info.h                         \
38                 avc_unit_info.cpp                       \
39                 avc_subunit_info.h                      \
40                 avc_subunit_info.cpp                    \
41                 serialize.h                             \
42                 serialize.cpp                           \
43                 ieee1394service.h                       \
44                 ieee1394service.cpp
45
46 INCLUDES = $(LIBRAW1394_CFLAGS) $(LIBIEC61883_CFLAGS) $(LIBAVC1394_CFLAGS) \
47         -I$(top_srcdir)/src
48 libfreebobavc_la_LIBADD  = $(LIBRAW1394_LIBS) $(LIBIEC61883_LIBS) \
49         $(LIBAVC1394_LIBS)
50
51 MAINTAINERCLEANFILES = Makefile.in
Note: See TracBrowser for help on using the browser.