-noinst_LIBRARIES = libEphemeris.a
+includedir = @includedir@/ephemeris
-libEphemeris_a_SOURCES = \
- celestialBody.cxx celestialBody.hxx \
- ephemeris.cxx ephemeris.hxx \
- jupiter.cxx jupiter.hxx \
- mars.cxx mars.hxx \
- mercury.cxx mercury.hxx \
- moon.cxx moon.hxx \
- neptune.cxx neptune.hxx \
+lib_LIBRARIES = libsgephem.a
+
+include_HEADERS = \
+ celestialBody.hxx \
+ ephemeris.hxx \
+ jupiter.hxx \
+ mars.hxx \
+ mercury.hxx \
+ moon.hxx \
+ neptune.hxx \
+ saturn.hxx \
+ star.hxx \
+ stars.hxx \
+ uranus.hxx \
+ venus.hxx
+
+libsgephem_a_SOURCES = \
+ celestialBody.cxx \
+ ephemeris.cxx \
+ jupiter.cxx \
+ mars.cxx \
+ mercury.cxx \
+ moon.cxx \
+ neptune.cxx \
pluto.hxx \
- saturn.cxx saturn.hxx \
- star.cxx star.hxx \
- stars.cxx stars.hxx \
- uranus.cxx uranus.hxx \
- venus.cxx venus.hxx
+ saturn.cxx \
+ star.cxx \
+ stars.cxx \
+ uranus.cxx \
+ venus.cxx
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+INCLUDES += -I$(top_builddir)
#include <simgear/constants.h>
-
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
class Star;
#include <plib/sg.h>
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
#include "star.hxx"
#include "moon.hxx"
#ifndef _JUPITER_HXX_
#define _JUPITER_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#ifndef _MARS_HXX_
#define _MARS_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#ifndef _MERCURY_HXX_
#define _MERCURY_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/fgpath.hxx>
-#include <Main/options.hxx>
-#include <Objects/texload.h>
-
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
-#include <FDM/flight.hxx>
+// #include <FDM/flight.hxx>
#include "moon.hxx"
Ls, Lm, D, F, mpar, gclat, rho, HA, g,
geoRa, geoDec;
- fgAIRCRAFT *air;
- FGInterface *f;
-
- air = ¤t_aircraft;
- f = air->fdm_state;
-
updateOrbElements(t);
actTime = fgCalcActTime(t);
#include <simgear/constants.h>
-
-#include <Aircraft/aircraft.hxx>
-#include <Main/views.hxx>
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
#include "celestialBody.hxx"
#include "star.hxx"
#ifndef _NEPTUNE_HXX_
#define _NEPTUNE_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#ifndef _SATURN_HXX_
#define _SATURN_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#include <simgear/debug/logstream.hxx>
-#include <Time/sunpos.hxx>
-#include <Time/light.hxx>
-#include <Main/options.hxx>
-
#include "star.hxx"
#define _STAR_HXX_
-#include <Time/fg_time.hxx>
+// #include <Time/fg_time.hxx>
#include "celestialBody.hxx"
#ifndef _URANUS_HXX_
#define _URANUS_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"
#ifndef _VENUS_HXX_
#define _VENUS_HXX_
-#include <Time/fg_time.hxx>
+#include <simgear/timing/fg_time.hxx>
+
#include "celestialBody.hxx"
#include "star.hxx"