]> 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 fe5d1b12c555b407c43e64e6884b03f79f3c2364..7264dd2ee86b5a340774d28a6a4845535399bcac 100644 (file)
@@ -1,9 +1,23 @@
-noinst_LIBRARIES = libSky.a
+includedir = @includedir@/sky
 
-libSky_a_SOURCES = \
-       skydome.cxx skydome.hxx \
-       skymoon.cxx skymoon.hxx \
-       skysun.cxx skysun.hxx \
-       sphere.cxx sphere.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)