<?xml?>

<gwbuild>

  <target type="ConvenienceLibrary" name="aqhdata" >

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


    <define name="BUILDING_AQHOME" />

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

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

    <setVar name="local/typefiles" >
      value.t2d
      device.t2d
      datafile.t2d
    </setVar>
  
    <setVar name="local/built_sources" >
      value.c
      device.c
    </setVar>
  
    <setVar name="local/built_headers_pub">
      value.h
      device.h
    </setVar>
  
  
    <setVar name="local/built_headers_priv" >
      value_p.h
      device_p.h
    </setVar>


    <headers dist="false" install="$(pkgincludedir)/data" >
      $(local/built_headers_pub)
    </headers>
  
  
    <headers dist="true" install="$(pkgincludedir)/data" >
      storage.h
    </headers>


    <headers dist="true" >
      storage_p.h
      storage_readxml.h
      storage_writexml.h
      vars.h
      vars_p.h
      vars_dbread.h
      vars_dbwrite.h
      path.h
    </headers>
  
  
    <sources>
      $(local/typefiles)

      storage.c
      storage_readxml.c
      storage_writexml.c
      vars.c
      vars_dbread.c
      vars_dbwrite.c
      path.c
    </sources>


    <extradist>
      path-t.h
      path-t.c
      vars-t.h
      vars-t.c
      vars_dbread-t.h
      vars_dbread-t.c
      vars_dbwrite-t.h
      vars_dbwrite-t.c
    </extradist>


    <useTargets>
      aqhdf
    </useTargets>

    <subdirs>
      datafile
    </subdirs>

  
  

  </target>
  
</gwbuild>
