<?xml?>

<gwbuild>


  <target type="Program" name="aqhome-cgi" install="$(libdir)/cgi-bin" >

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

    <define name="AQHOME_CGI_WWWDIR" value="$(httpdatadir)/aqhome-cgi" quoted="TRUE" />

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

    <setVar name="tm2flags" >
    </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" >
    </headers>
  
    <sources>
      $(local/typefiles)
      main.c
    </sources>

    <useTargets>
      aqhomecgi
      aqhcgi_service
      aqhome
    </useTargets>

    <libraries>
      $(gwenhywfar_libs)
      -lm
      $(aqcgi_libs)
      $(aqdiagram_libs)
    </libraries>

    <subdirs>
    </subdirs>


    <extradist>
    </extradist>


  </target>



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

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

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

    <setVar name="tm2flags" >
    </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" >
      service_file.h
      service_file_p.h
    </headers>
  
    <sources>
      $(local/typefiles)

      service_file.c
    </sources>

    <useTargets>
      aqhome
      aqhcgi_service
      aqhcgi_modules
    </useTargets>

    <libraries>
      $(gwenhywfar_libs)
      -lm
      $(aqcgi_libs)
      $(aqdiagram_libs)
    </libraries>

    <subdirs>
      service
      modules
    </subdirs>


    <extradist>
    </extradist>


  </target>


</gwbuild>


