--  {{{appName}}}
--  {{{appDescription}}}
--  The version of the OpenAPI document: 1.0.0
--
--  https://openapi-generator.tech
--
--  NOTE: Auto generated by OpenAPI Generator (https://openapi-generator.tech).
with "config";
with "utilada_sys";
with "utilada_xml";
with "utilada_{{httpClientGprName}}";
with "security";
with "{{openApiGprName}}";{{#isServer}}
with "servletada";
with "servletada_aws";
--  with "servletada_ews";
with "{{openApiGprName}}_server";{{/isServer}}
project {{{projectName}}} is

   for Object_Dir use "obj/";
   for Source_Dirs use ("src", "src/model", "src/{{{packageDir}}}");
{{^isServer}}
   Mains := ("{{{packageName}}}-{{{mainName}}}.adb");
{{/isServer}}
{{#isServer}}
   for Main use ();

   Build_AWS : Config.Yes_No := external ("BUILD_AWS", "yes");
   Build_EWS : Config.Yes_No := external ("BUILD_EWS", "no");

   case Build_AWS is
      when "yes" =>
         for Main use Project'Main & ("{{{packageName}}}_aws.adb");
         for Source_Dirs use Project'Source_Dirs & ("src/aws");

      when others =>
         null;
   end case;

   case Build_EWS is
      when "yes" =>
         for Main use Project'Main & ("{{{packageName}}}_ews.adb");
         for Source_Dirs use Project'Source_Dirs & ("src/ews");

      when others =>
         null;
   end case;
{{/isServer}}

   package Binder renames Config.Binder;
   package Builder renames Config.Builder;
   package Compiler renames Config.Compiler;
   package Linker renames Config.Linker;

end {{{projectName}}};
