-noinst_LIBRARIES = libAstro.a
+includedir = @includedir@/ephemeris
-libAstro_a_SOURCES = \
- celestialBody.cxx celestialBody.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 \
+ moonpos.hxx \
+ neptune.hxx \
+ saturn.hxx \
+ star.hxx \
+ stardata.hxx \
+ uranus.hxx \
+ venus.hxx
+
+libsgephem_a_SOURCES = \
+ celestialBody.cxx \
+ ephemeris.cxx \
+ jupiter.cxx \
+ mars.cxx \
+ mercury.cxx \
+ moonpos.cxx \
+ neptune.cxx \
pluto.hxx \
- saturn.cxx saturn.hxx \
- sky.cxx sky.hxx \
- solarsystem.cxx solarsystem.hxx \
- star.cxx star.hxx \
- stars.cxx stars.hxx \
- uranus.cxx uranus.hxx \
- venus.cxx venus.hxx
+ saturn.cxx \
+ star.cxx \
+ stardata.cxx \
+ uranus.cxx \
+ venus.cxx
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+if OLD_AUTOMAKE
+INCLUDES += -I$(top_srcdir)
+else
+INCLUDES = -I$(top_srcdir)
+endif