Show
Ignore:
Timestamp:
08/24/07 10:53:24 (17 years ago)
Author:
arnonym
Message:

Merge the scons-branch to trunk.

This basicly adds scons as a buildsystem. This does not mean that auto* is dropped instantly (the added files should not collide) but allows for some testing in the transition-process. The auto*-files are deleted later on...

Due to this, the config.h.in (which gets built by autogen.sh) is copied from config.h.in.scons using scons. When dropping make this file should be moved to config.h.in.

The scons-system is probably missing a lot of things you are used to in make. But at least here it does build a usable libffado. :-)

To use scons, simply do a "scons". If you want to know about configuration, "scons -h" allows you to view and set parameters, which are saved from there on. What do I mean with this? "scons -h PREFIX=$HOME" sets the install-prefix to $HOME and shows the helptext that already incorporates the changed option. Another "scons -h" will show the same help-text and scons remembers the changed prefix. "scons" now builds the libs and apps and "scons install" installs everything into the prefix. "scons -c install" cleans the local dir and uninstalls the package while "scons -c" just cleans the local dir.

BTW: I also set several more ignores, I am just to lazy to split these two commits. ;-)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado

    • Property svn:ignore changed from
      .cvsignore
      Makefile
      Makefile.in
      aclocal.m4
      autom4te.cache
      config.*
      configure
      libfreebob.pc
      libtool
      stamp*
      libfreebob-*.tar.gz
      to
      .cvsignore
      Makefile
      Makefile.in
      aclocal.m4
      autom4te.cache
      config.*
      configure
      libffado.pc
      libtool
      stamp*
      libfreebob-*.tar.gz
      .*.swp
      cache
      .scons*
  • trunk/libffado/src

    • Property svn:ignore changed from
      .cvsignore
      Makefile
      Makefile.in
      .deps
      .libs
      *.lo
      *.la
      to
      .cvsignore
      Makefile
      Makefile.in
      .deps
      .libs
      *.lo
      *.la
      *.os
      libffado.so
      test-debugmodule
      test-dll
      test-unittests-util
      test-unittests-osc
      bridgeco-downloader
      bebob-sync
      .*.swp
  • trunk/libffado/src/SConscript

    r549 r561  
    1313        ffado.cpp \ 
    1414        ffado_streaming.cpp \ 
    15         iavdevice.cpp \ 
     15        ffadodevice.cpp \ 
    1616        debugmodule/debugmodule.cpp \ 
    17         libavc/avc_connect.cpp \ 
     17        libavc/streamformat/avc_extended_stream_format.cpp \ 
     18        libavc/util/avc_serialize.cpp \ 
     19        libavc/musicsubunit/avc_descriptor_music.cpp \ 
     20        libavc/musicsubunit/avc_musicsubunit.cpp \ 
     21        libavc/audiosubunit/avc_audiosubunit.cpp \ 
     22        libavc/audiosubunit/avc_function_block.cpp \ 
     23        libavc/descriptors/avc_descriptor_cmd.cpp \ 
     24        libavc/descriptors/avc_descriptor.cpp \ 
     25        libavc/general/avc_extended_subunit_info.cpp \ 
     26        libavc/general/avc_unit_info.cpp \ 
     27        libavc/general/avc_generic.cpp \ 
     28        libavc/general/avc_subunit_info.cpp \ 
     29        libavc/general/avc_connect.cpp \ 
     30        libavc/general/avc_signal_format.cpp \ 
     31        libavc/general/avc_extended_cmd_generic.cpp \ 
     32        libavc/general/avc_extended_plug_info.cpp \ 
     33        libavc/general/avc_plug_info.cpp \ 
     34        libavc/general/avc_unit.cpp \ 
     35        libavc/general/avc_subunit.cpp \ 
     36        libavc/general/avc_plug.cpp \ 
     37        libavc/general/avc_vendor_dependent_cmd.cpp \ 
    1838        libavc/avc_definitions.cpp \ 
    19         libavc/avc_extended_cmd_generic.cpp \ 
    20         libavc/avc_extended_plug_info.cpp \ 
    21         libavc/avc_extended_stream_format.cpp \ 
    22         libavc/avc_extended_subunit_info.cpp \ 
    23         libavc/avc_function_block.cpp \ 
    24         libavc/avc_generic.cpp \ 
    25         libavc/avc_plug_info.cpp \ 
    26         libavc/avc_serialize.cpp \ 
    27         libavc/avc_signal_source.cpp \ 
    28         libavc/avc_subunit_info.cpp \ 
    29         libavc/avc_unit_info.cpp \ 
     39        libavc/ccm/avc_signal_source.cpp \ 
    3040        libieee1394/ARMHandler.cpp \ 
    3141        libieee1394/configrom.cpp \ 
     
    6979        bebob/bebob_functionblock.cpp \ 
    7080        bebob/GenericMixer.cpp \ 
     81        bebob/vendorspecific/focusrite.cpp \ 
     82        bebob/vendorspecific/terratec.cpp \ 
    7183        maudio/maudio_avdevice.cpp \ 
    7284' ) 
     
    7587        maudio/fw410.xml \ 
    7688        maudio/fwap.xml \ 
     89' ) 
     90 
     91genericavc_source =  env.Split( '\ 
     92        genericavc/avc_avdevice.cpp \ 
     93        genericavc/avc_vendormodel.cpp \ 
    7794' ) 
    7895 
     
    110127source = ffado_source 
    111128if env['ENABLE_BEBOB']: 
    112         source += bebob_source + amdtp_source 
     129        source += bebob_source 
     130if env['ENABLE_GENERIC_AVC']: 
     131        source += genericavc_source 
    113132if env['ENABLE_MOTU']: 
    114133        source += motu_source 
     
    121140if env['ENABLE_BOUNCE']: 
    122141        source += bounce_source 
     142 
     143if env['ENABLE_BEBOB'] or env['ENABLE_GENERIC_AVC'] or env['ENABLE_DICE'] or env['ENABLE_BOUNCE']: 
     144        source += amdtp_source 
     145 
     146env1.MergeFlags( "-lrt" ) 
    123147 
    124148#env1.AppendUnique( LINKFLAGS = env.Split("-Wl,-rpath $libdir -Wl,-soname -Wl,libffado.so.1 --version-info=1:0:0") )