packaging: Update spec and deb packaging
[src/app-framework-binder.git] / nbproject / configurations.xml
index ce722f7..e7a060a 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <configurationDescriptor version="97">
   <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
-    <logicalFolder name="HeaderFiles"
-                   displayName="Header Files"
-                   projectFiles="true">
-    </logicalFolder>
-    <logicalFolder name="ResourceFiles"
-                   displayName="Resource Files"
-                   projectFiles="true">
-    </logicalFolder>
-    <logicalFolder name="SourceFiles"
-                   displayName="Source Files"
-                   projectFiles="true">
-      <itemPath>src/afbs-api.c</itemPath>
-      <itemPath>src/alsa-api.c</itemPath>
-      <itemPath>src/config.c</itemPath>
-      <itemPath>src/dbus-api.c</itemPath>
-      <itemPath>src/http-svc.c</itemPath>
-      <itemPath>src/main.c</itemPath>
-      <itemPath>src/rest-api.c</itemPath>
-      <itemPath>src/session.c</itemPath>
-    </logicalFolder>
-    <logicalFolder name="TestFiles"
-                   displayName="Test Files"
+    <df root="." name="0">
+      <df name="plugins">
+        <df name="afm-main-plugin">
+          <in>afm-main-plugin.c</in>
+          <in>utils-jbus.c</in>
+        </df>
+        <df name="audio">
+          <in>audio-alsa.c</in>
+          <in>audio-api.c</in>
+        </df>
+        <df name="radio">
+          <in>radio-api.c</in>
+          <in>radio-rtlsdr.c</in>
+        </df>
+        <df name="samples">
+          <in>ClientCtx.c</in>
+          <in>HelloWorld.c</in>
+          <in>SamplePost.c</in>
+        </df>
+        <df name="session">
+          <in>token-api.c</in>
+        </df>
+      </df>
+      <df name="src">
+        <in>afbs-api.c</in>
+        <in>alsa-api.c</in>
+        <in>config.c</in>
+        <in>dbus-api.c</in>
+        <in>helper-api.c</in>
+        <in>http-svc.c</in>
+        <in>main.c</in>
+        <in>radio-api.c</in>
+        <in>rest-api.c</in>
+        <in>session.c</in>
+      </df>
+    </df>
+    <df root="." name="1">
+    </df>
+    <logicalFolder name="ExternalFiles"
+                   displayName="Important Files"
                    projectFiles="false"
-                   kind="TEST_LOGICAL_FOLDER">
+                   kind="IMPORTANT_FILES_FOLDER">
+      <itemPath>CMakeLists.txt</itemPath>
+      <itemPath>build/Makefile</itemPath>
+      <itemPath>nbproject/private/launcher.properties</itemPath>
     </logicalFolder>
     <logicalFolder name="ExternalFiles"
                    displayName="Important Files"
                    projectFiles="false"
                    kind="IMPORTANT_FILES_FOLDER">
-      <itemPath>Makefile</itemPath>
+      <itemPath>CMakeLists.txt</itemPath>
+      <itemPath>build/Makefile</itemPath>
+      <itemPath>nbproject/private/launcher.properties</itemPath>
     </logicalFolder>
   </logicalFolder>
-  <projectmakefile>Makefile</projectmakefile>
+  <sourceFolderFilter>^(nbproject)$</sourceFolderFilter>
+  <sourceRootList>
+    <Elem>.</Elem>
+    <Elem>.</Elem>
+  </sourceRootList>
+  <projectmakefile>build/Makefile</projectmakefile>
   <confs>
-    <conf name="Debug" type="1">
+    <conf name="Default" type="0">
       <toolsSet>
         <compilerSet>default</compilerSet>
-        <dependencyChecking>true</dependencyChecking>
+        <dependencyChecking>false</dependencyChecking>
         <rebuildPropChanged>false</rebuildPropChanged>
       </toolsSet>
-      <compileType>
+      <flagsDictionary>
+        <element flagsID="0" commonFlags="-fPIE"/>
+        <element flagsID="1" commonFlags="-mtune=generic -march=x86-64 -fPIC"/>
+      </flagsDictionary>
+      <codeAssistance>
+      </codeAssistance>
+      <makefileType>
+        <makeTool>
+          <buildCommandWorkingDir>build</buildCommandWorkingDir>
+          <buildCommand>${MAKE} -f Makefile</buildCommand>
+          <cleanCommand>${MAKE} -f Makefile clean</cleanCommand>
+          <executablePath>build/afb-daemon</executablePath>
+          <cTool flags="1">
+          </cTool>
+        </makeTool>
+        <preBuild>
+          <preBuildCommandWorkingDir>build</preBuildCommandWorkingDir>
+          <preBuildCommand>cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=${IDE_CC} -DCMAKE_CXX_COMPILER=${IDE_CXX} -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..</preBuildCommand>
+          <preBuildFirst>true</preBuildFirst>
+        </preBuild>
+      </makefileType>
+      <folder path="0/plugins">
         <cTool>
           <incDir>
+            <pElem>include</pElem>
             <pElem>/usr/include/json-c</pElem>
+            <pElem>/usr/include/uuid</pElem>
+          </incDir>
+        </cTool>
+      </folder>
+      <folder path="0/plugins/afm-main-plugin">
+        <cTool>
+          <incDir>
+            <pElem>plugins/afm-main-plugin</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+            <Elem>afm_main_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
+      </folder>
+      <folder path="0/plugins/audio">
+        <cTool>
+          <incDir>
+            <pElem>plugins/audio</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+            <Elem>audio_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
+      </folder>
+      <folder path="0/plugins/radio">
+        <cTool>
+          <incDir>
+            <pElem>/usr/include/alsa</pElem>
+            <pElem>/usr/include/libusb-1.0</pElem>
+            <pElem>build/plugins</pElem>
+            <pElem>plugins/radio</pElem>
+            <pElem>plugins/audio</pElem>
+          </incDir>
+        </cTool>
+      </folder>
+      <folder path="0/plugins/samples">
+        <cTool>
+          <incDir>
+            <pElem>plugins/samples</pElem>
+            <pElem>build/plugins/samples</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+          </preprocessorList>
+        </cTool>
+      </folder>
+      <folder path="0/plugins/session">
+        <cTool>
+          <incDir>
+            <pElem>plugins/session</pElem>
+            <pElem>build/plugins/session</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+            <Elem>token_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
+      </folder>
+      <item path="plugins/afm-main-plugin/afm-main-plugin.c"
+            ex="false"
+            tool="0"
+            flavor2="2">
+        <cTool flags="1">
+          <incDir>
             <pElem>include</pElem>
-            <pElem>/opt/libmagic/include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins/afm-main-plugin</pElem>
           </incDir>
         </cTool>
-        <linkerTool>
-          <linkerLibItems>
-            <linkerOptionItem>`pkg-config --libs libmicrohttpd`</linkerOptionItem>
-            <linkerOptionItem>`pkg-config --libs json-c`</linkerOptionItem>
-            <linkerLibLibItem>efence</linkerLibLibItem>
-            <linkerLibLibItem>magic</linkerLibLibItem>
-          </linkerLibItems>
-        </linkerTool>
-      </compileType>
-      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="0">
       </item>
-      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/afm-main-plugin/utils-jbus.c"
+            ex="false"
+            tool="0"
+            flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>/usr/lib64/dbus-1.0/include/dbus</pElem>
+            <pElem>/usr/include/dbus-1.0/dbus</pElem>
+            <pElem>/usr/include/dbus-1.0</pElem>
+            <pElem>/usr/lib64/dbus-1.0/include</pElem>
+            <pElem>build/plugins/afm-main-plugin</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/config.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/audio/audio-alsa.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>include</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins/audio</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/audio/audio-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins/audio</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/http-svc.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/radio/radio-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+        </cTool>
       </item>
-      <item path="src/main.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/radio/radio-rtlsdr.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+        </cTool>
       </item>
-      <item path="src/rest-api.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/samples/ClientCtx.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <preprocessorList>
+            <Elem>clientCtx_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
-      <item path="src/session.c" ex="false" tool="0" flavor2="0">
+      <item path="plugins/samples/HelloWorld.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <preprocessorList>
+            <Elem>helloWorld_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
-    </conf>
-    <conf name="Release" type="1">
-      <toolsSet>
-        <compilerSet>default</compilerSet>
-        <dependencyChecking>true</dependencyChecking>
-        <rebuildPropChanged>false</rebuildPropChanged>
-      </toolsSet>
-      <compileType>
-        <cTool>
-          <developmentMode>5</developmentMode>
+      <item path="plugins/samples/SamplePost.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <preprocessorList>
+            <Elem>samplePost_api_EXPORTS=1</Elem>
+          </preprocessorList>
+        </cTool>
+      </item>
+      <item path="plugins/session/token-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+        </cTool>
+      </item>
+      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="0">
+          <incDir>
+            <pElem>plugins/audio</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins</pElem>
+            <pElem>plugins/samples</pElem>
+            <pElem>plugins/session</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
         </cTool>
-        <ccTool>
-          <developmentMode>5</developmentMode>
-        </ccTool>
-        <fortranCompilerTool>
-          <developmentMode>5</developmentMode>
-        </fortranCompilerTool>
-        <asmTool>
-          <developmentMode>5</developmentMode>
-        </asmTool>
-      </compileType>
-      <item path="src/afbs-api.c" ex="false" tool="0" flavor2="0">
       </item>
-      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="0">
+      <item path="src/alsa-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="0">
+          <incDir>
+            <pElem>plugins/audio</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins</pElem>
+            <pElem>plugins/samples</pElem>
+            <pElem>plugins/session</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/config.c" ex="false" tool="0" flavor2="0">
+      <item path="src/config.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+          </preprocessorList>
+        </cTool>
+      </item>
+      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="0">
+          <incDir>
+            <pElem>plugins/audio</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins</pElem>
+            <pElem>plugins/samples</pElem>
+            <pElem>plugins/session</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
+      </item>
+      <item path="src/helper-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/dbus-api.c" ex="false" tool="0" flavor2="0">
+      <item path="src/http-svc.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/http-svc.c" ex="false" tool="0" flavor2="0">
+      <item path="src/main.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
-      <item path="src/main.c" ex="false" tool="0" flavor2="0">
+      <item path="src/radio-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="0">
+          <incDir>
+            <pElem>plugins/audio</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/plugins</pElem>
+            <pElem>plugins/samples</pElem>
+            <pElem>plugins/session</pElem>
+            <pElem>/usr/include/libusb-1.0</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>WITH_RADIO_PLUGIN=1</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
-      <item path="src/rest-api.c" ex="false" tool="0" flavor2="0">
+      <item path="src/rest-api.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>include</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+        </cTool>
       </item>
-      <item path="src/session.c" ex="false" tool="0" flavor2="0">
+      <item path="src/session.c" ex="false" tool="0" flavor2="2">
+        <cTool flags="1">
+          <incDir>
+            <pElem>src</pElem>
+            <pElem>/usr/include/json-c</pElem>
+            <pElem>/usr/include/uuid</pElem>
+            <pElem>include</pElem>
+            <pElem>build/src</pElem>
+          </incDir>
+          <preprocessorList>
+            <Elem>PLUGIN_INSTALL_DIR="/usr/local/lib64/afb"</Elem>
+            <Elem>__PIC__=2</Elem>
+            <Elem>__REGISTER_PREFIX__=</Elem>
+            <Elem>__USER_LABEL_PREFIX__=</Elem>
+            <Elem>__pic__=2</Elem>
+          </preprocessorList>
+        </cTool>
       </item>
     </conf>
   </confs>