Index: /BAORadio/libindi/libindi/Indi_Stellarium/src/BAOcontrol.log
===================================================================
--- /BAORadio/libindi/libindi/Indi_Stellarium/src/BAOcontrol.log	(revision 678)
+++ /BAORadio/libindi/libindi/Indi_Stellarium/src/BAOcontrol.log	(revision 678)
@@ -0,0 +1,20 @@
+
+
+
+
+
+      ******************************************
+      *           Serveur Stellarium           *
+      * Laboratoire de l'AccÃ©lÃ©rateur LinÃ©aire *
+      *                                        *
+      *             v0.1  20/08/2011           *
+      *        franckrichard033@gmail.com      *
+      ******************************************
+
+
+Lecture du fichier de configuration 'params' :
+
+La latitude est incorrecte !
+Le fichier de configuration 'params' contient des erreurs ou n'existe pas.
+             Merci de vÃ©rifier.
+
Index: /BAORadio/libindi/libindi/Indi_Stellarium/src/Socket2.cpp
===================================================================
--- /BAORadio/libindi/libindi/Indi_Stellarium/src/Socket2.cpp	(revision 678)
+++ /BAORadio/libindi/libindi/Indi_Stellarium/src/Socket2.cpp	(revision 678)
@@ -0,0 +1,58 @@
+/*
+The stellarium telescope library helps building
+telescope server programs, that can communicate with stellarium
+by means of the stellarium TCP telescope protocol.
+It also contains smaple server classes (dummy, Meade LX200).
+
+Author and Copyright of this file and of the stellarium telescope library:
+Johannes Gajdosik, 2006
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+#include "Socket2.hpp"
+
+#ifdef WIN32
+  #include <windows.h> // GetSystemTimeAsFileTime
+#else
+  #include <sys/time.h>
+#endif
+
+long long int GetNow(void)
+{
+#ifdef WIN32
+	union
+	{
+		FILETIME file_time;
+		__int64 t;
+	} tmp;
+	GetSystemTimeAsFileTime(&tmp.file_time);
+	return (tmp.t/10) - 86400000000LL*(369*365+89);
+#else
+	struct timeval tv;
+	gettimeofday(&tv, 0);
+	return tv.tv_sec * 1000000LL + tv.tv_usec;
+#endif
+}
+
+void Socket2::hangup(void)
+{
+	if (!IS_INVALID_SOCKET(fd))
+	{
+		close(fd);
+		fd = INVALID_SOCKET;
+	}
+}
+
Index: ORadio/libindi/libindi/Indi_Stellarium/src/astro.cpp
===================================================================
--- /BAORadio/libindi/libindi/Indi_Stellarium/src/astro.cpp	(revision 677)
+++ 	(revision )
@@ -1,979 +1,0 @@
-////////////////////////////////
-// Classe Astro               //
-// Franck RICHARD             //
-// franckrichard033@gmail.com //
-// BAORadio                   //
-// juin 2011                  //
-////////////////////////////////
-
-
-#include "astro.h"
-
-
-/**************************************************************************************
-** Constructeur de la classe Astro
-***************************************************************************************/
-
-Astro::Astro()
-{
-    //Initialisation des variables
-    
-    Longitude = 0.0;                     // CordonnÃ©es du lieu d'observation
-    Latitude  = 0.0;
-    
-    Annee     = 0.0;                     // Date et heure de l'observation
-    Mois      = 0.0;
-    Jour      = 0.0;
-    Heure     = 0.0;
-    Min       = 0.0;
-    Sec       = 0.0;
-    UTCP      = 0.0;			 // permet de gÃ©rer le fuseau horaire
-                                         // mais semble inutile sous Linux
-    
-    hs        = 0.0;                     // fraction du jour en cours hs=(heure+min/60+secs/3600)/24.
-    ep        = 0.0;                     // obliquitÃ© de l'Ã©cliptique
-    tsl       = 0.0;                     // temps sidÃ©ral local
-    JJ        = 0.0;                     // Jour Julien
-    
-    CorP      = 0.0;                     // Nutation en longitude 
-    CorEP     = 0.0; 			 // Nutation en inclinaison
-     
-    LongitudeSoleil = 0.0;
-}
-
-Astro::~Astro()
-{
-}
-
-
-/**************************************************************************************
-** Initialisation des variables globales de la classe Astro
-***************************************************************************************/
-
-void Astro::DefinirDateHeure(double A, double M, double J, double H, double Mi, double S)
-{
-    Annee = A;
-    Mois = M;
-    Jour = J;
-    Heure = H;
-    Min = Mi;
-    Sec = S;
-}
-
-void Astro::DefinirPressionTemp(double P, double T)
-{
-    Pression = P;
-    Temp = T;
-}
-
-void Astro::DefinirLongitudeLatitude(double log, double lat)
-{
-    Longitude = log;
-    Latitude = lat;
-}
-
-
-
-/**************************************************************************************
-** ParamÃštre : angle en radians
-** retourne angle dans un intervalle 0 <= Angle <= 2*PI
-***************************************************************************************/
-
-double Astro::VerifAngle(double Angle)
-{
-    Angle=fmod(Angle, Pi2);
-    if (Angle<0.0) Angle+=Pi2;
-
-    return(Angle);
-}
-
-
-
-/**************************************************************************************
-** retourne l'arrondi du nombre donnÃ© en paramÃštre
-** Exemples: Arrondi(5.7) =  6
-**           Arrondi(-5.7)= -6
-***************************************************************************************/
-
-double Astro::Arrondi(double a)
-{
-    double b;
-
-    if (a>=0.0)
-    {
-        b=a-floor(a);
-        if (b>=0.5) return ceil(a);
-        else return floor(a);
-    }
-    else
-    {
-        b=ceil(a)-a;
-        if (b>=0.5) return floor(a);
-        else return ceil(a);
-    }
-}
-
-
-
-/**************************************************************************************
-** converti un angle (exprimÃ© en degrÃ©s) dans le format hh:mm:ss ou deg:mm:ss
-** selon la valeur de HMS
-***************************************************************************************/
-
-string Astro::DHMS(double mema, bool HMS)
-{
-    double d, m, s, a;
-
-    a=mema;
-
-    if (HMS) a=a / 15.0;
-    a=fabs(a * 3600.0);
-    s=Arrondi(fmod(a, 60.0) * 10.0) / 10.0;
-    a=floor(a / 60.0);
-    m=fmod(a, 60.0);
-    d=floor(a / 60.0);
-
-    if (s == 60.0)
-    {
-        s=0.0;
-        m+=1.0;
-        if (m==60.0)
-        {
-            m=0.0;
-            d+=1.0;
-
-            if (HMS && d>23.0) d=0.0;
-        }
-    }
-
-    stringstream strsTemp;
-
-    if (mema < 0) strsTemp << '-';
-
-    strsTemp << setfill('0') << setw(2) << d << ":" << m << ":" << s;
-
-    return (strsTemp.str());
-}
-
-
-/**************************************************************************************
-** Calcul de la longitude du Soleil
-** La quantitÃ© PS n'est pas indispensable. Elle permet d'amÃ©liorer la prÃ©cision
-***************************************************************************************/
-
-double Astro::CalculLongitudeSoleil()
-{
-    double T = (JJ - 2415020.0) / 36525.0;
-
-    double A = 153.23 + 22518.7541 * T;
-    double B = 216.57 + 44037.5082 * T;
-    double C = 312.69 + 32964.3577 * T;
-    double D = 350.74 + ( 445267.1142 - 0.00144 * T ) * T;
-    double E = 231.19 + 20.2 * T;
-
-
-    double L = 279.69668 + ( 36000.76892 + 0.0003025 * T ) * T;
-    double M = 358.47583 + (((( -0.0000033 * T) -0.00015 )  * T ) + 35999.04975 ) * T;
-
-    double CC =   (1.919460 + ((-0.000014 * T) - 0.004789 ) * T ) * sin(M * Pidiv180)
-                  + (0.020094 - 0.0001 * T) * sin(2.0 * M * Pidiv180)
-                  + 0.000293 * sin(3.0 * M * Pidiv180);
-
-    double PS =  0.00134 * cos(A * Pidiv180)
-                +0.00154 * cos(B * Pidiv180)
-                +0.00200 * cos(C * Pidiv180)
-                +0.00179 * sin(D * Pidiv180)
-                +0.00178 * sin(E * Pidiv180);
-
-
-    double LS = VerifAngle( (L + CC + PS) * Pidiv180);
-    
-    return LS;
-}
-
-
-
-/**************************************************************************************
-** Calcul de l'AD et la dÃ©clinaison du Soleil
-** indispensable pour exÃ©cuter la commande "goto sun"
-***************************************************************************************/
-
-void Astro::CalculARDecSoleil(Coordonnees *Soleil)
-{
-    double ar;
-    double de;
-    
-    ar = atan( cos(ep) * sin(LongitudeSoleil) / cos(LongitudeSoleil));
-    
-    if ( cos(LongitudeSoleil) < 0.0) ar += Pi;
-    
-    de = asin( sin(ep) * sin(LongitudeSoleil));
-
-    Soleil->ar = DHMS( VerifAngle(ar) * N180divPi, true );
-    
-    Soleil->dec = DHMS( de * N180divPi, false );
-}
-    
-
-
-
-/**************************************************************************************
-** Calcul de la nutation en longitude et en inclinaison
-** NÃ©cessaire pour calculer la position apparente d'un objet (Ã©toile, galaxie etc...)
-***************************************************************************************/
-
-void Astro::Nutation()
-{
-    double T = (JJ-2415020.0) / 36525.0;
-
-    double L  = (279.6967 + (36000.7689 + 0.000303 * T ) * T ) * Pidiv180;
-    double LP = (270.4342 + (481267.8831 - 0.001133 * T ) * T ) * Pidiv180;
-    double M  = (358.4758 + (35999.0498 - 0.000150 * T ) * T ) * Pidiv180;
-    double MP = (296.1046 + (477198.8491 + 0.009192 * T ) * T ) * Pidiv180;
-    double O  = (259.1833 + (-1934.1420 + 0.002078 * T ) * T ) * Pidiv180;
-
-    double L2  = 2.0 * L;
-    double LP2 = 2.0 * LP;
-    double O2  = 2.0 * O;
-    
-    // Nutation en longitude
-
-    CorP = -(17.2327 + 0.01737 * T) * sin(O)
-           -(1.2729+0.00013 * T) * sin(L2)
-           +0.2088 * sin(O2)
-           -0.2037 * sin(LP2)
-           +(0.1261 - 0.00031 * T) * sin(M)
-           +0.0675 * sin(MP)
-           -(0.0497 - 0.00012 * T) * sin(L2 + M)
-           -0.0342 * sin(LP2 - O)
-           -0.0261 * sin(LP2 + MP)
-           +0.0214 * sin(L2 - M)
-           -0.0149 * sin(L2 - LP2 + MP)
-           +0.0124 * sin(L2 - O)
-           +0.0114 * sin(LP2 - MP);
-	   
-    //Nutation en inclinaison
-
-    CorEP = (9.2100 + 0.00091 * T) * cos(O)
-            +(0.5522 - 0.00029 * T) * cos(L2)
-            -0.0904 * cos(O2)
-            +0.0884 * cos(LP2)
-            +0.0216 * cos(L2+M)
-            +0.0183 * cos(LP2-O)
-            +0.0113 * cos(LP2+MP)
-            -0.0093 * cos(L2-M)
-            -0.0066 * cos(L2-O);
-
-    CorP  = CorP / 3600.0 * Pidiv180;
-    CorEP = CorEP / 3600.0 * Pidiv180;
-}
-
-
-
-/**************************************************************************************
-** Nutation des Ã©toiles - on utilise les quantitÃ©s calculÃ©es prÃ©cÃ©demment
-** ar et de sont exprimÃ©s en radians
-***************************************************************************************/
-
-void Astro::NutationEtoile(double *ar, double *de)
-{
-    double a = (cos(ep) + sin(ep) * sin(*ar) * tan(*de)) * CorP - (cos(*ar) * tan(*de)) * CorEP;
-    double b = (sin(ep) * cos(*ar)) * CorP + sin(*ar) * CorEP;
-
-    *ar = VerifAngle(*ar+a);
-    *de += b;
-}
-
-
-/**************************************************************************************
-** PrÃ©cession des Ã©quinoxes
-** ar et de sont exprimÃ©s en radians
-***************************************************************************************/
-
-void Astro::Precession(double *ar, double *de)
-{
-    double t = (JJ - 2451544.5) / 36524.2199;
-
-    double ze = ((((0.018 * t) + 0.302) * t + 2304.948) * t) / 3600.0 * Pidiv180;
-    double z = ((((0.019 * t) + 1.093) * t + 2304.948) * t) / 3600.0 * Pidiv180;
-    double delta = ((((-0.042 * t) - 0.426) * t + 2004.255) * t) / 3600.0 * Pidiv180;
-
-
-    double A = cos(*de) * sin(*ar + ze);
-    double B = cos(delta) * cos(*de) * cos (*ar + ze) - sin(delta) * sin(*de);
-    double C = sin(delta) * cos(*de) * cos (*ar + ze) + cos(delta) * sin(*de);
-
-    double AMZ = atan(A / B);
-
-    if (B<0.0) AMZ += Pi;
-
-    *ar=VerifAngle(AMZ + z);
-    *de=asin(C);
-}
-
-
-
-/**************************************************************************************
-** ObliquitÃ©
-** calcul de l'inclinaison de l'axe terrestre par rapport Ã  au plan de l'Ã©cliptique
-** QuantitÃ© indispensable pour calculer le temps sidÃ©ral local et les coordonnÃ©es
-** horaires du soleil
-***************************************************************************************/
-
-void Astro::Obliquite(double JJ)
-{
-    double T;
-
-    T = (JJ - 2415020.0) / 36525.0;
-
-    ep = (23.452294+ (((0.000000503 * T ) - 0.00000164 ) * T - 0.0130125 ) * T ) * Pidiv180;
-}
-
-
-
-
-/**************************************************************************************
-** Aberration annuelle des Ã©toiles
-** ar et de sont exprimÃ©s en radians
-***************************************************************************************/
-
-void Astro::AberrationAnnuelle(double *ar, double *de)
-{
-    double c = -20.49 / 3600.0 * Pidiv180;
-    double a = c * ( cos(*ar) * cos(LongitudeSoleil) * cos(ep)
-                     + sin(*ar) * sin(LongitudeSoleil)
-                   ) / cos(*de);
-
-    double b = c * ( cos(LongitudeSoleil) * cos(ep) * (tan(ep) * cos(*de) - sin(*ar) * sin(*de))
-                     + cos(*ar) * sin(*de) * sin(LongitudeSoleil));
-
-    *ar = VerifAngle(*ar + a);
-    *de += b;
-}
-
-
-/**************************************************************************************
-** calcul Jour julien
-***************************************************************************************/
-
-void Astro::CalculJJ(double Heure)
-{
-    JJ = CalculJJ(Annee, Mois, Jour, Heure);    
-}
-
-double Astro::CalculJJ(double A, double M, double J, double Heure)
-{
-    long y, a, b, c, e, m;
-
-    long year = (long)A;
-    int month = (int)M;
-    double day = J + Heure;
-
-    y = year + 4800;
-
-    m = month;
-    if ( m <= 2 )
-    {
-        m += 12;
-        y -= 1;
-    }
-    e = (306 * (m+1))/10;
-
-    a = y/100;
-    if ( year <= 1582L )
-    {
-        if ( year == 1582L )
-        {
-            if ( month < 10 )
-                goto julius;
-            if ( month > 10)
-                goto gregor;
-            if ( day >= 15 )
-                goto gregor;
-        }
-julius:
-
-        b = -38;
-    }
-    else
-    {
-
-gregor:
-        b = (a / 4) - a;
-    }
-
-    c = (36525L * y) / 100;
-    
-    return b + c + e + day - 32167.5;
-}
-
-
-
-/**************************************************************************************
-** Temps sidÃ©ral local
-***************************************************************************************/
-
-double Astro::TSL(double JJ, double HeureSiderale, double Longitude)
-{
-    double T = (JJ - 2415020.0 ) / 36525.0;
-    double rd = 0.276919398 + ( 100.0021359 + 0.000001075 * T ) * T;
-    rd += HeureSiderale;
-    rd *= Pi2;
-    // temps sidÃ©ral apparent
-    rd += CorP * cos(ep);
-    rd -= Longitude;
-
-    return VerifAngle(rd);
-}
-
-
-/**************************************************************************************
-** routine principale des calculs
-***************************************************************************************/
-
-void Astro::CalculTSL()
-{
-    hs = (Heure + Min / 60.0 + Sec / 3600.0) / 24.0;
-
-    hs -= UTCP / 24.0;
-
-    CalculJJ(hs);
-
-    Obliquite(JJ);
-
-    Nutation();
-
-    tsl = TSL(JJ, hs, Longitude);
-
-    LongitudeSoleil = CalculLongitudeSoleil();
-}
-
-
-
-/**************************************************************************************
-** Calcule la hauteur et l'azimut des Ã©toiles en fct du lieu d'observation
-***************************************************************************************/
-
-void Astro::Azimut(double Ar, double De, double *azi, double *hau)
-{
-    double ah = tsl - Ar;
-
-    double zc = sin(Latitude) * sin(De) + cos(Latitude) * cos(De) * cos(ah);
-    double ht = atan(zc / sqrt((-zc * zc) + 1.0));
-
-    double a1 = cos(De) * sin(ah) / cos(ht);
-    double ac = (-cos(Latitude) * sin(De) + sin(Latitude) * cos(De) * cos(ah)) / cos(ht);
-    double az = atan(a1 / sqrt((-a1*a1)+1.0));
-
-    if (ac<0.0) az=Pi-az;
-
-    *azi=VerifAngle(Pi+az);
-    *hau=ht;
-}
-
-
-/**************************************************************************************
-** rÃ©fraction atmosphÃ©rique : formule simple de Jean Meeus
-** la hauteur ht est exprimÃ©e en radians
-***************************************************************************************/
-
-double Astro::RefractionAtmospherique(double ht)
-{
-    double gamma, R0, a, b, PressionTempCalc, tanHT;
-
-    if (Pression!=0.0)
-    {
-        PressionTempCalc = (Pression / 1013.25) * 273.0 / (273.0 + Temp);
-
-        if (ht <= 15.0 * Pidiv180)
-        {
-            gamma = 2.6;
-            a = 7.5262;
-            b = -2.2204;
-
-            if (ht >= 4.0 * Pidiv180)
-            {
-                gamma=-1.1;
-                a=4.4010;
-                b=-0.9603;
-            }
-
-            R0 = (pow((a+b*log(ht*N180divPi+gamma)), 2.0)) / 60.0 * Pidiv180;
-            ht += R0 * PressionTempCalc;
-        }
-        else
-        {
-            tanHT = fabs(tan(Pidiv2 - ht));
-            R0 = (0.0161877777777777777777-0.000022888888888888888 * tanHT * tanHT)
-                 * tanHT * Pidiv180;
-            ht += R0 * PressionTempCalc;
-        }
-    }
-
-    return ht;
-}
-
-
-
-
-double Astro::slaDrange(double angle )
-{
-    return fmod(angle, Pi);
-}
-
-float  Astro::slaRange(float angle )
-{
-    return fmodf(angle, Pi);
-}
-
-void Astro::slaRefro ( double zobs, double hm, double tdk, double pmb,
-                       double rh, double wl, double phi, double tlr,
-                       double eps, double *ref )
-/*
-**  - - - - - - - - -
-**   s l a R e f r o
-**  - - - - - - - - -
-**
-**  Atmospheric refraction for radio and optical wavelengths.
-**
-**  Given:
-**    zobs    double  observed zenith distance of the source (radian)
-**    hm      double  height of the observer above sea level (metre)
-**    tdk     double  ambient temperature at the observer (deg K)
-**    pmb     double  pressure at the observer (millibar)
-**    rh      double  relative humidity at the observer (range 0-1)
-**    wl      double  effective wavelength of the source (micrometre)
-**    phi     double  latitude of the observer (radian, astronomical)
-**    tlr     double  temperature lapse rate in the troposphere (degK/met
-**    eps     double  precision required to terminate iteration (radian)
-**
-**  Returned:
-**    ref     double  refraction: in vacuo ZD minus observed ZD (radian)
-**
-**  Notes:
-**
-**  1  A suggested value for the tlr argument is 0.0065D0.  The
-**     refraction is significantly affected by tlr, and if studies
-**     of the local atmosphere have been carried out a better tlr
-**     value may be available.
-**
-**  2  A suggested value for the eps argument is 1e-8.  The result is
-**     usually at least two orders of magnitude more computationally
-**     precise than the supplied eps value.
-**
-**  3  The routine computes the refraction for zenith distances up
-**     to and a little beyond 90 deg using the method of Hohenkerk
-**     and Sinclair (NAO Technical Notes 59 and 63, subsequently adopted
-**     in the Explanatory Supplement, 1992 edition - see section 3.281).
-**
-**  4  The C code is an adaptation of the Fortran optical refraction
-**     subroutine AREF of C.Hohenkerk (HMNAO, September 1984), with
-**     extensions to support the radio case.  The following modifications
-**     to the original HMNAO optical refraction algorithm have been made:
-**
-**     .  The angle arguments have been changed to radians.
-**
-**     .  Any value of zobs is allowed (see note 6, below).
-**
-**     .  Other argument values have been limited to safe values.
-**
-**     .  Murray's values for the gas constants have been used
-**        (Vectorial Astrometry, Adam Hilger, 1983).
-**
-**     .  The numerical integration phase has been rearranged for
-**        extra clarity.
-**
-**     .  A better model for Ps(T) has been adopted (taken from
-**        Gill, Atmosphere-Ocean Dynamics, Academic Press, 1982).
-**
-**     .  More accurate expressions for Pwo have been adopted
-**        (again from Gill 1982).
-**
-**     .  Provision for radio wavelengths has been added using
-**        expressions devised by A.T.Sinclair, RGO (private
-**        communication 1989), based on the Essen & Froome
-**        refractivity formula adopted in Resolution 1 of the
-**        13th International Geodesy Association General Assembly
-**        (Bulletin Geodesique 1963 p390).
-**
-**     .  Various small changes have been made to gain speed.
-**
-**     None of the changes significantly affects the optical results
-**     with respect to the algorithm given in the 1992 Explanatory
-**     Supplement.  For example, at 70 deg zenith distance the present
-**     routine agrees with the ES algorithm to better than 0.05 arcsec
-**     for any reasonable combination of parameters.  However, the
-**     improved water-vapour expressions do make a significant difference
-**     in the radio band, at 70 deg zenith distance reaching almost
-**     4 arcsec for a hot, humid, low-altitude site during a period of
-**     low pressure.
-**
-**  5  The radio refraction is chosen by specifying wl > 100 micrometres.
-**     Because the algorithm takes no account of the ionosphere, the
-**     accuracy deteriorates at low frequencies, below about 30 MHz.
-**
-**  6  Before use, the value of zobs is expressed in the range +/- pi.
-**     If this ranged zobs is -ve, the result ref is computed from its
-**     absolute value before being made -ve to match.  In addition, if
-**     it has an absolute value greater than 93 deg, a fixed ref value
-**     equal to the result for zobs = 93 deg is returned, appropriately
-**     signed.
-**
-**  7  As in the original Hohenkerk and Sinclair algorithm, fixed values
-**     of the water vapour polytrope exponent, the height of the
-**     tropopause, and the height at which refraction is negligible are
-**     used.
-**
-**  8  The radio refraction has been tested against work done by
-**     Iain Coulson, JACH, (private communication 1995) for the
-**     James Clerk Maxwell Telescope, Mauna Kea.  For typical conditions,
-**     agreement at the 0.1 arcsec level is achieved for moderate ZD,
-**     worsening to perhaps 0.5-1.0 arcsec at ZD 80 deg.  At hot and
-**     humid sea-level sites the accuracy will not be as good.
-**
-**  9  It should be noted that the relative humidity rh is formally
-**     defined in terms of "mixing ratio" rather than pressures or
-**     densities as is often stated.  It is the mass of water per unit
-**     mass of dry air divided by that for saturated air at the same
-**     temperature and pressure (see Gill 1982).
-**
-**  Called:  slaDrange, atmt, atms
-**
-**  Defined in slamac.h:  TRUE, FALSE
-**
-**  Last revision:   30 January 1997
-**
-**  Copyright P.T.Wallace.  All rights reserved.
-*/
-{
-    /* Fixed parameters */
-
-    static double d93 = 1.623156204; /* 93 degrees in radians        */
-    static double gcr = 8314.32;     /* Universal gas constant       */
-    static double dmd = 28.9644;     /* Molecular weight of dry air  */
-    static double dmw = 18.0152;     /* Molecular weight of water
-                                                             vapour */
-    static double s = 6378120.0;     /* Mean Earth radius (metre)    */
-    static double delta = 18.36;     /* Exponent of temperature
-                                         dependence of water vapour
-                                                           pressure */
-    static double ht = 11000.0;      /* Height of tropopause (metre) */
-    static double hs = 80000.0;      /* Upper limit for refractive
-                                                    effects (metre) */
-
-    /* Variables used when calling the internal routine atmt */
-    double robs;   /* height of observer from centre of Earth (metre) */
-    double tdkok;  /* temperature at the observer (deg K) */
-    double alpha;  /* alpha          |        */
-    double gamm2;  /* gamma minus 2  | see ES */
-    double delm2;  /* delta minus 2  |        */
-    double c1,c2,c3,c4,c5,c6;  /* various */
-
-    /* Variables used when calling the internal routine atms */
-    double rt;     /* height of tropopause from centre of Earth (metre) */
-    double tt;     /* temperature at the tropopause (deg k) */
-    double dnt;    /* refractive index at the tropopause */
-    double gamal;  /* constant of the atmospheric model = g*md/r */
-
-    int is, k, n, i, j, optic;
-    double zobs1, zobs2, hmok, pmbok, rhok, wlok, tol, wlsq, gb,
-    a, gamma, tdc, psat, pwo, w, tempo, dn0, rdndr0, sk0,
-    f0, rdndrt, zt, ft, dnts, rdndrp, zts, fts, rs,
-    dns, rdndrs, zs, fs, refold, z0, zrange, fb, ff, fo,
-    fe, h, r, sz, rg, dr, tg, dn, rdndr, t, f, refp, reft=0;
-
-    /* The refraction integrand */
-#define refi(R,DN,RDNDR) ((RDNDR)/(DN+RDNDR));
-
-
-
-    /* Transform zobs into the normal range */
-    zobs1 = slaDrange ( zobs );
-    zobs2 = fabs ( zobs1 );
-    zobs2 = gmin ( zobs2, d93 );
-
-    /* Keep other arguments within safe bounds */
-    hmok = gmax ( hm, -1000.0 );
-    hmok = gmin ( hmok, 10000.0 );
-    tdkok = gmax ( tdk, 100.0 );
-    tdkok = gmin ( tdkok, 500.0 );
-    pmbok = gmax ( pmb, 0.0 );
-    pmbok = gmin ( pmbok, 10000.0 );
-    rhok  = gmax ( rh, 0.0 );
-    rhok  = gmin ( rhok, 1.0 );
-    wlok  = gmax ( wl, 0.1 );
-    alpha = fabs ( tlr );
-    alpha = gmax ( alpha, 0.001 );
-    alpha = gmin ( alpha, 0.01 );
-
-    /* Tolerance for iteration */
-    w = fabs ( eps );
-    tol = gmin ( w, 0.1 ) / 2.0;
-
-    /* Decide whether optical or radio case - switch at 100 micron */
-    optic = ( wlok <= 100.0 );
-
-    /* Set up model atmosphere parameters defined at the observer */
-    wlsq = wlok * wlok;
-    gb = 9.784 * ( 1.0 - 0.0026 * cos ( 2.0 * phi ) - 2.8e-7 * hmok );
-    a = ( optic ) ?
-        ( ( 287.604 + 1.6288 / wlsq + 0.0136 / ( wlsq * wlsq ) )
-          * 273.15 / 1013.25 ) * 1e-6
-        :
-        77.624e-6;
-    gamal = gb * dmd / gcr;
-    gamma = gamal / alpha;
-    gamm2 = gamma - 2.0;
-    delm2 = delta - 2.0;
-    tdc = tdkok - 273.15;
-    psat = pow ( 10.0, ( 0.7859 + 0.03477 * tdc ) /
-                 ( 1.0 + 0.00412 * tdc ) ) *
-           ( 1.0 + pmbok * ( 4.5e-6 + 6e-10 * tdc * tdc ) );
-    pwo = ( pmbok > 0.0 ) ?
-          rhok * psat / ( 1.0 - ( 1.0 - rhok ) * psat / pmbok ) :
-          0.0;
-    w = pwo * ( 1.0 - dmw / dmd ) * gamma / ( delta - gamma );
-    c1 = a * ( pmbok + w ) / tdkok;
-    c2 = ( a * w + ( optic ? 11.2684e-6 : 12.92e-6 ) * pwo ) / tdkok;
-    c3 = ( gamma - 1.0 ) * alpha * c1 / tdkok;
-    c4 = ( delta - 1.0 ) * alpha * c2 / tdkok;
-    c5 = optic ? 0.0 : 371897e-6 * pwo / tdkok;
-    c6 = c5 * delm2 * alpha / ( tdkok * tdkok );
-
-    /* Conditions at the observer */
-    robs = s + hmok;
-    atmt ( robs, tdkok, alpha, gamm2, delm2, c1, c2, c3, c4, c5, c6, robs,
-           &tempo, &dn0, &rdndr0 );
-    sk0 = dn0 * robs * sin ( zobs2 );
-    f0 = refi ( robs, dn0, rdndr0 );
-
-    /* Conditions at the tropopause in the troposphere */
-    rt = s + ht;
-    atmt ( robs, tdkok, alpha, gamm2, delm2, c1, c2, c3, c4, c5, c6, rt,
-           &tt, &dnt, &rdndrt );
-    zt = asin ( sk0 / ( rt * dnt ) );
-    ft = refi ( rt, dnt, rdndrt );
-
-    /* Conditions at the tropopause in the stratosphere */
-    atms ( rt, tt, dnt, gamal, rt, &dnts, &rdndrp );
-    zts = asin ( sk0 / ( rt * dnts ) );
-    fts = refi ( rt, dnts, rdndrp );
-
-    /* At the stratosphere limit */
-    rs = s + hs;
-    atms ( rt, tt, dnt, gamal, rs, &dns, &rdndrs );
-    zs = asin ( sk0 / ( rs * dns ) );
-    fs = refi ( rs, dns, rdndrs );
-
-    /*
-    ** Integrate the refraction integral in two parts;  first in the
-    ** troposphere (k=1), then in the stratosphere (k=2).
-    */
-
-    /* Initialize previous refraction to ensure at least two iterations */
-    refold = 1e6;
-
-    /*
-    ** Start off with 8 strips for the troposphere integration, and then
-    ** use the final troposphere value for the stratosphere integration,
-    ** which tends to need more strips.
-    */
-    is = 8;
-
-    /* Troposphere then stratosphere */
-    for ( k = 1; k <= 2; k++ ) {
-
-        /* Start z, z range, and start and end values */
-        if ( k == 1 ) {
-            z0 = zobs2;
-            zrange = zt - z0;
-            fb = f0;
-            ff = ft;
-        } else {
-            z0 = zts;
-            zrange = zs - z0;
-            fb = fts;
-            ff = fs;
-        }
-
-        /* Sums of odd and even values */
-        fo = 0.0;
-        fe = 0.0;
-
-        /* First time through loop we have to do every point */
-        n = 1;
-
-        /* Start of iteration loop (terminates at specified precision) */
-        for ( ; ; ) {
-
-            /* Strip width */
-            h = zrange / (double) is;
-
-            /* Initialize distance from Earth centre for quadrature pass */
-            r = ( k == 1 ) ? robs : rt;
-
-            /* One pass (no need to compute evens after first time) */
-            for ( i = 1; i < is; i += n ) {
-
-                /* Sine of observed zenith distance */
-                sz = sin ( z0 + h * (double) i );
-
-                /* Find r (to nearest metre, maximum four iterations) */
-                if ( sz > 1e-20 ) {
-                    w = sk0 / sz;
-                    rg = r;
-                    j = 0;
-                    do {
-                        if ( k == 1 ) {
-                            atmt ( robs, tdkok, alpha, gamm2, delm2,
-                                   c1, c2, c3, c4, c5, c6, rg,
-                                   &tg, &dn, &rdndr );
-                        } else {
-                            atms ( rt, tt, dnt, gamal, rg, &dn, &rdndr );
-                        }
-                        dr = ( rg * dn - w ) / ( dn + rdndr );
-                        rg -= dr;
-                    } while ( fabs ( dr ) > 1.0 && j++ <= 4 );
-                    r = rg;
-                }
-
-                /* Find refractive index and integrand at r */
-                if ( k == 1 ) {
-                    atmt ( robs, tdkok, alpha, gamm2, delm2,
-                           c1, c2, c3, c4, c5, c6, r,
-                           &t, &dn, &rdndr );
-                } else {
-                    atms ( rt, tt, dnt, gamal, r, &dn, &rdndr );
-                }
-                f = refi ( r, dn, rdndr );
-
-                /* Accumulate odd and (first time only) even values */
-                if ( n == 1 && i % 2 == 0 ) {
-                    fe += f;
-                } else {
-                    fo += f;
-                }
-            }
-
-            /* Evaluate the integrand using Simpson's Rule */
-            refp = h * ( fb + 4.0 * fo + 2.0 * fe + ff ) / 3.0;
-
-            /* Has the required precision been reached? */
-            if ( fabs ( refp - refold ) > tol ) {
-
-                /* No: prepare for next iteration */
-                refold = refp;   /* Save current value for convergence test */
-                is += is;        /* Double the number of strips */
-                fe += fo;        /* Sum of all = sum of evens next time */
-                fo = 0.0;        /* Reset odds accumulator */
-                n = 2;           /* Skip even values next time */
-
-            } else {
-
-                /* Yes: save troposphere component and terminate loop */
-                if ( k == 1 ) reft = refp;
-                break;
-            }
-        }
-    }
-
-    /* Result */
-    *ref = reft + refp;
-    if ( zobs1 < 0.0 ) *ref = - ( *ref );
-
-    *ref+=Pidiv2-zobs1;
-}
-
-/*--------------------------------------------------------------------------*/
-
-void Astro::atmt ( double robs, double tdkok, double alpha, double gamm2,
-                   double delm2, double c1, double c2, double c3,
-                   double c4, double c5, double c6, double r,
-                   double *t, double *dn, double *rdndr )
-/*
-**  - - - - -
-**   a t m t
-**  - - - - -
-**
-**  Internal routine used by slaRefro:
-**
-**    refractive index and derivative with respect to height for the
-**    troposphere.
-**
-**  Given:
-**    robs    double   height of observer from centre of the Earth (metre)
-**    tdkok   double   temperature at the observer (deg K)
-**    alpha   double   alpha          )
-**    gamm2   double   gamma minus 2  ) see ES
-**    delm2   double   delta minus 2  )
-**    c1      double   useful term  )
-**    c2      double   useful term  )
-**    c3      double   useful term  ) see source of
-**    c4      double   useful term  ) slaRefro main routine
-**    c5      double   useful term  )
-**    c6      double   useful term  )
-**    r       double   current distance from the centre of the Earth (metre)
-**
-**  Returned:
-**    *t      double   temperature at r (deg K)
-**    *dn     double   refractive index at r
-**    *rdndr  double   r * rate the refractive index is changing at r
-**
-**  This routine is derived from the ATMOSTRO routine (C.Hohenkerk,
-**  HMNAO), with enhancements specified by A.T.Sinclair (RGO) to
-**  handle the radio case.
-**
-**  Note that in the optical case c5 and c6 are zero.
-*/
-{
-    double w, tt0, tt0gm2, tt0dm2;
-
-    w = tdkok - alpha * ( r - robs );
-    w = gmin ( w, 320.0 );
-    w = gmax ( w, 200.0 );
-    tt0 = w / tdkok;
-    tt0gm2 = pow ( tt0, gamm2 );
-    tt0dm2 = pow ( tt0, delm2 );
-    *t = w;
-    *dn = 1.0 + ( c1 * tt0gm2 - ( c2 - c5 / w ) * tt0dm2 ) * tt0;
-    *rdndr = r * ( - c3 * tt0gm2 + ( c4 - c6 / tt0 ) * tt0dm2 );
-}
-
-/*--------------------------------------------------------------------------*/
-
-void Astro::atms ( double rt, double tt, double dnt, double gamal, double r,
-                   double *dn, double *rdndr )
-/*
-**  - - - - -
-**   a t m s
-**  - - - - -
-**
-**  Internal routine used by slaRefro:
-**
-**   refractive index and derivative with respect to height for the
-**   stratosphere.
-**
-**  Given:
-**    rt      double   height of tropopause from centre of the Earth (metre)
-**    tt      double   temperature at the tropopause (deg k)
-**    dnt     double   refractive index at the tropopause
-**    gamal   double   constant of the atmospheric model = g*md/r
-**    r       double   current distance from the centre of the Earth (metre)
-**
-**  Returned:
-**    *dn     double   refractive index at r
-**    *rdndr  double   r * rate the refractive index is changing at r
-**
-**  This routine is derived from the ATMOSSTR routine (C.Hohenkerk, HMNAO).
-*/
-{
-    double b, w;
-
-    b = gamal / tt;
-    w = ( dnt - 1.0 ) * exp ( - b * ( r - rt ) );
-    *dn = 1.0 + w;
-    *rdndr = - r * b * w;
-}
-
-
-
Index: ORadio/libindi/libindi/Indi_Stellarium/src/astro.h
===================================================================
--- /BAORadio/libindi/libindi/Indi_Stellarium/src/astro.h	(revision 677)
+++ 	(revision )
@@ -1,113 +1,0 @@
-////////////////////////////////
-// Classe Astro               //
-// Franck RICHARD             //
-// BAORadio                   //
-// franckrichard033@gmail.com //
-// juin 2011                  //
-////////////////////////////////
-
-#ifndef Astro_class
-#define Astro_class
-
-#include "math.h"
-#include "stdio.h"
-#include <iostream>
-#include <string.h>
-#include <sstream>
-#include <iomanip>
-
-using namespace std;
-
-//////////////////////////////
-// Constantes MathÃ©matiques //
-//////////////////////////////
-
-#define Pi		3.14159265358979323846264338327
-#define Pidiv180	0.01745329251994329576923690768
-#define N180divPi	57.2957795130823208767981548141
-#define Pi2          	6.28318530717958647692528676655
-#define Pidiv2		1.57079632679489661923132169163
-
-#define gmax(A,B) ((A)>(B)?(A):(B))
-
-#define gmin(A,B) ((A)<(B)?(A):(B))
-
-
-struct Coordonnees
-{
-    string ar;				// CoordonnÃ©es horaires d'un objet
-    string dec;
-};
-
-class Astro 
-{
-public:
-    Astro();
-    ~Astro();
-
-    void   DefinirDateHeure(double Annee, double Mois, double Jour, double Heu, double Min, double Sec);
-    void   DefinirPressionTemp(double P, double T);
-    void   DefinirLongitudeLatitude(double log, double lat);
-    double VerifAngle(double Angle);
-    double Arrondi(double a);
-    string DHMS(double mema, bool HMS);
-    void   Azimut(double Ar, double De, double *azi, double *hau);
-    void   Precession(double *ar, double *de);
-    void   NutationEtoile(double *ar, double *de);
-    void   AberrationAnnuelle(double *ar, double *de);
-    void   CalculJJ(double Heure);
-    double CalculJJ(double A, double M, double J, double Heure);
-    void   CalculTSL();  
-    double RefractionAtmospherique(double ht);
-    double CalculLongitudeSoleil();
-    double TSL(double JJ,double HeureSiderale,double Longitude);
-    void   Nutation();
-    void   Obliquite(double JJ);
-    void   atms ( double rt, double tt, double dnt, double gamal, double r,
-                   double *dn, double *rdndr );
-    void   atmt ( double robs, double tdkok, double alpha, double gamm2,
-                   double delm2, double c1, double c2, double c3,
-                   double c4, double c5, double c6, double r,
-                   double *t, double *dn, double *rdndr );
-    void   slaRefro ( double zobs, double hm, double tdk, double pmb,
-                double rh, double wl, double phi, double tlr,
-                double eps, double *ref );
-    float  slaRange(float angle );
-    double slaDrange(double angle );
-    void   CalculARDecSoleil(Coordonnees *Soleil);
-    
-    
-    double GetAnnee() { return Annee; }
-    double GetMois()  { return Mois;  }
-    double GetJour()  { return Jour;  }
-    double GetHeure() { return Heure; }
-    double GetMin()   { return Min;   }
-    double GetSec()   { return Sec;   }
-    double GetJJ()    { return JJ;    }  
-
-  
-    
-    
-private:
-    double Longitude;
-    double Latitude;
-    double JJ;
-    double CorP;
-    double CorEP;
-    double Annee;
-    double Mois;
-    double Jour;
-    double Heure;
-    double Min;
-    double Sec;
-    double ep;
-    double hs;
-    double UTCP;
-    double tsl;
-    double LongitudeSoleil;
-    double Pression;
-    double Temp;
-};
-
-
-#endif
Index: /BAORadio/libindi/libindi/Makefile
===================================================================
--- /BAORadio/libindi/libindi/Makefile	(revision 678)
+++ /BAORadio/libindi/libindi/Makefile	(revision 678)
@@ -0,0 +1,1201 @@
+#############################################################################
+# Makefile for building: libindi
+# Generated by qmake (2.01a) (Qt 4.7.4) on: mar. mai 15 01:36:10 2012
+# Project:  libindi.pro
+# Template: app
+# Command: /usr/bin/qmake -o Makefile libindi.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC            = gcc
+CXX           = g++
+DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
+CFLAGS        = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
+CXXFLAGS      = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
+INCPATH       = -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilibs -IBAOControl -Icommuns -Ilibs/indibase -Iexamples -Idrivers/ccd -Idrivers/filter_wheel -Idrivers/focuser -Idrivers/telescope -Idrivers/video -Ilibs/webcam -IIndi_Stellarium/src -I. -I.
+LINK          = g++
+LFLAGS        = -m64 -Wl,-O1
+LIBS          = $(SUBLIBS)  -L/usr/lib64 -lQtGui -L/usr/lib64 -L/usr/X11R6/lib64 -lQtCore -lpthread 
+AR            = ar cqs
+RANLIB        = 
+QMAKE         = /usr/bin/qmake
+TAR           = tar -cf
+COMPRESS      = gzip -9f
+COPY          = cp -f
+SED           = sed
+COPY_FILE     = $(COPY)
+COPY_DIR      = $(COPY) -r
+STRIP         = strip
+INSTALL_FILE  = install -m 644 -p
+INSTALL_DIR   = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE      = rm -f
+SYMLINK       = ln -f -s
+DEL_DIR       = rmdir
+MOVE          = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR         = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR   = ./
+
+####### Files
+
+SOURCES       = base64.c \
+		eventloop.c \
+		fq.c \
+		indidriver.c \
+		indidrivermain.c \
+		indiserver.c \
+		BAOControl/baocontrol.cpp \
+		BAOControl/baoqt.cpp \
+		BAOControl/main.cpp \
+		BAOTest/BAOtest_main.cpp \
+		communs/alignement.cpp \
+		communs/astro.cpp \
+		communs/ClientSocket.cpp \
+		communs/exception.cpp \
+		communs/filetools.cpp \
+		communs/logs.cpp \
+		communs/ServerSocket.cpp \
+		communs/Socket.cpp \
+		examples/tutorial_ccdpreview.c \
+		examples/tutorial_client.cpp \
+		examples/tutorial_dome.c \
+		examples/tutorial_four.cpp \
+		examples/tutorial_one.c \
+		examples/tutorial_rain.c \
+		examples/tutorial_three.c \
+		examples/tutorial_two.c \
+		libs/indicom.c \
+		libs/lilxml.c \
+		tools/compiler.c \
+		tools/evalINDI.c \
+		tools/getINDIproperty.c \
+		tools/setINDIproperty.c \
+		drivers/ccd/ccd_simulator.cpp \
+		drivers/ccd/fli_ccd.c \
+		drivers/filter_wheel/filter_simulator.cpp \
+		drivers/filter_wheel/fli_wheel.c \
+		drivers/filter_wheel/trutech_wheel.c \
+		drivers/focuser/fli_pdf.c \
+		drivers/focuser/robofocus.c \
+		drivers/focuser/robofocus.cpp \
+		drivers/focuser/robofocusdriver.c \
+		drivers/focuser/tcfs.cpp \
+		drivers/telescope/BAO.cpp \
+		drivers/telescope/celestrongps.cpp \
+		drivers/telescope/celestronprotocol.c \
+		drivers/telescope/ieq45.cpp \
+		drivers/telescope/ieq45driver.c \
+		drivers/telescope/intelliscope.c \
+		drivers/telescope/lx200_16.cpp \
+		drivers/telescope/lx200ap.cpp \
+		drivers/telescope/lx200apdriver.c \
+		drivers/telescope/lx200autostar.cpp \
+		drivers/telescope/lx200basic.cpp \
+		drivers/telescope/lx200classic.cpp \
+		drivers/telescope/lx200driver.c \
+		drivers/telescope/lx200fs2.cpp \
+		drivers/telescope/lx200generic.cpp \
+		drivers/telescope/lx200gps.cpp \
+		drivers/telescope/magellan1.cpp \
+		drivers/telescope/magellandriver.c \
+		drivers/telescope/orionatlas.cpp \
+		drivers/telescope/skycommander.c \
+		drivers/telescope/synscanmount.cpp \
+		drivers/telescope/telescope_simulator.cpp \
+		drivers/telescope/temmadriver.c \
+		drivers/video/indi_lpi.cpp \
+		drivers/video/indi_philips.cpp \
+		drivers/video/indi_v4l.cpp \
+		drivers/video/stv.c \
+		drivers/video/stvdriver.c \
+		drivers/video/v4ldriver.cpp \
+		drivers/video/v4lphilips.cpp \
+		Indi_Stellarium/src/Connection.cpp \
+		Indi_Stellarium/src/Listener.cpp \
+		Indi_Stellarium/src/LogFile.cpp \
+		Indi_Stellarium/src/MainBAO.cpp \
+		Indi_Stellarium/src/Server.cpp \
+		Indi_Stellarium/src/ServerBAO.cpp \
+		Indi_Stellarium/src/Socket2.cpp \
+		libs/indibase/baseclient.cpp \
+		libs/indibase/basedriver.cpp \
+		libs/indibase/defaultdriver.cpp \
+		libs/indibase/indiccd.cpp \
+		libs/indibase/indidevice.cpp \
+		libs/indibase/indifilterinterface.cpp \
+		libs/indibase/indifilterwheel.cpp \
+		libs/indibase/indifocuser.cpp \
+		libs/indibase/indiguiderinterface.cpp \
+		libs/indibase/inditelescope.cpp \
+		libs/indibase/indiusbdevice.cpp \
+		libs/webcam/ccvt_c2.c \
+		libs/webcam/ccvt_misc.c \
+		libs/webcam/port.cpp \
+		libs/webcam/PPort.cpp \
+		libs/webcam/v4l1_base.cpp \
+		libs/webcam/v4l1_pwc.cpp \
+		libs/webcam/v4l2_base.cpp \
+		libindi_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c \
+		libindi_build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp moc_baoqt.cpp
+OBJECTS       = base64.o \
+		eventloop.o \
+		fq.o \
+		indidriver.o \
+		indidrivermain.o \
+		indiserver.o \
+		baocontrol.o \
+		baoqt.o \
+		main.o \
+		BAOtest_main.o \
+		alignement.o \
+		astro.o \
+		ClientSocket.o \
+		exception.o \
+		filetools.o \
+		logs.o \
+		ServerSocket.o \
+		Socket.o \
+		tutorial_ccdpreview.o \
+		tutorial_client.o \
+		tutorial_dome.o \
+		tutorial_four.o \
+		tutorial_one.o \
+		tutorial_rain.o \
+		tutorial_three.o \
+		tutorial_two.o \
+		indicom.o \
+		lilxml.o \
+		compiler.o \
+		evalINDI.o \
+		getINDIproperty.o \
+		setINDIproperty.o \
+		ccd_simulator.o \
+		fli_ccd.o \
+		filter_simulator.o \
+		fli_wheel.o \
+		trutech_wheel.o \
+		fli_pdf.o \
+		robofocus.o \
+		robofocus.o \
+		robofocusdriver.o \
+		tcfs.o \
+		BAO.o \
+		celestrongps.o \
+		celestronprotocol.o \
+		ieq45.o \
+		ieq45driver.o \
+		intelliscope.o \
+		lx200_16.o \
+		lx200ap.o \
+		lx200apdriver.o \
+		lx200autostar.o \
+		lx200basic.o \
+		lx200classic.o \
+		lx200driver.o \
+		lx200fs2.o \
+		lx200generic.o \
+		lx200gps.o \
+		magellan1.o \
+		magellandriver.o \
+		orionatlas.o \
+		skycommander.o \
+		synscanmount.o \
+		telescope_simulator.o \
+		temmadriver.o \
+		indi_lpi.o \
+		indi_philips.o \
+		indi_v4l.o \
+		stv.o \
+		stvdriver.o \
+		v4ldriver.o \
+		v4lphilips.o \
+		Connection.o \
+		Listener.o \
+		LogFile.o \
+		MainBAO.o \
+		Server.o \
+		ServerBAO.o \
+		Socket2.o \
+		baseclient.o \
+		basedriver.o \
+		defaultdriver.o \
+		indiccd.o \
+		indidevice.o \
+		indifilterinterface.o \
+		indifilterwheel.o \
+		indifocuser.o \
+		indiguiderinterface.o \
+		inditelescope.o \
+		indiusbdevice.o \
+		ccvt_c2.o \
+		ccvt_misc.o \
+		port.o \
+		PPort.o \
+		v4l1_base.o \
+		v4l1_pwc.o \
+		v4l2_base.o \
+		CMakeCCompilerId.o \
+		CMakeCXXCompilerId.o \
+		moc_baoqt.o
+DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		libindi.pro
+QMAKE_TARGET  = libindi
+DESTDIR       = 
+TARGET        = libindi
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile $(TARGET)
+
+$(TARGET): ui_baoqt.h $(OBJECTS)  
+	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+
+Makefile: libindi.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+		/usr/share/qt4/mkspecs/common/unix.conf \
+		/usr/share/qt4/mkspecs/common/linux.conf \
+		/usr/share/qt4/mkspecs/qconfig.pri \
+		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
+		/usr/share/qt4/mkspecs/features/qt_functions.prf \
+		/usr/share/qt4/mkspecs/features/qt_config.prf \
+		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+		/usr/share/qt4/mkspecs/features/default_pre.prf \
+		/usr/share/qt4/mkspecs/features/release.prf \
+		/usr/share/qt4/mkspecs/features/default_post.prf \
+		/usr/share/qt4/mkspecs/features/warn_on.prf \
+		/usr/share/qt4/mkspecs/features/qt.prf \
+		/usr/share/qt4/mkspecs/features/unix/thread.prf \
+		/usr/share/qt4/mkspecs/features/moc.prf \
+		/usr/share/qt4/mkspecs/features/resources.prf \
+		/usr/share/qt4/mkspecs/features/uic.prf \
+		/usr/share/qt4/mkspecs/features/yacc.prf \
+		/usr/share/qt4/mkspecs/features/lex.prf \
+		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
+		/usr/lib64/libQtGui.prl \
+		/usr/lib64/libQtCore.prl
+	$(QMAKE) -o Makefile libindi.pro
+/usr/share/qt4/mkspecs/common/g++.conf:
+/usr/share/qt4/mkspecs/common/unix.conf:
+/usr/share/qt4/mkspecs/common/linux.conf:
+/usr/share/qt4/mkspecs/qconfig.pri:
+/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
+/usr/share/qt4/mkspecs/features/qt_config.prf:
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/share/qt4/mkspecs/features/default_pre.prf:
+/usr/share/qt4/mkspecs/features/release.prf:
+/usr/share/qt4/mkspecs/features/default_post.prf:
+/usr/share/qt4/mkspecs/features/warn_on.prf:
+/usr/share/qt4/mkspecs/features/qt.prf:
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
+/usr/share/qt4/mkspecs/features/moc.prf:
+/usr/share/qt4/mkspecs/features/resources.prf:
+/usr/share/qt4/mkspecs/features/uic.prf:
+/usr/share/qt4/mkspecs/features/yacc.prf:
+/usr/share/qt4/mkspecs/features/lex.prf:
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+/usr/lib64/libQtGui.prl:
+/usr/lib64/libQtCore.prl:
+qmake:  FORCE
+	@$(QMAKE) -o Makefile libindi.pro
+
+dist: 
+	@$(CHK_DIR_EXISTS) .tmp/libindi1.0.0 || $(MKDIR) .tmp/libindi1.0.0 
+	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/libindi1.0.0/ && $(COPY_FILE) --parents base64.h config.h eventloop.h fq.h indiapi.h indidevapi.h indidriver.h BAOControl/baocontrol.h BAOControl/baoqt.h communs/alignement.h communs/alt2motor.h communs/astro.h communs/ClientSocket.h communs/const.h communs/exception.h communs/filetools.h communs/logs.h communs/ServerSocket.h communs/Socket.h communs/SocketException.h examples/tutorial_client.h examples/tutorial_four.h libindi_build/config.h libs/indicom.h libs/lilxml.h drivers/ccd/ccd_simulator.h drivers/filter_wheel/filter_simulator.h drivers/focuser/robofocus.h drivers/focuser/robofocusdriver.h drivers/focuser/tcfs.h drivers/telescope/BAO.h drivers/telescope/celestrongps.h drivers/telescope/celestronprotocol.h drivers/telescope/ieq45.h drivers/telescope/ieq45driver.h drivers/telescope/lx200_16.h drivers/telescope/lx200ap.h drivers/telescope/lx200apdriver.h drivers/telescope/lx200aplib.h drivers/telescope/lx200autostar.h drivers/telescope/lx200basic.h drivers/telescope/lx200classic.h drivers/telescope/lx200driver.h drivers/telescope/lx200fs2.h drivers/telescope/lx200generic.h drivers/telescope/lx200gps.h drivers/telescope/magellan1.h drivers/telescope/magellandriver.h drivers/telescope/orionatlas.h drivers/telescope/synscanmount.h drivers/telescope/telescope_simulator.h drivers/telescope/temmadriver.h drivers/video/stvdriver.h drivers/video/v4ldriver.h drivers/video/v4lphilips.h Indi_Stellarium/src/Connection.hpp Indi_Stellarium/src/Listener.hpp Indi_Stellarium/src/LogFile.hpp Indi_Stellarium/src/Server.hpp Indi_Stellarium/src/ServerBAO.hpp Indi_Stellarium/src/Socket2.hpp libs/indibase/baseclient.h libs/indibase/basedriver.h libs/indibase/defaultdriver.h libs/indibase/indibase.h libs/indibase/indiccd.h libs/indibase/indidevice.h libs/indibase/indifilterinterface.h libs/indibase/indifilterwheel.h libs/indibase/indifocuser.h libs/indibase/indiguiderinterface.h libs/indibase/inditelescope.h libs/indibase/indiusbdevice.h libs/webcam/ccvt.h libs/webcam/ccvt_types.h libs/webcam/port.h libs/webcam/PPort.h libs/webcam/pwc-ioctl.h libs/webcam/v4l1_base.h libs/webcam/v4l1_pwc.h libs/webcam/v4l2_base.h libs/webcam/vcvt.h libs/webcam/videodev.h libs/webcam/videodev2.h .tmp/libindi1.0.0/ && $(COPY_FILE) --parents base64.c eventloop.c fq.c indidriver.c indidrivermain.c indiserver.c BAOControl/baocontrol.cpp BAOControl/baoqt.cpp BAOControl/main.cpp BAOTest/BAOtest_main.cpp communs/alignement.cpp communs/astro.cpp communs/ClientSocket.cpp communs/exception.cpp communs/filetools.cpp communs/logs.cpp communs/ServerSocket.cpp communs/Socket.cpp examples/tutorial_ccdpreview.c examples/tutorial_client.cpp examples/tutorial_dome.c examples/tutorial_four.cpp examples/tutorial_one.c examples/tutorial_rain.c examples/tutorial_three.c examples/tutorial_two.c libs/indicom.c libs/lilxml.c tools/compiler.c tools/evalINDI.c tools/getINDIproperty.c tools/setINDIproperty.c drivers/ccd/ccd_simulator.cpp drivers/ccd/fli_ccd.c drivers/filter_wheel/filter_simulator.cpp drivers/filter_wheel/fli_wheel.c drivers/filter_wheel/trutech_wheel.c drivers/focuser/fli_pdf.c drivers/focuser/robofocus.c drivers/focuser/robofocus.cpp drivers/focuser/robofocusdriver.c drivers/focuser/tcfs.cpp drivers/telescope/BAO.cpp drivers/telescope/celestrongps.cpp drivers/telescope/celestronprotocol.c drivers/telescope/ieq45.cpp drivers/telescope/ieq45driver.c drivers/telescope/intelliscope.c drivers/telescope/lx200_16.cpp drivers/telescope/lx200ap.cpp drivers/telescope/lx200apdriver.c drivers/telescope/lx200autostar.cpp drivers/telescope/lx200basic.cpp drivers/telescope/lx200classic.cpp drivers/telescope/lx200driver.c drivers/telescope/lx200fs2.cpp drivers/telescope/lx200generic.cpp drivers/telescope/lx200gps.cpp drivers/telescope/magellan1.cpp drivers/telescope/magellandriver.c drivers/telescope/orionatlas.cpp drivers/telescope/skycommander.c drivers/telescope/synscanmount.cpp drivers/telescope/telescope_simulator.cpp drivers/telescope/temmadriver.c drivers/video/indi_lpi.cpp drivers/video/indi_philips.cpp drivers/video/indi_v4l.cpp drivers/video/stv.c drivers/video/stvdriver.c drivers/video/v4ldriver.cpp drivers/video/v4lphilips.cpp Indi_Stellarium/src/Connection.cpp Indi_Stellarium/src/Listener.cpp Indi_Stellarium/src/LogFile.cpp Indi_Stellarium/src/MainBAO.cpp Indi_Stellarium/src/Server.cpp Indi_Stellarium/src/ServerBAO.cpp Indi_Stellarium/src/Socket2.cpp libs/indibase/baseclient.cpp libs/indibase/basedriver.cpp libs/indibase/defaultdriver.cpp libs/indibase/indiccd.cpp libs/indibase/indidevice.cpp libs/indibase/indifilterinterface.cpp libs/indibase/indifilterwheel.cpp libs/indibase/indifocuser.cpp libs/indibase/indiguiderinterface.cpp libs/indibase/inditelescope.cpp libs/indibase/indiusbdevice.cpp libs/webcam/ccvt_c2.c libs/webcam/ccvt_misc.c libs/webcam/port.cpp libs/webcam/PPort.cpp libs/webcam/v4l1_base.cpp libs/webcam/v4l1_pwc.cpp libs/webcam/v4l2_base.cpp libindi_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c libindi_build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp .tmp/libindi1.0.0/ && $(COPY_FILE) --parents BAOControl/baoqt.ui .tmp/libindi1.0.0/ && (cd `dirname .tmp/libindi1.0.0` && $(TAR) libindi1.0.0.tar libindi1.0.0 && $(COMPRESS) libindi1.0.0.tar) && $(MOVE) `dirname .tmp/libindi1.0.0`/libindi1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/libindi1.0.0
+
+
+clean:compiler_clean 
+	-$(DEL_FILE) $(OBJECTS)
+	-$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+	-$(DEL_FILE) $(TARGET) 
+	-$(DEL_FILE) Makefile
+
+
+check: first
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc_baoqt.cpp
+compiler_moc_header_clean:
+	-$(DEL_FILE) moc_baoqt.cpp
+moc_baoqt.cpp: BAOControl/baoqt.h
+	/usr/bin/moc $(DEFINES) $(INCPATH) BAOControl/baoqt.h -o moc_baoqt.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+	-$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all: ui_baoqt.h
+compiler_uic_clean:
+	-$(DEL_FILE) ui_baoqt.h
+ui_baoqt.h: BAOControl/baoqt.ui
+	/usr/bin/uic BAOControl/baoqt.ui -o ui_baoqt.h
+
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean compiler_uic_clean 
+
+####### Compile
+
+base64.o: base64.c base64.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o base64.o base64.c
+
+eventloop.o: eventloop.c eventloop.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o eventloop.o eventloop.c
+
+fq.o: fq.c fq.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o fq.o fq.c
+
+indidriver.o: indidriver.c libs/lilxml.h \
+		base64.h \
+		eventloop.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/indicom.h \
+		indidriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o indidriver.o indidriver.c
+
+indidrivermain.o: indidrivermain.c libs/lilxml.h \
+		base64.h \
+		eventloop.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/indicom.h \
+		indidriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o indidrivermain.o indidrivermain.c
+
+indiserver.o: indiserver.c libs/lilxml.h \
+		indiapi.h \
+		fq.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o indiserver.o indiserver.c
+
+baocontrol.o: BAOControl/baocontrol.cpp BAOControl/baocontrol.h \
+		communs/const.h \
+		communs/logs.h \
+		communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h \
+		communs/astro.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o baocontrol.o BAOControl/baocontrol.cpp
+
+baoqt.o: BAOControl/baoqt.cpp BAOControl/baoqt.h \
+		BAOControl/baocontrol.h \
+		communs/const.h \
+		communs/logs.h \
+		communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h \
+		communs/astro.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h \
+		BAOControl/ui_baoqt.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o baoqt.o BAOControl/baoqt.cpp
+
+main.o: BAOControl/main.cpp BAOControl/baoqt.h \
+		BAOControl/baocontrol.h \
+		communs/const.h \
+		communs/logs.h \
+		communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h \
+		communs/astro.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h \
+		BAOControl/ui_baoqt.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o BAOControl/main.cpp
+
+BAOtest_main.o: BAOTest/BAOtest_main.cpp communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BAOtest_main.o BAOTest/BAOtest_main.cpp
+
+alignement.o: communs/alignement.cpp communs/alignement.h \
+		communs/const.h \
+		communs/filetools.h \
+		communs/exception.h \
+		communs/astro.h \
+		communs/logs.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o alignement.o communs/alignement.cpp
+
+astro.o: communs/astro.cpp communs/astro.h \
+		communs/const.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o astro.o communs/astro.cpp
+
+ClientSocket.o: communs/ClientSocket.cpp communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ClientSocket.o communs/ClientSocket.cpp
+
+exception.o: communs/exception.cpp communs/exception.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o exception.o communs/exception.cpp
+
+filetools.o: communs/filetools.cpp communs/filetools.h \
+		communs/exception.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o filetools.o communs/filetools.cpp
+
+logs.o: communs/logs.cpp communs/logs.h \
+		communs/const.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o logs.o communs/logs.cpp
+
+ServerSocket.o: communs/ServerSocket.cpp communs/ServerSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ServerSocket.o communs/ServerSocket.cpp
+
+Socket.o: communs/Socket.cpp communs/Socket.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Socket.o communs/Socket.cpp
+
+tutorial_ccdpreview.o: examples/tutorial_ccdpreview.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		eventloop.h \
+		base64.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_ccdpreview.o examples/tutorial_ccdpreview.c
+
+tutorial_client.o: examples/tutorial_client.cpp config.h \
+		libs/indibase/baseclient.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		libs/indibase/basedriver.h \
+		libs/indicom.h \
+		examples/tutorial_client.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tutorial_client.o examples/tutorial_client.cpp
+
+tutorial_dome.o: examples/tutorial_dome.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_dome.o examples/tutorial_dome.c
+
+tutorial_four.o: examples/tutorial_four.cpp config.h \
+		libs/indibase/baseclient.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		libs/indicom.h \
+		examples/tutorial_four.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indidriver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tutorial_four.o examples/tutorial_four.cpp
+
+tutorial_one.o: examples/tutorial_one.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_one.o examples/tutorial_one.c
+
+tutorial_rain.o: examples/tutorial_rain.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_rain.o examples/tutorial_rain.c
+
+tutorial_three.o: examples/tutorial_three.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		eventloop.h \
+		base64.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_three.o examples/tutorial_three.c
+
+tutorial_two.o: examples/tutorial_two.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o tutorial_two.o examples/tutorial_two.c
+
+indicom.o: libs/indicom.c config.h \
+		libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o indicom.o libs/indicom.c
+
+lilxml.o: libs/lilxml.c libs/lilxml.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o lilxml.o libs/lilxml.c
+
+compiler.o: tools/compiler.c 
+	$(CC) -c $(CFLAGS) $(INCPATH) -o compiler.o tools/compiler.c
+
+evalINDI.o: tools/evalINDI.c indiapi.h \
+		libs/lilxml.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o evalINDI.o tools/evalINDI.c
+
+getINDIproperty.o: tools/getINDIproperty.c indiapi.h \
+		libs/lilxml.h \
+		base64.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o getINDIproperty.o tools/getINDIproperty.c
+
+setINDIproperty.o: tools/setINDIproperty.c indiapi.h \
+		libs/lilxml.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o setINDIproperty.o tools/setINDIproperty.c
+
+ccd_simulator.o: drivers/ccd/ccd_simulator.cpp drivers/ccd/ccd_simulator.h \
+		libs/indibase/indiccd.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indibase/indiguiderinterface.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ccd_simulator.o drivers/ccd/ccd_simulator.cpp
+
+fli_ccd.o: drivers/ccd/fli_ccd.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o fli_ccd.o drivers/ccd/fli_ccd.c
+
+filter_simulator.o: drivers/filter_wheel/filter_simulator.cpp drivers/filter_wheel/filter_simulator.h \
+		libs/indibase/indifilterwheel.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indibase/indifilterinterface.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o filter_simulator.o drivers/filter_wheel/filter_simulator.cpp
+
+fli_wheel.o: drivers/filter_wheel/fli_wheel.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o fli_wheel.o drivers/filter_wheel/fli_wheel.c
+
+trutech_wheel.o: drivers/filter_wheel/trutech_wheel.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o trutech_wheel.o drivers/filter_wheel/trutech_wheel.c
+
+fli_pdf.o: drivers/focuser/fli_pdf.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o fli_pdf.o drivers/focuser/fli_pdf.c
+
+robofocus.o: drivers/focuser/robofocus.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h \
+		drivers/focuser/robofocusdriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o robofocus.o drivers/focuser/robofocus.c
+
+robofocus.o: drivers/focuser/robofocus.cpp drivers/focuser/robofocus.h \
+		libs/indibase/indifocuser.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o robofocus.o drivers/focuser/robofocus.cpp
+
+robofocusdriver.o: drivers/focuser/robofocusdriver.c libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/focuser/robofocusdriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o robofocusdriver.o drivers/focuser/robofocusdriver.c
+
+tcfs.o: drivers/focuser/tcfs.cpp libs/indicom.h \
+		drivers/focuser/tcfs.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		libs/indibase/indibase.h \
+		indidriver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tcfs.o drivers/focuser/tcfs.cpp
+
+BAO.o: drivers/telescope/BAO.cpp drivers/telescope/BAO.h \
+		config.h \
+		libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		communs/const.h \
+		communs/Socket.h \
+		communs/ServerSocket.h \
+		communs/SocketException.h \
+		communs/astro.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h \
+		communs/logs.h \
+		communs/alt2motor.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o BAO.o drivers/telescope/BAO.cpp
+
+celestrongps.o: drivers/telescope/celestrongps.cpp drivers/telescope/celestronprotocol.h \
+		drivers/telescope/celestrongps.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o celestrongps.o drivers/telescope/celestrongps.cpp
+
+celestronprotocol.o: drivers/telescope/celestronprotocol.c config.h \
+		drivers/telescope/celestronprotocol.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o celestronprotocol.o drivers/telescope/celestronprotocol.c
+
+ieq45.o: drivers/telescope/ieq45.cpp config.h \
+		libs/indicom.h \
+		drivers/telescope/ieq45driver.h \
+		drivers/telescope/ieq45.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ieq45.o drivers/telescope/ieq45.cpp
+
+ieq45driver.o: drivers/telescope/ieq45driver.c libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/telescope/ieq45driver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o ieq45driver.o drivers/telescope/ieq45driver.c
+
+intelliscope.o: drivers/telescope/intelliscope.c config.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o intelliscope.o drivers/telescope/intelliscope.c
+
+lx200_16.o: drivers/telescope/lx200_16.cpp drivers/telescope/lx200_16.h \
+		drivers/telescope/lx200autostar.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200_16.o drivers/telescope/lx200_16.cpp
+
+lx200ap.o: drivers/telescope/lx200ap.cpp drivers/telescope/lx200ap.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h \
+		drivers/telescope/lx200apdriver.h \
+		drivers/telescope/lx200aplib.h \
+		config.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200ap.o drivers/telescope/lx200ap.cpp
+
+lx200apdriver.o: drivers/telescope/lx200apdriver.c libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/telescope/lx200driver.h \
+		drivers/telescope/lx200apdriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o lx200apdriver.o drivers/telescope/lx200apdriver.c
+
+lx200autostar.o: drivers/telescope/lx200autostar.cpp drivers/telescope/lx200autostar.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200autostar.o drivers/telescope/lx200autostar.cpp
+
+lx200basic.o: drivers/telescope/lx200basic.cpp config.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h \
+		drivers/telescope/lx200basic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200basic.o drivers/telescope/lx200basic.cpp
+
+lx200classic.o: drivers/telescope/lx200classic.cpp drivers/telescope/lx200classic.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200classic.o drivers/telescope/lx200classic.cpp
+
+lx200driver.o: drivers/telescope/lx200driver.c libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/telescope/lx200driver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o lx200driver.o drivers/telescope/lx200driver.c
+
+lx200fs2.o: drivers/telescope/lx200fs2.cpp drivers/telescope/lx200driver.h \
+		drivers/telescope/lx200fs2.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200fs2.o drivers/telescope/lx200fs2.cpp
+
+lx200generic.o: drivers/telescope/lx200generic.cpp libs/indicom.h \
+		drivers/telescope/lx200driver.h \
+		drivers/telescope/lx200gps.h \
+		drivers/telescope/lx200_16.h \
+		drivers/telescope/lx200autostar.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/telescope/lx200ap.h \
+		drivers/telescope/lx200classic.h \
+		drivers/telescope/lx200fs2.h \
+		config.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200generic.o drivers/telescope/lx200generic.cpp
+
+lx200gps.o: drivers/telescope/lx200gps.cpp drivers/telescope/lx200gps.h \
+		drivers/telescope/lx200_16.h \
+		drivers/telescope/lx200autostar.h \
+		drivers/telescope/lx200generic.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o lx200gps.o drivers/telescope/lx200gps.cpp
+
+magellan1.o: drivers/telescope/magellan1.cpp drivers/telescope/magellandriver.h \
+		drivers/telescope/magellan1.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		config.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o magellan1.o drivers/telescope/magellan1.cpp
+
+magellandriver.o: drivers/telescope/magellandriver.c libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		drivers/telescope/magellandriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o magellandriver.o drivers/telescope/magellandriver.c
+
+orionatlas.o: drivers/telescope/orionatlas.cpp drivers/telescope/orionatlas.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o orionatlas.o drivers/telescope/orionatlas.cpp
+
+skycommander.o: drivers/telescope/skycommander.c config.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		drivers/telescope/lx200driver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o skycommander.o drivers/telescope/skycommander.c
+
+synscanmount.o: drivers/telescope/synscanmount.cpp drivers/telescope/synscanmount.h \
+		libs/indibase/inditelescope.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o synscanmount.o drivers/telescope/synscanmount.cpp
+
+telescope_simulator.o: drivers/telescope/telescope_simulator.cpp drivers/telescope/telescope_simulator.h \
+		libs/indibase/inditelescope.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o telescope_simulator.o drivers/telescope/telescope_simulator.cpp
+
+temmadriver.o: drivers/telescope/temmadriver.c config.h \
+		libs/indicom.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		drivers/telescope/temmadriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o temmadriver.o drivers/telescope/temmadriver.c
+
+indi_lpi.o: drivers/video/indi_lpi.cpp drivers/video/v4ldriver.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		eventloop.h \
+		config.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h \
+		libs/webcam/v4l1_base.h \
+		libs/webcam/videodev.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indi_lpi.o drivers/video/indi_lpi.cpp
+
+indi_philips.o: drivers/video/indi_philips.cpp drivers/video/v4lphilips.h \
+		libs/webcam/v4l1_pwc.h \
+		libs/webcam/videodev.h \
+		libs/webcam/v4l1_base.h \
+		eventloop.h \
+		drivers/video/v4ldriver.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		config.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indi_philips.o drivers/video/indi_philips.cpp
+
+indi_v4l.o: drivers/video/indi_v4l.cpp drivers/video/v4ldriver.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		eventloop.h \
+		config.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h \
+		libs/webcam/v4l1_base.h \
+		libs/webcam/videodev.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indi_v4l.o drivers/video/indi_v4l.cpp
+
+stv.o: drivers/video/stv.c indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		eventloop.h \
+		libs/indicom.h \
+		config.h \
+		drivers/video/stvdriver.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o stv.o drivers/video/stv.c
+
+stvdriver.o: drivers/video/stvdriver.c drivers/video/stvdriver.h \
+		config.h \
+		libs/indicom.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o stvdriver.o drivers/video/stvdriver.c
+
+v4ldriver.o: drivers/video/v4ldriver.cpp drivers/video/v4ldriver.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		eventloop.h \
+		config.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h \
+		libs/webcam/v4l1_base.h \
+		libs/webcam/videodev.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o v4ldriver.o drivers/video/v4ldriver.cpp
+
+v4lphilips.o: drivers/video/v4lphilips.cpp drivers/video/v4lphilips.h \
+		libs/webcam/v4l1_pwc.h \
+		libs/webcam/videodev.h \
+		libs/webcam/v4l1_base.h \
+		eventloop.h \
+		drivers/video/v4ldriver.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h \
+		libs/indicom.h \
+		config.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h \
+		libs/webcam/pwc-ioctl.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o v4lphilips.o drivers/video/v4lphilips.cpp
+
+Connection.o: Indi_Stellarium/src/Connection.cpp Indi_Stellarium/src/Connection.hpp \
+		Indi_Stellarium/src/Socket2.hpp \
+		Indi_Stellarium/src/Server.hpp \
+		Indi_Stellarium/src/LogFile.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Connection.o Indi_Stellarium/src/Connection.cpp
+
+Listener.o: Indi_Stellarium/src/Listener.cpp Indi_Stellarium/src/Listener.hpp \
+		Indi_Stellarium/src/Socket2.hpp \
+		Indi_Stellarium/src/Connection.hpp \
+		Indi_Stellarium/src/Server.hpp \
+		Indi_Stellarium/src/LogFile.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Listener.o Indi_Stellarium/src/Listener.cpp
+
+LogFile.o: Indi_Stellarium/src/LogFile.cpp Indi_Stellarium/src/LogFile.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o LogFile.o Indi_Stellarium/src/LogFile.cpp
+
+MainBAO.o: Indi_Stellarium/src/MainBAO.cpp Indi_Stellarium/src/ServerBAO.hpp \
+		Indi_Stellarium/src/Server.hpp \
+		communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h \
+		communs/const.h \
+		communs/astro.h \
+		communs/logs.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h \
+		Indi_Stellarium/src/LogFile.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o MainBAO.o Indi_Stellarium/src/MainBAO.cpp
+
+Server.o: Indi_Stellarium/src/Server.cpp Indi_Stellarium/src/Server.hpp \
+		Indi_Stellarium/src/Socket2.hpp \
+		Indi_Stellarium/src/Listener.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Server.o Indi_Stellarium/src/Server.cpp
+
+ServerBAO.o: Indi_Stellarium/src/ServerBAO.cpp Indi_Stellarium/src/ServerBAO.hpp \
+		Indi_Stellarium/src/Server.hpp \
+		communs/ClientSocket.h \
+		communs/Socket.h \
+		communs/SocketException.h \
+		communs/const.h \
+		communs/astro.h \
+		communs/logs.h \
+		communs/alignement.h \
+		communs/filetools.h \
+		communs/exception.h \
+		Indi_Stellarium/src/Socket2.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ServerBAO.o Indi_Stellarium/src/ServerBAO.cpp
+
+Socket2.o: Indi_Stellarium/src/Socket2.cpp Indi_Stellarium/src/Socket2.hpp
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Socket2.o Indi_Stellarium/src/Socket2.cpp
+
+baseclient.o: libs/indibase/baseclient.cpp libs/indibase/baseclient.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		libs/indibase/basedriver.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o baseclient.o libs/indibase/baseclient.cpp
+
+basedriver.o: libs/indibase/basedriver.cpp libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		libs/indibase/baseclient.h \
+		libs/indicom.h \
+		base64.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o basedriver.o libs/indibase/basedriver.cpp
+
+defaultdriver.o: libs/indibase/defaultdriver.cpp libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indicom.h \
+		base64.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o defaultdriver.o libs/indibase/defaultdriver.cpp
+
+indiccd.o: libs/indibase/indiccd.cpp libs/indibase/indiccd.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indibase/indiguiderinterface.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indiccd.o libs/indibase/indiccd.cpp
+
+indidevice.o: libs/indibase/indidevice.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indidevice.o libs/indibase/indidevice.cpp
+
+indifilterinterface.o: libs/indibase/indifilterinterface.cpp libs/indibase/indifilterinterface.h \
+		libs/indibase/indibase.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indifilterinterface.o libs/indibase/indifilterinterface.cpp
+
+indifilterwheel.o: libs/indibase/indifilterwheel.cpp libs/indibase/indifilterwheel.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indibase/indifilterinterface.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indifilterwheel.o libs/indibase/indifilterwheel.cpp
+
+indifocuser.o: libs/indibase/indifocuser.cpp libs/indibase/indifocuser.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indifocuser.o libs/indibase/indifocuser.cpp
+
+indiguiderinterface.o: libs/indibase/indiguiderinterface.cpp libs/indibase/indiguiderinterface.h \
+		libs/indibase/indibase.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indiguiderinterface.o libs/indibase/indiguiderinterface.cpp
+
+inditelescope.o: libs/indibase/inditelescope.cpp libs/indibase/inditelescope.h \
+		libs/indibase/defaultdriver.h \
+		libs/indibase/basedriver.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h \
+		libs/indibase/indibase.h \
+		indidriver.h \
+		libs/indicom.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o inditelescope.o libs/indibase/inditelescope.cpp
+
+indiusbdevice.o: libs/indibase/indiusbdevice.cpp libs/indibase/indiusbdevice.h \
+		libs/indibase/indibase.h \
+		indiapi.h \
+		indidevapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o indiusbdevice.o libs/indibase/indiusbdevice.cpp
+
+ccvt_c2.o: libs/webcam/ccvt_c2.c libs/webcam/ccvt.h \
+		libs/webcam/ccvt_types.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o ccvt_c2.o libs/webcam/ccvt_c2.c
+
+ccvt_misc.o: libs/webcam/ccvt_misc.c libs/webcam/ccvt.h \
+		libs/webcam/ccvt_types.h
+	$(CC) -c $(CFLAGS) $(INCPATH) -o ccvt_misc.o libs/webcam/ccvt_misc.c
+
+port.o: libs/webcam/port.cpp libs/webcam/port.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o port.o libs/webcam/port.cpp
+
+PPort.o: libs/webcam/PPort.cpp libs/webcam/PPort.h \
+		libs/webcam/port.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o PPort.o libs/webcam/PPort.cpp
+
+v4l1_base.o: libs/webcam/v4l1_base.cpp libs/webcam/ccvt.h \
+		libs/webcam/v4l1_base.h \
+		libs/webcam/videodev.h \
+		eventloop.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o v4l1_base.o libs/webcam/v4l1_base.cpp
+
+v4l1_pwc.o: libs/webcam/v4l1_pwc.cpp libs/webcam/ccvt.h \
+		libs/webcam/pwc-ioctl.h \
+		libs/webcam/v4l1_pwc.h \
+		libs/webcam/videodev.h \
+		libs/webcam/v4l1_base.h \
+		eventloop.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o v4l1_pwc.o libs/webcam/v4l1_pwc.cpp
+
+v4l2_base.o: libs/webcam/v4l2_base.cpp libs/webcam/ccvt.h \
+		libs/webcam/v4l2_base.h \
+		libs/webcam/videodev2.h \
+		eventloop.h \
+		indidevapi.h \
+		indiapi.h \
+		libs/lilxml.h
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o v4l2_base.o libs/webcam/v4l2_base.cpp
+
+CMakeCCompilerId.o: libindi_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c 
+	$(CC) -c $(CFLAGS) $(INCPATH) -o CMakeCCompilerId.o libindi_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
+
+CMakeCXXCompilerId.o: libindi_build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o CMakeCXXCompilerId.o libindi_build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
+
+moc_baoqt.o: moc_baoqt.cpp 
+	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_baoqt.o moc_baoqt.cpp
+
+####### Install
+
+install:   FORCE
+
+uninstall:   FORCE
+
+FORCE:
+
Index: /BAORadio/libindi/libindi/libindi.pro
===================================================================
--- /BAORadio/libindi/libindi/libindi.pro	(revision 678)
+++ /BAORadio/libindi/libindi/libindi.pro	(revision 678)
@@ -0,0 +1,223 @@
+######################################################################
+# Automatically generated by qmake (2.01a) mar. mai 15 01:36:08 2012
+######################################################################
+
+TEMPLATE = app
+TARGET = 
+DEPENDPATH += . \
+              BAOControl \
+              BAOTest \
+              communs \
+              examples \
+              libindi_build \
+              libs \
+              tools \
+              drivers/ccd \
+              drivers/filter_wheel \
+              drivers/focuser \
+              drivers/telescope \
+              drivers/video \
+              Indi_Stellarium/src \
+              libs/indibase \
+              libs/webcam \
+              libindi_build/CMakeFiles/CompilerIdC \
+              libindi_build/CMakeFiles/CompilerIdCXX
+INCLUDEPATH += . \
+               libs \
+               BAOControl \
+               communs \
+               libs/indibase \
+               examples \
+               drivers/ccd \
+               drivers/filter_wheel \
+               drivers/focuser \
+               drivers/telescope \
+               drivers/video \
+               libs/webcam \
+               Indi_Stellarium/src
+
+# Input
+HEADERS += base64.h \
+           config.h \
+           eventloop.h \
+           fq.h \
+           indiapi.h \
+           indidevapi.h \
+           indidriver.h \
+           BAOControl/baocontrol.h \
+           BAOControl/baoqt.h \
+           communs/alignement.h \
+           communs/alt2motor.h \
+           communs/astro.h \
+           communs/ClientSocket.h \
+           communs/const.h \
+           communs/exception.h \
+           communs/filetools.h \
+           communs/logs.h \
+           communs/ServerSocket.h \
+           communs/Socket.h \
+           communs/SocketException.h \
+           examples/tutorial_client.h \
+           examples/tutorial_four.h \
+           libindi_build/config.h \
+           libs/indicom.h \
+           libs/lilxml.h \
+           drivers/ccd/ccd_simulator.h \
+           drivers/filter_wheel/filter_simulator.h \
+           drivers/focuser/robofocus.h \
+           drivers/focuser/robofocusdriver.h \
+           drivers/focuser/tcfs.h \
+           drivers/telescope/BAO.h \
+           drivers/telescope/celestrongps.h \
+           drivers/telescope/celestronprotocol.h \
+           drivers/telescope/ieq45.h \
+           drivers/telescope/ieq45driver.h \
+           drivers/telescope/lx200_16.h \
+           drivers/telescope/lx200ap.h \
+           drivers/telescope/lx200apdriver.h \
+           drivers/telescope/lx200aplib.h \
+           drivers/telescope/lx200autostar.h \
+           drivers/telescope/lx200basic.h \
+           drivers/telescope/lx200classic.h \
+           drivers/telescope/lx200driver.h \
+           drivers/telescope/lx200fs2.h \
+           drivers/telescope/lx200generic.h \
+           drivers/telescope/lx200gps.h \
+           drivers/telescope/magellan1.h \
+           drivers/telescope/magellandriver.h \
+           drivers/telescope/orionatlas.h \
+           drivers/telescope/synscanmount.h \
+           drivers/telescope/telescope_simulator.h \
+           drivers/telescope/temmadriver.h \
+           drivers/video/stvdriver.h \
+           drivers/video/v4ldriver.h \
+           drivers/video/v4lphilips.h \
+           Indi_Stellarium/src/Connection.hpp \
+           Indi_Stellarium/src/Listener.hpp \
+           Indi_Stellarium/src/LogFile.hpp \
+           Indi_Stellarium/src/Server.hpp \
+           Indi_Stellarium/src/ServerBAO.hpp \
+           Indi_Stellarium/src/Socket2.hpp \
+           libs/indibase/baseclient.h \
+           libs/indibase/basedriver.h \
+           libs/indibase/defaultdriver.h \
+           libs/indibase/indibase.h \
+           libs/indibase/indiccd.h \
+           libs/indibase/indidevice.h \
+           libs/indibase/indifilterinterface.h \
+           libs/indibase/indifilterwheel.h \
+           libs/indibase/indifocuser.h \
+           libs/indibase/indiguiderinterface.h \
+           libs/indibase/inditelescope.h \
+           libs/indibase/indiusbdevice.h \
+           libs/webcam/ccvt.h \
+           libs/webcam/ccvt_types.h \
+           libs/webcam/port.h \
+           libs/webcam/PPort.h \
+           libs/webcam/pwc-ioctl.h \
+           libs/webcam/v4l1_base.h \
+           libs/webcam/v4l1_pwc.h \
+           libs/webcam/v4l2_base.h \
+           libs/webcam/vcvt.h \
+           libs/webcam/videodev.h \
+           libs/webcam/videodev2.h
+FORMS += BAOControl/baoqt.ui
+SOURCES += base64.c \
+           eventloop.c \
+           fq.c \
+           indidriver.c \
+           indidrivermain.c \
+           indiserver.c \
+           BAOControl/baocontrol.cpp \
+           BAOControl/baoqt.cpp \
+           BAOControl/main.cpp \
+           BAOTest/BAOtest_main.cpp \
+           communs/alignement.cpp \
+           communs/astro.cpp \
+           communs/ClientSocket.cpp \
+           communs/exception.cpp \
+           communs/filetools.cpp \
+           communs/logs.cpp \
+           communs/ServerSocket.cpp \
+           communs/Socket.cpp \
+           examples/tutorial_ccdpreview.c \
+           examples/tutorial_client.cpp \
+           examples/tutorial_dome.c \
+           examples/tutorial_four.cpp \
+           examples/tutorial_one.c \
+           examples/tutorial_rain.c \
+           examples/tutorial_three.c \
+           examples/tutorial_two.c \
+           libs/indicom.c \
+           libs/lilxml.c \
+           tools/compiler.c \
+           tools/evalINDI.c \
+           tools/getINDIproperty.c \
+           tools/setINDIproperty.c \
+           drivers/ccd/ccd_simulator.cpp \
+           drivers/ccd/fli_ccd.c \
+           drivers/filter_wheel/filter_simulator.cpp \
+           drivers/filter_wheel/fli_wheel.c \
+           drivers/filter_wheel/trutech_wheel.c \
+           drivers/focuser/fli_pdf.c \
+           drivers/focuser/robofocus.c \
+           drivers/focuser/robofocus.cpp \
+           drivers/focuser/robofocusdriver.c \
+           drivers/focuser/tcfs.cpp \
+           drivers/telescope/BAO.cpp \
+           drivers/telescope/celestrongps.cpp \
+           drivers/telescope/celestronprotocol.c \
+           drivers/telescope/ieq45.cpp \
+           drivers/telescope/ieq45driver.c \
+           drivers/telescope/intelliscope.c \
+           drivers/telescope/lx200_16.cpp \
+           drivers/telescope/lx200ap.cpp \
+           drivers/telescope/lx200apdriver.c \
+           drivers/telescope/lx200autostar.cpp \
+           drivers/telescope/lx200basic.cpp \
+           drivers/telescope/lx200classic.cpp \
+           drivers/telescope/lx200driver.c \
+           drivers/telescope/lx200fs2.cpp \
+           drivers/telescope/lx200generic.cpp \
+           drivers/telescope/lx200gps.cpp \
+           drivers/telescope/magellan1.cpp \
+           drivers/telescope/magellandriver.c \
+           drivers/telescope/orionatlas.cpp \
+           drivers/telescope/skycommander.c \
+           drivers/telescope/synscanmount.cpp \
+           drivers/telescope/telescope_simulator.cpp \
+           drivers/telescope/temmadriver.c \
+           drivers/video/indi_lpi.cpp \
+           drivers/video/indi_philips.cpp \
+           drivers/video/indi_v4l.cpp \
+           drivers/video/stv.c \
+           drivers/video/stvdriver.c \
+           drivers/video/v4ldriver.cpp \
+           drivers/video/v4lphilips.cpp \
+           Indi_Stellarium/src/Connection.cpp \
+           Indi_Stellarium/src/Listener.cpp \
+           Indi_Stellarium/src/LogFile.cpp \
+           Indi_Stellarium/src/MainBAO.cpp \
+           Indi_Stellarium/src/Server.cpp \
+           Indi_Stellarium/src/ServerBAO.cpp \
+           Indi_Stellarium/src/Socket2.cpp \
+           libs/indibase/baseclient.cpp \
+           libs/indibase/basedriver.cpp \
+           libs/indibase/defaultdriver.cpp \
+           libs/indibase/indiccd.cpp \
+           libs/indibase/indidevice.cpp \
+           libs/indibase/indifilterinterface.cpp \
+           libs/indibase/indifilterwheel.cpp \
+           libs/indibase/indifocuser.cpp \
+           libs/indibase/indiguiderinterface.cpp \
+           libs/indibase/inditelescope.cpp \
+           libs/indibase/indiusbdevice.cpp \
+           libs/webcam/ccvt_c2.c \
+           libs/webcam/ccvt_misc.c \
+           libs/webcam/port.cpp \
+           libs/webcam/PPort.cpp \
+           libs/webcam/v4l1_base.cpp \
+           libs/webcam/v4l1_pwc.cpp \
+           libs/webcam/v4l2_base.cpp \
+           libindi_build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c \
+           libindi_build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp
Index: /BAORadio/libindi/libindi/ui_baoqt.h
===================================================================
--- /BAORadio/libindi/libindi/ui_baoqt.h	(revision 678)
+++ /BAORadio/libindi/libindi/ui_baoqt.h	(revision 678)
@@ -0,0 +1,65 @@
+/********************************************************************************
+** Form generated from reading UI file 'baoqt.ui'
+**
+** Created
+**      by: Qt User Interface Compiler version 4.7.4
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_BAOQT_H
+#define UI_BAOQT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QDialogButtonBox>
+#include <QtGui/QHeaderView>
+#include <QtGui/QPushButton>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_BAOqt
+{
+public:
+    QDialogButtonBox *buttonBox;
+    QPushButton *pushButton;
+
+    void setupUi(QDialog *BAOqt)
+    {
+        if (BAOqt->objectName().isEmpty())
+            BAOqt->setObjectName(QString::fromUtf8("BAOqt"));
+        BAOqt->resize(400, 300);
+        buttonBox = new QDialogButtonBox(BAOqt);
+        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
+        buttonBox->setGeometry(QRect(30, 240, 341, 32));
+        buttonBox->setOrientation(Qt::Horizontal);
+        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
+        pushButton = new QPushButton(BAOqt);
+        pushButton->setObjectName(QString::fromUtf8("pushButton"));
+        pushButton->setGeometry(QRect(30, 30, 85, 27));
+
+        retranslateUi(BAOqt);
+        QObject::connect(buttonBox, SIGNAL(accepted()), BAOqt, SLOT(accept()));
+        QObject::connect(buttonBox, SIGNAL(rejected()), BAOqt, SLOT(reject()));
+
+        QMetaObject::connectSlotsByName(BAOqt);
+    } // setupUi
+
+    void retranslateUi(QDialog *BAOqt)
+    {
+        BAOqt->setWindowTitle(QApplication::translate("BAOqt", "Dialog", 0, QApplication::UnicodeUTF8));
+        pushButton->setText(QApplication::translate("BAOqt", "PushButton", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class BAOqt: public Ui_BAOqt {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_BAOQT_H
