<?xml?>

<gwbuild>

  <target type="InstallLibrary" name="aqhome"
          so_current="$(project_so_current)" 
          so_age="$(project_so_age)"
          so_revision="$(project_so_revision)"
          install="$(libdir)" >

    <includes type="c" >
      $(gwenhywfar_cflags)
      -I$(topsrcdir)
      -I$(topbuilddir)
    </includes>
  
    <includes type="tm2" >
      --include=$(builddir)
      --include=$(srcdir)
    </includes>


    <define name="BUILDING_AQHOME" />

    <setVar name="local/cflags">$(visibility_cflags)</setVar>

  
    <setVar name="tm2flags" >
      --api=AQHOME_API
    </setVar>


    <setVar name="local/typefiles" >
    </setVar>
  
    <setVar name="local/built_sources" >
    </setVar>
  
    <setVar name="local/built_headers_pub">
    </setVar>
  
    <setVar name="local/built_headers_priv" >
    </setVar>
  
  
    <headers dist="true" install="$(pkgincludedir)" >
      api.h
      aqhome.h
      msgmanager.h
    </headers>
  
  
    <sources>
      $(local/typefiles)
      aqhome.c
      msgmanager.c
    </sources>

    <subdirs>
      msg
      ipc
      nodes
    </subdirs>


    <useTargets>
      aqhmsg
      aqhipc
      aqhnodes
    </useTargets>

    <libraries>
      $(gwenhywfar_libs)
    </libraries>


    <extradist>
    </extradist>



  </target>



  <target type="Program" name="libtest" >
    <includes type="c" >
      $(gwenhywfar_cflags)
      -I$(topsrcdir)
      -I$(topbuilddir)
    </includes>

    <setVar name="local/cflags">$(visibility_cflags)</setVar>

    <sources>libtest.c</sources>
    <useTargets>aqhome</useTargets>
    <libraries>$(gwenhywfar_libs)</libraries>
  </target>

  
</gwbuild>
