Changeset 771

Show
Ignore:
Timestamp:
12/23/07 13:31:14 (16 years ago)
Author:
arnonym
Message:

Almost too easy!

Fix the dependency libffado.* -> config.h -> config.h.in -> SConstruct

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r768 r771  
    319319env.ScanReplace( "config.h.in" ) 
    320320# ensure that the config.h is updated with the version 
    321 NoCache("config.h") 
    322 AlwaysBuild("config.h") 
     321env.Depends( "config.h", "SConstruct" ) 
    323322 
    324323pkgconfig = env.ScanReplace( "libffado.pc.in" ) 
  • trunk/libffado/src/SConscript

    r755 r771  
    172172' ) 
    173173 
    174 # Explicitly make these files dependent on config.h 
    175 # to make sure they contain the most recent version 
    176 # #define's 
    177 version_dependent_files = [ 
    178     "ffado.os", # external API versioning 
    179     "libutil/serialize.os", # cache versioning 
    180     ] 
    181  
    182174 
    183175source = ffado_source 
     
    228220    ffadolib_static = libenv.StaticLibrary( "ffado", source ) 
    229221 
    230 for file in version_dependent_files: 
    231     Depends(file, '#/config.h') 
    232     NoCache(file) 
    233     AlwaysBuild(file) 
    234  
    235 # FIXME: there has to be a better way 
    236 AlwaysBuild(ffadolib) 
    237 NoCache(ffadolib) 
    238  
    239222# 
    240223# All the following tries to emulate the versioning of installed libs as seen from libtool...