]> saetta.ns0.it Git - albonline/be/commitdiff
Aggiornati gli autotools.
authorAndrea Zagli <azagli@libero.it>
Sat, 16 Feb 2013 12:07:25 +0000 (13:07 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 16 Feb 2013 12:07:25 +0000 (13:07 +0100)
Aggiunti i file di progetto di Anjuta.

.anjuta/default.profile [new file with mode: 0644]
.anjuta/session/anjuta.session [new file with mode: 0644]
.anjuta/session/dock-layout.xml [new file with mode: 0644]
.anjuta_sym_db.db [new file with mode: 0644]
.gitignore
autogen.sh [new file with mode: 0755]
configure.ac
messi.anjuta [new file with mode: 0644]

diff --git a/.anjuta/default.profile b/.anjuta/default.profile
new file mode 100644 (file)
index 0000000..054294f
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<anjuta>
+    <plugin name="Git" mandatory="no">
+        <require group="Anjuta Plugin"
+                 attribute="Location"
+                 value="anjuta-git:Git"/>
+    </plugin>
+</anjuta>
diff --git a/.anjuta/session/anjuta.session b/.anjuta/session/anjuta.session
new file mode 100644 (file)
index 0000000..e7d89dc
--- /dev/null
@@ -0,0 +1,28 @@
+[Anjuta]
+Maximized=1
+Geometry=1024x687+0+24
+
+[File Loader]
+Files=../../src/main.c#19%%%../../configure.ac#6
+
+[Document Manager]
+bookmarks=<?xml version="1.0" encoding="UTF-8"?>\n<bookmarks/>\n
+
+[Project Manager]
+Shortcut=messi//src//messi
+Expand=messi
+
+[Execution]
+Run in terminal=2
+Working directories=../../../messi
+
+[Build]
+Configuration list=1:Default:%%%1:Debug:Debug%%%1:Profiling:Profiling%%%1:Optimized:Optimized
+Selected Configuration=Default
+BuildArgs/Default=--enable-maintainer-mode
+BuildArgs/Debug=--enable-maintainer-mode 'CFLAGS=-g -O0' 'CXXFLAGS=-g -O0' 'JFLAGS=-g -O0' 'FFLAGS=-g -O0'
+BuildArgs/Profiling=--enable-maintainer-mode 'CFLAGS=-g -pg' 'CXXFLAGS=-g -pg' 'JFLAGS=-g -pg' 'FFLAGS=-g -pg'
+BuildArgs/Optimized=--enable-maintainer-mode 'CFLAGS=-O2' 'CXXFLAGS=-O2' 'JFLAGS=-O2' 'FFLAGS=-O2'
+
+[Debugger]
+Stop at beginning=2
diff --git a/.anjuta/session/dock-layout.xml b/.anjuta/session/dock-layout.xml
new file mode 100644 (file)
index 0000000..85247fc
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<dock-layout>
+       
+<layout name="__default__"><dock name="__dock_1" floating="no" width="-1" height="-1" floatx="0" floaty="0"><paned orientation="horizontal" locked="no" position="266"><notebook orientation="vertical" locked="no" page="0"><item name="AnjutaFileManager" orientation="vertical" locked="no"/><item name="AnjutaProjectManager" orientation="vertical" locked="no"/><item name="AnjutaSymbolDB" orientation="vertical" locked="no"/></notebook><item name="AnjutaDocumentManager" orientation="vertical" locked="no"/></paned></dock></layout></dock-layout>
diff --git a/.anjuta_sym_db.db b/.anjuta_sym_db.db
new file mode 100644 (file)
index 0000000..80bd4c9
Binary files /dev/null and b/.anjuta_sym_db.db differ
index 8d3ba0c410e7e5f2fdcc9b404851809a4e907b15..b6d9ec9bb19db485e78db729d9e5f220cf7bd6d0 100644 (file)
@@ -1,5 +1,6 @@
 *.o
 *~
+messi.exe
 src/messi
 COPYING
 INSTALL
diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..68983f8
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="opengov"
+
+(test -f $srcdir/configure.ac \
+  && test -d $srcdir/src \
+  && test -f $srcdir/src/main.c) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level "\`$PKG_NAME\'" directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common from GNOME and make"
+    echo "sure the gnome-autogen.sh script is in your \$PATH."
+    exit 1
+}
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
index 40644094d66a0173f855717633280f9b67988de9..1822f631a05ce3e0764e18cadc5713926e431e02 100644 (file)
@@ -1,14 +1,21 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
+m4_define(major, 0)
+m4_define(minor, 0)
+m4_define(micro, 1)
+
 AC_PREREQ([2.61])
-AC_INIT([messi], [0.0.1], [azagli@libero.it])
+AC_INIT([messi], [major.minor.micro], [azagli@libero.it])
 AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_HEADERS([config.h])
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE(-Wall)
+
 AM_MAINTAINER_MODE
 
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+
 AC_CANONICAL_SYSTEM
 
 # Checks for programs.
@@ -27,6 +34,26 @@ AC_SUBST(MESSI_LIBS)
 
 # Checks for library functions.
 
+dnl ******************************
+dnl Check for Operating System
+dnl ******************************
+
+platform_win32=no
+
+case "$host" in
+*-mingw*)
+    platform_win32=yes
+    AC_CHECK_TOOL(WINDRES, windres, windres)
+    AC_SUBST(WINDRES)
+    ;;
+esac
+
+AM_CONDITIONAL(PLATFORM_WIN32, [test $platform_win32 = yes])
+
+AC_SUBST(V_MAJOR, major)
+AC_SUBST(V_MINOR, minor)
+AC_SUBST(V_MICRO, micro)
+
 AC_CONFIG_FILES([
        Makefile
        data/Makefile
diff --git a/messi.anjuta b/messi.anjuta
new file mode 100644 (file)
index 0000000..5e1cf44
--- /dev/null
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<anjuta>
+       <plugin name="GBF Project Manager"
+            url="http://anjuta.org/plugins/"
+            mandatory="yes">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaProjectManager"/>
+       </plugin>
+       <plugin name= "Autotools backend"
+            mandatory="yes">
+         <require group="Anjuta Plugin"
+                  attribute="Location"
+                  value="am-project:AmpPlugin"/>
+    </plugin>
+       <plugin name="Symbol Browser"
+            url="http://anjuta.org/plugins/"
+            mandatory="yes">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaSymbolManager"/>
+       </plugin>
+       <plugin name="Make Build System"
+            url="http://anjuta.org/plugins/"
+            mandatory="yes">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaBuildable"/>
+               <require group="Build"
+                 attribute="Supported-Build-Types"
+                 value="make"/>
+       </plugin>
+       <plugin name="Task Manager"
+            url="http://anjuta.org/plugins/"
+            mandatory="no">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaTodo"/>
+       </plugin>
+       <plugin name="Debug Manager"
+            url="http://anjuta.org/plugins/"
+            mandatory="no">
+               <require group="Anjuta Plugin"
+                 attribute="Interfaces"
+                 value="IAnjutaDebugManager"/>
+       </plugin>
+</anjuta>