]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/Makefile.am
#includes based off of srcdir rather than builddir.
[simgear.git] / simgear / sky / Makefile.am
index d71c6201cbe12dc15ab9217bb5b3f8ffcec5743f..7264dd2ee86b5a340774d28a6a4845535399bcac 100644 (file)
@@ -1,11 +1,23 @@
-noinst_LIBRARIES = libSky.a
+includedir = @includedir@/sky
 
-libSky_a_SOURCES = \
-       dome.cxx dome.hxx \
-       moon.cxx moon.hxx \
-       oursun.cxx oursun.hxx \
-       sky.cxx sky.hxx \
-       sphere.cxx sphere.hxx \
-       stars.cxx stars.hxx
+lib_LIBRARIES = libsgsky.a
 
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
+include_HEADERS = \
+       cloud.hxx \
+       dome.hxx \
+       moon.hxx \
+       oursun.hxx \
+       sky.hxx \
+       sphere.hxx \
+       stars.hxx
+
+libsgsky_a_SOURCES = \
+       cloud.cxx \
+       dome.cxx \
+       moon.cxx \
+       oursun.cxx \
+       sky.cxx \
+       sphere.cxx \
+       stars.cxx
+
+INCLUDES += -I$(top_srcdir)