Cambio di makefile.

Leonardo Robol [2010-02-09 09:31]
Cambio di makefile.
Filename
Dizzy.make
Makefile
Makefile.am
Makefile.in
Makefile.include
autogen.sh
config.log
config.make
configure
configure.ac
dizzy
expansions.m4
install-sh
rules.make
diff --git a/Dizzy.make b/Dizzy.make
index ffbc91c..608a9f5 100644
--- a/Dizzy.make
+++ b/Dizzy.make
@@ -2,7 +2,12 @@

 # Warning: This is an automatically generated file, do not edit!

-if ENABLE_DEBUG_X86
+srcdir=.
+top_srcdir=.
+
+include $(top_srcdir)/config.make
+
+ifeq ($(CONFIG),DEBUG_X86)
 ASSEMBLY_COMPILER_COMMAND = gmcs
 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG"
 ASSEMBLY = bin/Debug/Dizzy.exe
@@ -21,7 +26,7 @@ DIZZY_EXE_MDB=$(BUILD_DIR)/Dizzy.exe.mdb

 endif

-if ENABLE_RELEASE_X86
+ifeq ($(CONFIG),RELEASE_X86)
 ASSEMBLY_COMPILER_COMMAND = gmcs
 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize-
 ASSEMBLY = bin/Release/Dizzy.exe
@@ -57,8 +62,13 @@ BINARIES = \


 RESGEN=resgen2
-
-all: $(ASSEMBLY) $(PROGRAMFILES_LIBRARIES) $(PROGRAMFILES) $(BINARIES)
+
+SQLITE3_DLL = $(BUILD_DIR)/Libraries/sqlite3.dll
+DIFFIEHELLMAN_DLL = $(BUILD_DIR)/DiffieHellman.dll
+ORG_MENTALIS_SECURITY_DLL = $(BUILD_DIR)/Org.Mentalis.Security.dll
+SYSTEM_DATA_SQLITE_DLL = $(BUILD_DIR)/System.Data.SQLite.dll
+TAMIR_SHARPSSH_DLL = $(BUILD_DIR)/Tamir.SharpSSH.dll
+DIZZY = $(BUILD_DIR)/dizzy

 FILES = \
 	gtk-gui/generated.cs \
@@ -86,9 +96,9 @@ EXTRAS = \

 REFERENCES =  \
 	System \
-	$(GTK_SHARP_20_LIBS) \
-	$(GLIB_SHARP_20_LIBS) \
-	$(GLADE_SHARP_20_LIBS) \
+	-pkg:gtk-sharp-2.0 \
+	-pkg:glib-sharp-2.0 \
+	-pkg:glade-sharp-2.0 \
 	Mono.Posix

 DLL_REFERENCES =  \
@@ -99,14 +109,10 @@ DLL_REFERENCES =  \

 CLEANFILES = $(PROGRAMFILES_LIBRARIES) $(PROGRAMFILES) $(BINARIES)

-include $(top_srcdir)/Makefile.include
+#Targets
+all-local: $(ASSEMBLY) $(PROGRAMFILES_LIBRARIES) $(PROGRAMFILES) $(BINARIES)  $(top_srcdir)/config.make
+

-SQLITE3_DLL = $(BUILD_DIR)/Libraries/sqlite3.dll
-DIFFIEHELLMAN_DLL = $(BUILD_DIR)/DiffieHellman.dll
-ORG_MENTALIS_SECURITY_DLL = $(BUILD_DIR)/Org.Mentalis.Security.dll
-SYSTEM_DATA_SQLITE_DLL = $(BUILD_DIR)/System.Data.SQLite.dll
-TAMIR_SHARPSSH_DLL = $(BUILD_DIR)/Tamir.SharpSSH.dll
-DIZZY = $(BUILD_DIR)/dizzy

 $(eval $(call emit-deploy-target,SQLITE3_DLL))
 $(eval $(call emit-deploy-target,DIFFIEHELLMAN_DLL))
@@ -120,8 +126,43 @@ $(eval $(call emit_resgen_targets))
 $(build_xamlg_list): %.xaml.g.cs: %.xaml
 	xamlg '$<'

-$(ASSEMBLY_MDB): $(ASSEMBLY)

+$(ASSEMBLY_MDB): $(ASSEMBLY)
 $(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
+	make pre-all-local-hook prefix=$(prefix)
 	mkdir -p $(shell dirname $(ASSEMBLY))
+	make $(CONFIG)_BeforeBuild
 	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
+	make $(CONFIG)_AfterBuild
+	make post-all-local-hook prefix=$(prefix)
+
+install-local: $(ASSEMBLY) $(ASSEMBLY_MDB)
+	make pre-install-local-hook prefix=$(prefix)
+	make install-satellite-assemblies prefix=$(prefix)
+	mkdir -p '$(DESTDIR)$(libdir)/$(PACKAGE)'
+	$(call cp,$(ASSEMBLY),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call cp,$(ASSEMBLY_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
+	mkdir -p '$(DESTDIR)$(libdir)/$(PACKAGE)/Libraries'
+	$(call cp,$(SQLITE3_DLL),$(DESTDIR)$(libdir)/$(PACKAGE)/Libraries)
+	$(call cp,$(DIFFIEHELLMAN_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call cp,$(ORG_MENTALIS_SECURITY_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call cp,$(SYSTEM_DATA_SQLITE_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call cp,$(TAMIR_SHARPSSH_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call cp,$(DIZZY_EXE_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
+	mkdir -p '$(DESTDIR)$(bindir)'
+	$(call cp,$(DIZZY),$(DESTDIR)$(bindir))
+	make post-install-local-hook prefix=$(prefix)
+
+uninstall-local: $(ASSEMBLY) $(ASSEMBLY_MDB)
+	make pre-uninstall-local-hook prefix=$(prefix)
+	make uninstall-satellite-assemblies prefix=$(prefix)
+	$(call rm,$(ASSEMBLY),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(ASSEMBLY_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(SQLITE3_DLL),$(DESTDIR)$(libdir)/$(PACKAGE)/Libraries)
+	$(call rm,$(DIFFIEHELLMAN_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(ORG_MENTALIS_SECURITY_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(SYSTEM_DATA_SQLITE_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(TAMIR_SHARPSSH_DLL),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(DIZZY_EXE_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
+	$(call rm,$(DIZZY),$(DESTDIR)$(bindir))
+	make post-uninstall-local-hook prefix=$(prefix)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5ca117a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,74 @@
+
+EXTRA_DIST = Dizzy.make rules.make configure Makefile.include Libraries/DiffieHellman.dll Libraries/Org.Mentalis.Security.dll Libraries/System.Data.SQLite.dll Libraries/Tamir.SharpSSH.dll
+
+all: all-recursive
+
+top_srcdir=.
+include $(top_srcdir)/config.make
+include $(top_srcdir)/Makefile.include
+include $(top_srcdir)/rules.make
+
+#include $(top_srcdir)/custom-hooks.make
+
+#Warning: This is an automatically generated file, do not edit!
+ifeq ($(CONFIG),DEBUG_X86)
+ SUBDIRS =  .
+endif
+ifeq ($(CONFIG),RELEASE_X86)
+ SUBDIRS =  .
+endif
+
+# Includere makefile specifico del progetto
+include Dizzy.make
+
+CONFIG_MAKE=$(top_srcdir)/config.make
+
+%-recursive: $(CONFIG_MAKE)
+	@set . $$MAKEFLAGS; final_exit=:; \
+	case $$2 in --unix) shift ;; esac; \
+	case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
+	make pre-$*-hook prefix=$(prefix) ; \
+	for dir in $(call quote_each,$(SUBDIRS)); do \
+		case "$$dir" in \
+		.) make $*-local || { final_exit="exit 1"; $$dk; };;\
+		*) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\
+		esac \
+	done; \
+	make post-$*-hook prefix=$(prefix) ; \
+	$$final_exit
+
+$(CONFIG_MAKE):
+	echo "You must run configure first"
+	exit 1
+
+clean: clean-recursive
+install: install-recursive
+uninstall: uninstall-recursive
+
+dist: $(CONFIG_MAKE)
+	rm -rf $(PACKAGE)-$(VERSION)
+	mkdir $(PACKAGE)-$(VERSION)
+	make pre-dist-hook distdir=$$distdir
+	for dir in $(call quote_each,$(SUBDIRS)); do \
+		pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \
+		mkdir "$$pkgdir/$$dir" || true; \
+		case $$dir in \
+		.) make dist-local "distdir=$$pkgdir" || exit 1;; \
+		*) (cd "$$dir"; make dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \
+		esac \
+	done
+	(make dist-local distdir=$(PACKAGE)-$(VERSION))
+	make
+	make post-dist-hook "distsir=$$distdir"
+	tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
+	rm -rf $(PACKAGE)-$(VERSION)
+	@echo "=========================================="
+	@echo "$(PACKAGE)-$(VERSION) has been packaged > $(PACKAGE)-$(VERSION).tar.gz"
+	@echo "=========================================="
+
+distcheck: dist
+	(mkdir test; cd test;  \
+	tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \
+	./configure --prefix=$$(cd `pwd`/..; pwd); \
+	make && make install && make dist);
+	rm -rf test
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index e5ebad4..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-
-EXTRA_DIST =  expansions.m4 Libraries/DiffieHellman.dll Libraries/Org.Mentalis.Security.dll Libraries/System.Data.SQLite.dll Libraries/Tamir.SharpSSH.dll
-
-#Warning: This is an automatically generated file, do not edit!
-if ENABLE_DEBUG_X86
- SUBDIRS =  .
-endif
-if ENABLE_RELEASE_X86
- SUBDIRS =  .
-endif
-
-# Includere makefile specifico del progetto
-include Dizzy.make
\ No newline at end of file
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 0736ef9..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,1027 +0,0 @@
-# Makefile.in generated by automake 1.11.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
-# Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# Warning: This is an automatically generated file, do not edit!
-
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Dizzy.make \
-	$(srcdir)/Makefile.am $(srcdir)/Makefile.in $(srcdir)/dizzy.in \
-	$(top_srcdir)/Makefile.include $(top_srcdir)/configure \
-	install-sh missing
-subdir = .
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \
-	$(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-	$(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES = dizzy
-CONFIG_CLEAN_VPATH_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
-    *) f=$$p;; \
-  esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
-  for p in $$list; do echo "$$p $$p"; done | \
-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
-    if (++n[$$2] == $(am__install_max)) \
-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
-    END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \
-	"$(DESTDIR)$(programfilesdir)" \
-	"$(DESTDIR)$(programfilesdizzydir)"
-SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS)
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-	html-recursive info-recursive install-data-recursive \
-	install-dvi-recursive install-exec-recursive \
-	install-html-recursive install-info-recursive \
-	install-pdf-recursive install-ps-recursive install-recursive \
-	installcheck-recursive installdirs-recursive pdf-recursive \
-	ps-recursive uninstall-recursive
-DATA = $(programfiles_DATA) $(programfilesdizzy_DATA)
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
-  distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
-	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
-	distdir dist dist-all distcheck
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = .
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
-  { test ! -d "$(distdir)" \
-    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr "$(distdir)"; }; }
-am__relativize = \
-  dir0=`pwd`; \
-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
-  sed_rest='s,^[^/]*/*,,'; \
-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
-  sed_butlast='s,/*[^/]*$$,,'; \
-  while test -n "$$dir1"; do \
-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
-    if test "$$first" != "."; then \
-      if test "$$first" = ".."; then \
-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
-      else \
-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
-        if test "$$first2" = "$$first"; then \
-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
-        else \
-          dir2="../$$dir2"; \
-        fi; \
-        dir0="$$dir0"/"$$first"; \
-      fi; \
-    fi; \
-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
-  done; \
-  reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@
-GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@
-GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@
-GLIB_SHARP_20_LIBS = @GLIB_SHARP_20_LIBS@
-GMCS = @GMCS@
-GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@
-GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-am__leading_dot = @am__leading_dot@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build_alias = @build_alias@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-expanded_bindir = @expanded_bindir@
-expanded_datadir = @expanded_datadir@
-expanded_libdir = @expanded_libdir@
-host_alias = @host_alias@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-EXTRA_DIST = expansions.m4 Tamir.SharpSSH.dll \
-	Org.Mentalis.Security.dll DiffieHellman.dll \
-	System.Data.SQLite.dll $(build_sources) $(build_resx_files) \
-	$(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \
-	$(DATA_FILES) $(build_culture_res_files)
-
-#Warning: This is an automatically generated file, do not edit!
-@ENABLE_DEBUG_X86_TRUE@SUBDIRS = .
-@ENABLE_RELEASE_X86_TRUE@SUBDIRS = .
-@ENABLE_DEBUG_X86_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_RELEASE_X86_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_DEBUG_X86_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG"
-@ENABLE_RELEASE_X86_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize-
-@ENABLE_DEBUG_X86_TRUE@ASSEMBLY = bin/Debug/Dizzy.exe
-@ENABLE_RELEASE_X86_TRUE@ASSEMBLY = bin/Release/Dizzy.exe
-@ENABLE_DEBUG_X86_TRUE@ASSEMBLY_MDB = $(ASSEMBLY).mdb
-@ENABLE_RELEASE_X86_TRUE@ASSEMBLY_MDB =
-@ENABLE_DEBUG_X86_TRUE@COMPILE_TARGET = exe
-@ENABLE_RELEASE_X86_TRUE@COMPILE_TARGET = exe
-@ENABLE_DEBUG_X86_TRUE@PROJECT_REFERENCES =
-@ENABLE_RELEASE_X86_TRUE@PROJECT_REFERENCES =
-@ENABLE_DEBUG_X86_TRUE@BUILD_DIR = bin/Debug
-@ENABLE_RELEASE_X86_TRUE@BUILD_DIR = bin/Release
-@ENABLE_DEBUG_X86_TRUE@SQLITE3_DLL_SOURCE = Dizzy/sqlite3.dll
-@ENABLE_RELEASE_X86_TRUE@SQLITE3_DLL_SOURCE = Dizzy/sqlite3.dll
-@ENABLE_DEBUG_X86_TRUE@TAMIR_SHARPSSH_DLL_SOURCE = Tamir.SharpSSH.dll
-@ENABLE_RELEASE_X86_TRUE@TAMIR_SHARPSSH_DLL_SOURCE = Tamir.SharpSSH.dll
-@ENABLE_DEBUG_X86_TRUE@DIFFIEHELLMAN_DLL_SOURCE = DiffieHellman.dll
-@ENABLE_RELEASE_X86_TRUE@DIFFIEHELLMAN_DLL_SOURCE = DiffieHellman.dll
-@ENABLE_DEBUG_X86_TRUE@ORG_MENTALIS_SECURITY_DLL_SOURCE = Org.Mentalis.Security.dll
-@ENABLE_RELEASE_X86_TRUE@ORG_MENTALIS_SECURITY_DLL_SOURCE = Org.Mentalis.Security.dll
-@ENABLE_DEBUG_X86_TRUE@SYSTEM_DATA_SQLITE_DLL_SOURCE = System.Data.SQLite.dll
-@ENABLE_RELEASE_X86_TRUE@SYSTEM_DATA_SQLITE_DLL_SOURCE = System.Data.SQLite.dll
-@ENABLE_DEBUG_X86_TRUE@DIZZY_EXE_MDB_SOURCE = bin/Debug/Dizzy.exe.mdb
-@ENABLE_DEBUG_X86_TRUE@DIZZY_EXE_MDB = $(BUILD_DIR)/Dizzy.exe.mdb
-@ENABLE_RELEASE_X86_TRUE@DIZZY_EXE_MDB =
-AL = al2
-SATELLITE_ASSEMBLY_NAME = $(notdir $(basename $(ASSEMBLY))).resources.dll
-PROGRAMFILES_DIZZY = \
-	$(SQLITE3_DLL)
-
-PROGRAMFILES = \
-	$(TAMIR_SHARPSSH_DLL) \
-	$(DIFFIEHELLMAN_DLL) \
-	$(ORG_MENTALIS_SECURITY_DLL) \
-	$(SYSTEM_DATA_SQLITE_DLL) \
-	$(DIZZY_EXE_MDB)
-
-BINARIES = \
-	$(DIZZY)
-
-RESGEN = resgen2
-FILES = \
-	gtk-gui/generated.cs \
-	gtk-gui/MainWindow.cs \
-	gtk-gui/Dizzy.AuthDialog.cs \
-	Dizzy/AuthDialog.cs \
-	Dizzy/File.cs \
-	Dizzy/FileTreeView.cs \
-	Dizzy/GlobalConfig.cs \
-	Dizzy/Main.cs \
-	Dizzy/MainWindow.cs \
-	Dizzy/Protocol.cs \
-	Dizzy/TaskTreeView.cs \
-	Dizzy/AssemblyInfo.cs
-
-DATA_FILES =
-RESOURCES = \
-	gtk-gui/gui.stetic \
-	Dizzy/sqlite3.dll,Dizzy.Dizzy.sqlite3.dll
-
-EXTRAS = \
-	Dizzy/app.desktop \
-	dizzy.in
-
-REFERENCES = \
-	System \
-	$(GTK_SHARP_20_LIBS) \
-	$(GLIB_SHARP_20_LIBS) \
-	$(GLADE_SHARP_20_LIBS) \
-	Mono.Posix
-
-DLL_REFERENCES = \
-	Tamir.SharpSSH.dll \
-	Org.Mentalis.Security.dll \
-	DiffieHellman.dll \
-	System.Data.SQLite.dll
-
-CLEANFILES = $(PROGRAMFILES_DIZZY) $(PROGRAMFILES) $(BINARIES) \
-	$(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) \
-	$(build_resx_resources) $(build_satellite_assembly_list)
-VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO en-TT es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT
-s2q = $(subst \ ,?,$1)
-q2s = $(subst ?,\ ,$1)
-# use this when result will be quoted
-unesc2 = $(subst ?, ,$1)
-build_sources = $(FILES) $(GENERATED_FILES)
-build_sources_esc = $(call s2q,$(build_sources))
-# use unesc2, as build_sources_embed is quoted
-build_sources_embed = $(call unesc2,$(build_sources_esc:%='$(srcdir)/%'))
-comma__ = ,
-get_resource_name = $(firstword $(subst $(comma__), ,$1))
-get_culture = $(lastword $(subst ., ,$(basename $1)))
-is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1)))))
-RESOURCES_ESC = $(call s2q,$(RESOURCES))
-build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),))
-build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_others_list = $(build_non_culture_others_list)
-build_xamlg_list = $(filter %.xaml.g.cs, $(FILES))
-
-# resgen all .resx resources
-build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res)))
-build_resx_resources_esc = $(build_resx_files:.resx=.resources)
-build_resx_resources = $(call q2s,$(build_resx_resources_esc))
-
-# embed resources for the main assembly
-build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list))
-# use unesc2, as build_resx_resources_embed is quoted
-build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%'))
-build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res))))
-build_others_resources = $(build_others_files)
-# use unesc2, as build_others_resources_embed is quoted
-build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%'))
-build_resources = $(build_resx_resources) $(build_others_resources)
-build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed)
-
-# -usesourcepath is available only for resgen2
-emit_resgen_target_1 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && MONO_IOMAP=drive $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')'
-emit_resgen_target_2 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); MONO_IOMAP=drive $$(RESGEN) -usesourcepath '$$<' '$$@'
-emit_resgen_target = $(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1))
-emit_resgen_targets = $(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res))))
-build_references_ref = $(call q2s,$(foreach ref, $(call \
-	s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), \
-	$(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) $(call \
-	q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) \
-	$(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), \
-	-r:$(ref)))
-s2q2s = $(call unesc2,$(call s2q,$1))
-cp_actual = test -z $1 || cp $1 $2
-cp = $(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)')
-rm_actual = test -z '$1' || rm -f '$2'
-rm = $(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)'))
-DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
-pkglib_SCRIPTS = $(ASSEMBLY)
-bin_SCRIPTS = $(BINARIES)
-programfilesdizzydir = @libdir@/@PACKAGE@/Dizzy
-programfilesdizzy_DATA = $(PROGRAMFILES_DIZZY)
-programfilesdir = @libdir@/@PACKAGE@
-programfiles_DATA = $(PROGRAMFILES)
-
-# generating satellite assemblies
-culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res)))
-cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res)))))
-culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2))
-culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)')
-build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME)))
-build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res))))
-install_satellite_assembly_list = $(subst $(BUILD_DIR),$(DESTDIR)$(libdir)/$(PACKAGE),$(build_satellite_assembly_list))
-SQLITE3_DLL = $(BUILD_DIR)/Dizzy/sqlite3.dll
-TAMIR_SHARPSSH_DLL = $(BUILD_DIR)/Tamir.SharpSSH.dll
-DIFFIEHELLMAN_DLL = $(BUILD_DIR)/DiffieHellman.dll
-ORG_MENTALIS_SECURITY_DLL = $(BUILD_DIR)/Org.Mentalis.Security.dll
-SYSTEM_DATA_SQLITE_DLL = $(BUILD_DIR)/System.Data.SQLite.dll
-DIZZY = $(BUILD_DIR)/dizzy
-all: all-recursive
-
-.SUFFIXES:
-am--refresh:
-	@:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Dizzy.make $(top_srcdir)/Makefile.include $(am__configure_deps)
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
-	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
-		&& exit 0; \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
-	$(am__cd) $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	@case '$?' in \
-	  *config.status*) \
-	    echo ' $(SHELL) ./config.status'; \
-	    $(SHELL) ./config.status;; \
-	  *) \
-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
-	esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-	$(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-	$(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-dizzy: $(top_builddir)/config.status $(srcdir)/dizzy.in
-	cd $(top_builddir) && $(SHELL) ./config.status $@
-install-binSCRIPTS: $(bin_SCRIPTS)
-	@$(NORMAL_INSTALL)
-	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
-	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
-	for p in $$list; do \
-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
-	done | \
-	sed -e 'p;s,.*/,,;n' \
-	    -e 'h;s|.*|.|' \
-	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
-	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
-	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
-	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
-	      if (++n[d] == $(am__install_max)) { \
-		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
-	    else { print "f", d "/" $$4, $$1 } } \
-	  END { for (d in files) print "f", d, files[d] }' | \
-	while read type dir files; do \
-	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
-	     test -z "$$files" || { \
-	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
-	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
-	     } \
-	; done
-
-uninstall-binSCRIPTS:
-	@$(NORMAL_UNINSTALL)
-	@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
-	files=`for p in $$list; do echo "$$p"; done | \
-	       sed -e 's,.*/,,;$(transform)'`; \
-	test -n "$$list" || exit 0; \
-	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
-	cd "$(DESTDIR)$(bindir)" && rm -f $$files
-install-pkglibSCRIPTS: $(pkglib_SCRIPTS)
-	@$(NORMAL_INSTALL)
-	test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
-	@list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || list=; \
-	for p in $$list; do \
-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
-	done | \
-	sed -e 'p;s,.*/,,;n' \
-	    -e 'h;s|.*|.|' \
-	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
-	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
-	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
-	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
-	      if (++n[d] == $(am__install_max)) { \
-		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
-	    else { print "f", d "/" $$4, $$1 } } \
-	  END { for (d in files) print "f", d, files[d] }' | \
-	while read type dir files; do \
-	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
-	     test -z "$$files" || { \
-	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkglibdir)$$dir'"; \
-	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkglibdir)$$dir" || exit $$?; \
-	     } \
-	; done
-
-uninstall-pkglibSCRIPTS:
-	@$(NORMAL_UNINSTALL)
-	@list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || exit 0; \
-	files=`for p in $$list; do echo "$$p"; done | \
-	       sed -e 's,.*/,,;$(transform)'`; \
-	test -n "$$list" || exit 0; \
-	echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \
-	cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files
-install-programfilesDATA: $(programfiles_DATA)
-	@$(NORMAL_INSTALL)
-	test -z "$(programfilesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdir)"
-	@list='$(programfiles_DATA)'; test -n "$(programfilesdir)" || list=; \
-	for p in $$list; do \
-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  echo "$$d$$p"; \
-	done | $(am__base_list) | \
-	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(programfilesdir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(programfilesdir)" || exit $$?; \
-	done
-
-uninstall-programfilesDATA:
-	@$(NORMAL_UNINSTALL)
-	@list='$(programfiles_DATA)'; test -n "$(programfilesdir)" || list=; \
-	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-	test -n "$$files" || exit 0; \
-	echo " ( cd '$(DESTDIR)$(programfilesdir)' && rm -f" $$files ")"; \
-	cd "$(DESTDIR)$(programfilesdir)" && rm -f $$files
-install-programfilesdizzyDATA: $(programfilesdizzy_DATA)
-	@$(NORMAL_INSTALL)
-	test -z "$(programfilesdizzydir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdizzydir)"
-	@list='$(programfilesdizzy_DATA)'; test -n "$(programfilesdizzydir)" || list=; \
-	for p in $$list; do \
-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-	  echo "$$d$$p"; \
-	done | $(am__base_list) | \
-	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(programfilesdizzydir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(programfilesdizzydir)" || exit $$?; \
-	done
-
-uninstall-programfilesdizzyDATA:
-	@$(NORMAL_UNINSTALL)
-	@list='$(programfilesdizzy_DATA)'; test -n "$(programfilesdizzydir)" || list=; \
-	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-	test -n "$$files" || exit 0; \
-	echo " ( cd '$(DESTDIR)$(programfilesdizzydir)' && rm -f" $$files ")"; \
-	cd "$(DESTDIR)$(programfilesdizzydir)" && rm -f $$files
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-#     (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	target=`echo $@ | sed s/-recursive//`; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    dot_seen=yes; \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done; \
-	if test "$$dot_seen" = "no"; then \
-	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
-	fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
-	@fail= failcom='exit 1'; \
-	for f in x $$MAKEFLAGS; do \
-	  case $$f in \
-	    *=* | --[!k]*);; \
-	    *k*) failcom='fail=yes';; \
-	  esac; \
-	done; \
-	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
-	done; \
-	rev="$$rev ."; \
-	target=`echo $@ | sed s/-recursive//`; \
-	for subdir in $$rev; do \
-	  echo "Making $$target in $$subdir"; \
-	  if test "$$subdir" = "."; then \
-	    local_target="$$target-am"; \
-	  else \
-	    local_target="$$target"; \
-	  fi; \
-	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
-	  || eval $$failcom; \
-	done && test -z "$$fail"
-tags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
-	done
-ctags-recursive:
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
-	done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	set x; \
-	here=`pwd`; \
-	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
-	  include_option=--etags-include; \
-	  empty_fix=.; \
-	else \
-	  include_option=--include; \
-	  empty_fix=; \
-	fi; \
-	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test ! -f $$subdir/TAGS || \
-	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
-	  fi; \
-	done; \
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	shift; \
-	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
-	  test -n "$$unique" || unique=$$empty_fix; \
-	  if test $$# -gt 0; then \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      "$$@" $$unique; \
-	  else \
-	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	      $$unique; \
-	  fi; \
-	fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	test -z "$(CTAGS_ARGS)$$unique" \
-	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$unique
-
-GTAGS:
-	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && $(am__cd) $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) "$$here"
-
-distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-	$(am__remove_distdir)
-	test -d "$(distdir)" || mkdir "$(distdir)"
-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	list='$(DISTFILES)'; \
-	  dist_files=`for file in $$list; do echo $$file; done | \
-	  sed -e "s|^$$srcdirstrip/||;t" \
-	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-	case $$dist_files in \
-	  */*) $(MKDIR_P) `echo "$$dist_files" | \
-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-			   sort -u` ;; \
-	esac; \
-	for file in $$dist_files; do \
-	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-	  if test -d $$d/$$file; then \
-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-	    if test -d "$(distdir)/$$file"; then \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
-	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
-	    fi; \
-	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
-	  else \
-	    test -f "$(distdir)/$$file" \
-	    || cp -p $$d/$$file "$(distdir)/$$file" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    test -d "$(distdir)/$$subdir" \
-	    || $(MKDIR_P) "$(distdir)/$$subdir" \
-	    || exit 1; \
-	  fi; \
-	done
-	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
-	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
-	    $(am__relativize); \
-	    new_distdir=$$reldir; \
-	    dir1=$$subdir; dir2="$(top_distdir)"; \
-	    $(am__relativize); \
-	    new_top_distdir=$$reldir; \
-	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
-	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
-	    ($(am__cd) $$subdir && \
-	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$$new_top_distdir" \
-	        distdir="$$new_distdir" \
-		am__remove_distdir=: \
-		am__skip_length_check=: \
-		am__skip_mode_fix=: \
-	        distdir) \
-	      || exit 1; \
-	  fi; \
-	done
-	-test -n "$(am__skip_mode_fix)" \
-	|| find "$(distdir)" -type d ! -perm -755 \
-		-exec chmod u+rwx,go+rx {} \; -o \
-	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
-	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
-	|| chmod -R a+r "$(distdir)"
-dist-gzip: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-dist-bzip2: distdir
-	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
-	$(am__remove_distdir)
-
-dist-lzma: distdir
-	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
-	$(am__remove_distdir)
-
-dist-xz: distdir
-	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
-	$(am__remove_distdir)
-
-dist-tarZ: distdir
-	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
-	$(am__remove_distdir)
-
-dist-shar: distdir
-	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
-	$(am__remove_distdir)
-
-dist-zip: distdir
-	-rm -f $(distdir).zip
-	zip -rq $(distdir).zip $(distdir)
-	$(am__remove_distdir)
-
-dist dist-all: distdir
-	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
-	$(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration.  Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
-	case '$(DIST_ARCHIVES)' in \
-	*.tar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
-	*.tar.bz2*) \
-	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
-	*.tar.lzma*) \
-	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
-	*.tar.xz*) \
-	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
-	*.tar.Z*) \
-	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
-	*.shar.gz*) \
-	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
-	*.zip*) \
-	  unzip $(distdir).zip ;;\
-	esac
-	chmod -R a-w $(distdir); chmod a+w $(distdir)
-	mkdir $(distdir)/_build
-	mkdir $(distdir)/_inst
-	chmod a-w $(distdir)
-	test -d $(distdir)/_build || exit 0; \
-	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
-	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
-	  && am__cwd=`pwd` \
-	  && $(am__cd) $(distdir)/_build \
-	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
-	    $(DISTCHECK_CONFIGURE_FLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) \
-	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
-	  && $(MAKE) $(AM_MAKEFLAGS) check \
-	  && $(MAKE) $(AM_MAKEFLAGS) install \
-	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
-	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
-	        distuninstallcheck \
-	  && chmod -R a-w "$$dc_install_base" \
-	  && ({ \
-	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
-	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
-	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
-	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
-	  && rm -rf "$$dc_destdir" \
-	  && $(MAKE) $(AM_MAKEFLAGS) dist \
-	  && rm -rf $(DIST_ARCHIVES) \
-	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
-	  && cd "$$am__cwd" \
-	  || exit 1
-	$(am__remove_distdir)
-	@(echo "$(distdir) archives ready for distribution: "; \
-	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
-	@$(am__cd) '$(distuninstallcheck_dir)' \
-	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
-	   || { echo "ERROR: files left after uninstall:" ; \
-	        if test -n "$(DESTDIR)"; then \
-	          echo "  (check DESTDIR support)"; \
-	        fi ; \
-	        $(distuninstallcheck_listfiles) ; \
-	        exit 1; } >&2
-distcleancheck: distclean
-	@if test '$(srcdir)' = . ; then \
-	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
-	  exit 1 ; \
-	fi
-	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
-	  || { echo "ERROR: files left in build directory after distclean:" ; \
-	       $(distcleancheck_listfiles) ; \
-	       exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile $(SCRIPTS) $(DATA)
-installdirs: installdirs-recursive
-installdirs-am:
-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(programfilesdir)" "$(DESTDIR)$(programfilesdizzydir)"; do \
-	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
-	done
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	  `test -z '$(STRIP)' || \
-	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-html-am:
-
-info: info-recursive
-
-info-am:
-
-install-data-am: install-programfilesDATA \
-	install-programfilesdizzyDATA
-
-install-dvi: install-dvi-recursive
-
-install-dvi-am:
-
-install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS
-
-install-html: install-html-recursive
-
-install-html-am:
-
-install-info: install-info-recursive
-
-install-info-am:
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-pdf-am:
-
-install-ps: install-ps-recursive
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
-	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-	-rm -rf $(top_srcdir)/autom4te.cache
-	-rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-binSCRIPTS uninstall-pkglibSCRIPTS \
-	uninstall-programfilesDATA uninstall-programfilesdizzyDATA
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
-	install-am install-strip tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
-	all all-am am--refresh check check-am clean clean-generic \
-	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
-	dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
-	distclean distclean-generic distclean-tags distcleancheck \
-	distdir distuninstallcheck dvi dvi-am html html-am info \
-	info-am install install-am install-binSCRIPTS install-data \
-	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-html install-html-am install-info \
-	install-info-am install-man install-pdf install-pdf-am \
-	install-pkglibSCRIPTS install-programfilesDATA \
-	install-programfilesdizzyDATA install-ps install-ps-am \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
-	tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
-	uninstall-pkglibSCRIPTS uninstall-programfilesDATA \
-	uninstall-programfilesdizzyDATA
-
-
-all: $(ASSEMBLY) $(PROGRAMFILES_DIZZY) $(PROGRAMFILES) $(BINARIES)
-
-# macros
-
-# $(call emit-deploy-target,deploy-variable-name)
-define emit-deploy-target
-$($1): $($1_SOURCE)
-	mkdir -p '$$(shell dirname '$$@')'
-	cp '$$<' '$$@'
-endef
-
-# $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x)
-# assumes that for a wrapper foo.pc its source template is foo.pc.in
-# if $3 is non-empty then wrapper is marked exec
-define emit-deploy-wrapper
-$($1): $2
-	mkdir -p '$$(shell dirname '$$@')'
-	cp '$$<' '$$@'
-	$(if $3,chmod +x '$$@')
-
-endef
-
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res))))))
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res)))))
-
-$(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME):
-	mkdir -p '$(@D)'
-	$(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*)
-
-$(install_satellite_assembly_list):
-	mkdir -p '$(@D)'
-	cp $(subst $(DESTDIR)$(libdir)/$(PACKAGE), $(BUILD_DIR), $@) $@
-
-install-satellite-assemblies: $(install_satellite_assembly_list)
-
-uninstall-satellite-assemblies:
-	rm -rf $(install_satellite_assembly_list)
-
-$(eval $(call emit-deploy-target,SQLITE3_DLL))
-$(eval $(call emit-deploy-target,TAMIR_SHARPSSH_DLL))
-$(eval $(call emit-deploy-target,DIFFIEHELLMAN_DLL))
-$(eval $(call emit-deploy-target,ORG_MENTALIS_SECURITY_DLL))
-$(eval $(call emit-deploy-target,SYSTEM_DATA_SQLITE_DLL))
-$(eval $(call emit-deploy-wrapper,DIZZY,dizzy,x))
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
-	xamlg '$<'
-
-$(ASSEMBLY_MDB): $(ASSEMBLY)
-
-$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
-	mkdir -p $(shell dirname $(ASSEMBLY))
-	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
-
-# Includere makefile specifico del progetto
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/Makefile.include b/Makefile.include
index 9442d19..b7f6166 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -84,11 +84,13 @@ endef
 # assumes that for a wrapper foo.pc its source template is foo.pc.in
 # if $3 is non-empty then wrapper is marked exec
 define emit-deploy-wrapper
-$($1): $2
+$($1): $2 $(top_srcdir)/config.make
 	mkdir -p '$$(shell dirname '$$@')'
 	cp '$$<' '$$@'
 	$(if $3,chmod +x '$$@')

+$2: $2.in $(top_srcdir)/config.make
+	sed -e "s,@prefix@,$(prefix)," -e "s,@PACKAGE@,$(PACKAGE)," -e "s,@expanded_libdir@,$(libdir)," -e "s,@expanded_bindir@,$(bindir)," -e "s,@expanded_datadir@,$(datadir)," < $2.in > $2
 endef

 # generating satellite assemblies
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 3df1d85..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,83 +0,0 @@
-#! /bin/sh
-
-PROJECT=Dizzy
-FILE=
-CONFIGURE=configure.ac
-
-: ${AUTOCONF=autoconf}
-: ${AUTOHEADER=autoheader}
-: ${AUTOMAKE=automake}
-: ${LIBTOOLIZE=libtoolize}
-: ${ACLOCAL=aclocal}
-: ${LIBTOOL=libtool}
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-ORIGDIR=`pwd`
-cd $srcdir
-TEST_TYPE=-f
-aclocalinclude="-I . $ACLOCAL_FLAGS"
-
-DIE=0
-
-($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || {
-        echo
-        echo "You must have autoconf installed to compile $PROJECT."
-        echo "Download the appropriate package for your distribution,"
-        echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
-        DIE=1
-}
-
-($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
-        echo
-        echo "You must have automake installed to compile $PROJECT."
-        echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
-        echo "(or a newer version if it is available)"
-        DIE=1
-}
-
-(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
-  ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
-    echo
-    echo "**Error**: You must have \`libtool' installed to compile $PROJECT."
-    echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
-    echo "(or a newer version if it is available)"
-    DIE=1
-  }
-}
-
-if test "$DIE" -eq 1; then
-        exit 1
-fi
-
-#test $TEST_TYPE $FILE || {
-#        echo "You must run this script in the top-level $PROJECT directory"
-#        exit 1
-#}
-
-if test -z "$*"; then
-        echo "I am going to run ./configure with no arguments - if you wish "
-        echo "to pass any to it, please specify them on the $0 command line."
-fi
-
-case $CC in
-*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
-esac
-
-(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
-    echo "Running $LIBTOOLIZE ..."
-    $LIBTOOLIZE --force --copy
-}
-
-echo "Running $ACLOCAL $aclocalinclude ..."
-$ACLOCAL $aclocalinclude
-
-echo "Running $AUTOMAKE --gnu $am_opt ..."
-$AUTOMAKE --add-missing --gnu $am_opt
-
-echo "Running $AUTOCONF ..."
-$AUTOCONF
-
-echo Running $srcdir/configure $conf_flags "$@" ...
-$srcdir/configure --enable-maintainer-mode $conf_flags "$@" \
diff --git a/config.log b/config.log
new file mode 100644
index 0000000..ba0328c
--- /dev/null
+++ b/config.log
@@ -0,0 +1,4 @@
+Looking for required packages
+Checking for package 'glade-sharp-2.0'.. found.
+Checking for package 'glib-sharp-2.0'.. found.
+Checking for package 'gtk-sharp-2.0'.. found.
diff --git a/config.make b/config.make
new file mode 100644
index 0000000..6988b80
--- /dev/null
+++ b/config.make
@@ -0,0 +1,9 @@
+prefix=/usr/local
+libdir=/usr/local/lib
+bindir=/usr/local/bin
+datadir=/usr/local/share
+RUNTIME=mono
+ASSEMBLY_VERSION=0.1.0.0
+VERSION=0.1
+PACKAGE=dizzy
+CONFIG=RELEASE_X86
diff --git a/configure b/configure
new file mode 100755
index 0000000..6f2bcdc
--- /dev/null
+++ b/configure
@@ -0,0 +1,159 @@
+#!/bin/bash
+VERSION=0.1
+PACKAGE=dizzy
+prefix=/usr/local
+config=RELEASE_X86
+configurations=" DEBUG_X86 RELEASE_X86"
+common_packages=" glade-sharp-2.0;2.12.9 glib-sharp-2.0;2.12.9 gtk-sharp-2.0;2.12.9"
+
+
+usage ()
+{
+	echo "Usage : configure [OPTION]... [--config=CONFIG]"
+	echo
+	echo "Options:"
+	echo "  --prefix=PREFIX         install architecture-independent files in PREFIX"
+	echo "                          [/usr/local]"
+	echo "  --bindir=DIR            user executables [PREFIX/bin]"
+	echo "  --datadir=DIR           read-only architecture-independent data [PREFIX/share]"
+	echo "  --libdir=DIR            object code libraries [PREFIX/lib]"
+	echo
+	echo "Configurations available :"
+	for c in $configurations; do
+		if [ "$c" = "$config" ]; then
+			echo "        $c (Default)"
+		else
+			echo "        $c"
+		fi
+	done
+}
+
+validate_config ()
+{
+	test -z "$1" && return 0
+	for c in $configurations; do
+		if [ "$c" = "$1" ]; then
+			return 1
+		fi
+	done
+	return 0
+}
+
+check_package ()
+{
+	name=`echo $1 | cut -d\; -f1`
+	version=`echo $1 | cut -d\; -f2`
+
+	echo -n "Checking for package '$name'.." | tee -a config.log
+	pkg-config --atleast-version=$version $name
+	if [ $? -ne 0 ]; then
+		echo " ERROR: Package named '$name' >= $version not found." | tee -a config.log
+		echo "Try adjusting your PKG_CONFIG_PATH environment variable." | tee -a config.log
+		return 1
+	fi
+	echo " found." | tee -a config.log
+}
+
+check_required_packages ()
+{
+	echo "Looking for required packages" | tee config.log
+	var=required_packages_$config
+	for pkg in $common_packages ${!var}; do
+		check_package $pkg
+		retval=$?
+		[ $retval -ne 0 ] && return $retval
+	done
+	return 0
+}
+
+while test x$1 != x; do
+		case $1 in
+		--prefix=*)
+				prefix=`echo $1 | sed 's/--prefix=//'`
+				;;
+		--prefix)
+				shift
+				prefix=$1
+				;;
+		--libdir=*)
+				libdir=`echo $1 | sed 's/--libdir=//'`
+				;;
+		--libdir)
+				shift
+				libdir=$1
+				;;
+		--bindir=*)
+				bindir=`echo $1 | sed 's/--bindir=//'`
+				;;
+		--bindir)
+				shift
+				bindir=$1
+				;;
+		--datadir=*)
+				datadir=`echo $1 | sed 's/--datadir=//'`
+				;;
+		--datadir)
+				shift
+				datadir=$1
+				;;
+		--config=*)
+				conf=`echo $1 | sed 's/--config=//'`
+				validate_config "$conf"
+				if [ $? -eq 1 ]; then
+					config=$conf
+				else
+					echo "Invalid config name - $conf"
+					usage
+					exit 1
+				fi
+                ;;
+		--help)
+			usage
+			exit
+			;;
+		*)
+			echo Unknown argument $1 >&2
+			usage
+			exit 1
+			;;
+		esac
+		shift
+done
+
+check_required_packages
+[ $? -eq 1 ] && exit 1
+
+if [ -z "$libdir" ]; then
+	libdir=$prefix/lib
+fi
+if [ -z "$bindir" ]; then
+	bindir=$prefix/bin
+fi
+if [ -z "$datadir" ]; then
+	datadir=$prefix/share
+fi
+
+echo "prefix=$prefix" > config.make
+echo "libdir=$libdir" >> config.make
+echo "bindir=$bindir" >> config.make
+echo "datadir=$datadir" >> config.make
+echo "RUNTIME=mono" >> config.make
+echo "ASSEMBLY_VERSION=$VERSION.0.0" >> config.make
+echo "VERSION=$VERSION" >> config.make
+echo "PACKAGE=$PACKAGE" >> config.make
+echo "CONFIG=$config" >> config.make
+
+echo
+echo "$PACKAGE has been configured with "
+echo "        prefix = $prefix"
+if [ "$libdir" != "$prefix/lib" ]; then
+	echo "        libdir = $libdir"
+fi
+if [ "$bindir" != "$prefix/bin" ]; then
+	echo "        bindir = $bindir"
+fi
+if [ "$datadir" != "$prefix/share" ]; then
+	echo "        datadir = $datadir"
+fi
+echo "        config = $config"
+echo
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 5f12372..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,62 +0,0 @@
-dnl Warning: This is an automatically generated file, do not edit!
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.54])
-AC_INIT([Dizzy], [0.1])
-AM_INIT_AUTOMAKE([foreign])
-AM_MAINTAINER_MODE
-
-dnl pkg-config
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then
-        AC_MSG_ERROR([You need to install pkg-config])
-fi
-
-SHAMROCK_EXPAND_LIBDIR
-SHAMROCK_EXPAND_BINDIR
-SHAMROCK_EXPAND_DATADIR
-
-AC_PROG_INSTALL
-
-AC_PATH_PROG(GMCS, gmcs, no)
-if test "x$GMCS" = "xno"; then
-        AC_MSG_ERROR([gmcs Not found])
-fi
-
-
-AC_ARG_ENABLE(debug_x86,
-	AC_HELP_STRING([--enable-debug_x86],
-		[Use 'DEBUG_X86' Configuration [default=NO]]),
-		enable_debug_x86=yes, enable_debug_x86=no)
-AM_CONDITIONAL(ENABLE_DEBUG_X86, test x$enable_debug_x86 = xyes)
-if test "x$enable_debug_x86" = "xyes" ; then
-	CONFIG_REQUESTED="yes"
-fi
-AC_ARG_ENABLE(release_x86,
-	AC_HELP_STRING([--enable-release_x86],
-		[Use 'RELEASE_X86' Configuration [default=YES]]),
-		enable_release_x86=yes, enable_release_x86=no)
-AM_CONDITIONAL(ENABLE_RELEASE_X86, test x$enable_release_x86 = xyes)
-if test "x$enable_release_x86" = "xyes" ; then
-	CONFIG_REQUESTED="yes"
-fi
-if test -z "$CONFIG_REQUESTED" ; then
-	AM_CONDITIONAL(ENABLE_RELEASE_X86, true)
-	enable_release_x86=yes
-fi
-
-
-dnl package checks, common for all configs
-PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
-PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
-PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0])
-
-dnl package checks, per config
-
-
-AC_CONFIG_FILES([
-dizzy
-Makefile
-
-])
-
-AC_OUTPUT
diff --git a/dizzy b/dizzy
new file mode 100644
index 0000000..84ae502
--- /dev/null
+++ b/dizzy
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec mono "/usr/local/lib/dizzy/Dizzy.exe" "$@"
diff --git a/expansions.m4 b/expansions.m4
deleted file mode 100644
index ba62356..0000000
--- a/expansions.m4
+++ /dev/null
@@ -1,50 +0,0 @@
-AC_DEFUN([SHAMROCK_EXPAND_LIBDIR],
-[
-	expanded_libdir=`(
-		case $prefix in
-			NONE) prefix=$ac_default_prefix ;;
-			*) ;;
-		esac
-		case $exec_prefix in
-			NONE) exec_prefix=$prefix ;;
-			*) ;;
-		esac
-		eval echo $libdir
-	)`
-	AC_SUBST(expanded_libdir)
-])
-
-AC_DEFUN([SHAMROCK_EXPAND_BINDIR],
-[
-	expanded_bindir=`(
-		case $prefix in
-			NONE) prefix=$ac_default_prefix ;;
-			*) ;;
-		esac
-		case $exec_prefix in
-			NONE) exec_prefix=$prefix ;;
-			*) ;;
-		esac
-		eval echo $bindir
-	)`
-	AC_SUBST(expanded_bindir)
-])
-
-AC_DEFUN([SHAMROCK_EXPAND_DATADIR],
-[
-	case $prefix in
-		NONE) prefix=$ac_default_prefix ;;
-		*) ;;
-	esac
-
-	case $exec_prefix in
-		NONE) exec_prefix=$prefix ;;
-		*) ;;
-	esac
-
-	expanded_datadir=`(eval echo $datadir)`
-	expanded_datadir=`(eval echo $expanded_datadir)`
-
-	AC_SUBST(expanded_datadir)
-])
-
diff --git a/install-sh b/install-sh
new file mode 120000
index 0000000..205f21c
--- /dev/null
+++ b/install-sh
@@ -0,0 +1 @@
+/usr/share/automake-1.11/install-sh
\ No newline at end of file
diff --git a/rules.make b/rules.make
new file mode 100644
index 0000000..a4f37a1
--- /dev/null
+++ b/rules.make
@@ -0,0 +1,42 @@
+clean-local:
+	make pre-clean-local-hook
+	make $(CONFIG)_BeforeClean
+	-rm -f $(call quote_each,$(CLEANFILES))
+	make $(CONFIG)_AfterClean
+	make post-clean-local-hook
+
+install-local:
+uninstall-local:
+
+q2quote = '$(subst ?, ,$1)'
+quote_each = $(foreach f,$(call s2q,$1),$(call q2quote,$f))
+
+dist-local:
+	make pre-dist-local-hook "distdir=$$distdir"
+	for f in Makefile $(call quote_each,$(EXTRA_DIST)); do \
+		d=`dirname "$$f"`; \
+		test -d "$(distdir)/$$d" || \
+			mkdir -p "$(distdir)/$$d"; \
+		cp -p "$$f" "$(distdir)/$$d" || exit 1; \
+	done
+	make post-dist-local-hook "distdir=$$distdir"
+
+dist-local-recursive:
+	for dir in $(call quote_each,$(SUBDIRS)); do \
+		mkdir -p "$(distdir)/$$dir" || true; \
+		case "$$dir" in \
+		.) make dist-local "distdir=$(distdir)" || exit 1;; \
+		*) (cd "$$dir"; make dist-local "distdir=$(distdir)/$$dir") || exit 1; \
+		esac \
+	done
+
+#hooks: Available hooks - all, clean, install, uninstall and dist
+#	and their *-local variants
+pre-%-hook: ; @:
+post-%-hook: ; @:
+
+#targets for custom commands
+%_BeforeBuild: ; @:
+%_AfterBuild: ; @:
+%_BeforeClean: ; @:
+%_AfterClean: ; @:
ViewGit