]> git.mxchange.org Git - simgear.git/commitdiff
One more pass at reorgs.
authorcurt <curt>
Wed, 16 Feb 2000 22:00:51 +0000 (22:00 +0000)
committercurt <curt>
Wed, 16 Feb 2000 22:00:51 +0000 (22:00 +0000)
24 files changed:
mksymlinks.sh
simgear/bucket/Makefile.am
simgear/bucket/newbucket.cxx
simgear/debug/Makefile.am
simgear/debug/logstream.hxx
simgear/math/Makefile.am
simgear/math/fg_geodesy.cxx
simgear/math/fg_geodesy.hxx
simgear/math/fg_types.hxx
simgear/math/interpolater.cxx
simgear/math/mat3.h
simgear/math/polar3d.hxx
simgear/math/vector.hxx
simgear/metar/Makefile.am
simgear/misc/Makefile.am
simgear/misc/fgstream.hxx
simgear/misc/texcoord.hxx
simgear/screen/GLBitmaps.cxx
simgear/screen/Makefile.am
simgear/screen/screen-dump.cxx
simgear/serial/Makefile.am
simgear/serial/serial.cxx
simgear/serial/testserial.cxx
simgear/xgl/Makefile.am

index 06b894210962035b3a54eb3b6679a84bf3d02ba3..e654cf19c61142d6227cb06b98a93f9d89a76b42 100755 (executable)
@@ -6,21 +6,34 @@ echo "running $0 to rebuild simgear include links"
 # toast the old directory
 rm -rf src/simgear
 mkdir src/simgear
+mkdir src/simgear/bucket
+mkdir src/simgear/debug
+mkdir src/simgear/math
+mkdir src/simgear/misc
+mkdir src/simgear/screen
+mkdir src/simgear/serial
+mkdir src/simgear/xgl
+mkdir src/simgear/zlib
 
 # build new links
 ln -s ../include/compiler.h src/simgear/compiler.h
 ln -s ../include/constants.h src/simgear/constants.h
-ln -s ../debug/debug_types.h src/simgear/debug_types.h
-ln -s ../math/fg_memory.h src/simgear/fg_memory.h
 ln -s ../include/fg_traits.hxx src/simgear/fg_traits.hxx
-ln -s ../math/fg_types.hxx src/simgear/fg_types.hxx
 ln -s ../include/fg_zlib.h src/simgear/fg_zlib.h
-ln -s ../misc/fgpath.hxx src/simgear/fgpath.hxx
-ln -s ../misc/fgstream.hxx src/simgear/fgstream.hxx
-ln -s ../debug/logstream.hxx src/simgear/logstream.hxx
-ln -s ../math/mat3.h src/simgear/mat3.h
-ln -s ../bucket/newbucket.hxx src/simgear/newbucket.hxx
-ln -s ../math/point3d.hxx src/simgear/point3d.hxx
-ln -s ../math/polar3d.hxx src/simgear/polar3d.hxx
-ln -s ../xgl/xgl.h src/simgear/xgl.h
-ln -s ../misc/zfstream.hxx src/simgear/zfstream.hxx
+
+ln -s ../../bucket/newbucket.hxx src/simgear/bucket/newbucket.hxx
+
+ln -s ../../debug/debug_types.h src/simgear/debug/debug_types.h
+ln -s ../../debug/logstream.hxx src/simgear/debug/logstream.hxx
+
+ln -s ../../math/fg_memory.h src/simgear/math/fg_memory.h
+ln -s ../../math/fg_types.hxx src/simgear/math/fg_types.hxx
+ln -s ../../math/mat3.h src/simgear/math/mat3.h
+ln -s ../../math/point3d.hxx src/simgear/math/point3d.hxx
+ln -s ../../math/polar3d.hxx src/simgear/math/polar3d.hxx
+
+ln -s ../../misc/fgpath.hxx src/simgear/misc/fgpath.hxx
+ln -s ../../misc/fgstream.hxx src/simgear/misc/fgstream.hxx
+ln -s ../../misc/zfstream.hxx src/simgear/misc/zfstream.hxx
+
+ln -s ../../xgl/xgl.h src/simgear/xgl/xgl.h
index 890ee96712575761b2024bb89b1eafe5ed14e897..d2cc18836b81c5a13c5b37c620f74172599bc2eb 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/bucket
+
 lib_LIBRARIES = libsgbucket.a
 
 include_HEADERS = newbucket.hxx
index 071ee3a97d2695546b3a62951b51fd4c599678b3..ac6e04c2d97d3910cc8e087c4c773290f9d27bcf 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <math.h>
 
-#include <simgear/fgpath.hxx>
+#include <simgear/misc/fgpath.hxx>
 
 #include "newbucket.hxx"
 
index b3a538980527bca6aca0d49ff7cd9b455f3e3b7a..255f0252bfb9f4171efad7782ddcc54cf6821374 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/debug
+
 EXTRA_DIST = logtest.cxx
 
 lib_LIBRARIES = libsgdebug.a
index bc1a4fbf77f360c5adc74cb5906b1037a3e35708..d8cfb066a64eee4602db87418a1d5f7ccc5e7a8b 100644 (file)
@@ -38,7 +38,7 @@
 # include <simgear/fg_traits.hxx>
 #endif
 
-#include <simgear/debug_types.h>
+#include <simgear/debug/debug_types.h>
 
 #ifndef FG_HAVE_NATIVE_SGI_COMPILERS
 FG_USING_STD(streambuf);
index 493262e319d3e18506edf4085561df4c32608431..5bac7d07f346cecdf0aa6c3131a20fd42dbc8298 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/math
+
 lib_LIBRARIES = libsgmath.a
 
 include_HEADERS = \
index 023776355e2fa6db91a42939db45219723b2b6cb..867d8170e8798931838933b140bf787fe9db0442 100644 (file)
@@ -17,8 +17,8 @@
 # include <errno.h>
 #endif
 
-#include <simgear/logstream.hxx>
 #include <simgear/constants.h>
+#include <simgear/debug/logstream.hxx>
 
 #include "point3d.hxx"
 #include "fg_geodesy.hxx"
index 9d2bc209ff266c5cb2ed2cb3ef11e6d326f78317..cff20210595489be71b40b554eb03d2250f5d2a7 100644 (file)
@@ -17,8 +17,8 @@
 #endif                                   
 
 
-#include <simgear/point3d.hxx>
-#include <simgear/polar3d.hxx>
+#include <simgear/math/point3d.hxx>
+#include <simgear/math/polar3d.hxx>
 
 
 // fgGeocToGeod(lat_geoc, radius, *lat_geod, *alt, *sea_level_r)
index 419c2eba81a9c3e7afd9bd3d422381c3ccd0613c..ca87aa1d4e21d2fa7d26c99ff2cb41c7c0f68645 100644 (file)
@@ -35,7 +35,7 @@
 #include STL_STRING
 #include <vector>
 
-#include <simgear/point3d.hxx>
+#include <simgear/math/point3d.hxx>
 
 FG_USING_STD(vector);
 FG_USING_STD(string);
index fb6fdfef482130d8c2cb2d80a370f108ac30ff33..732f248cb7126e4c1a94e51e1f9b7408afdb42a5 100644 (file)
@@ -31,9 +31,9 @@
 
 #include STL_STRING
 
-#include <simgear/logstream.hxx>
 #include <simgear/fg_zlib.h>
-#include <simgear/fgstream.hxx>
+#include <simgear/debug/logstream.hxx>
+#include <simgear/misc/fgstream.hxx>
 
 #include "interpolater.hxx"
 
index 63f741f7305a2d209c4d2e2f71cee73b428b4427..385933af4c17b26dff80385a66d399009395266d 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdio.h>
 
 #include <string.h>
-#include <simgear/fg_memory.h>
+#include <simgear/math/fg_memory.h>
 
 #ifdef __cplusplus                                                          
 extern "C" {                            
index 8e42fdb03216b20249e58acfe9537fe6cb2fb82b..ee0dd2c38645d90dda51bcf0d6810c2b6e6960ef 100644 (file)
@@ -31,7 +31,7 @@
 
 
 #include <simgear/constants.h>
-#include <simgear/point3d.hxx>
+#include <simgear/math/point3d.hxx>
 
 
 // Find the Altitude above the Ellipsoid (WGS84) given the Earth
index 006b192428a327b11a2340932997923ff0a11477..e4692c1527c393c5f9af1d4f58a8ffb5b518b28e 100644 (file)
@@ -37,7 +37,7 @@
 
 #include <plib/sg.h>
 
-#include <simgear/mat3.h>
+#include <simgear/math/mat3.h>
 
 
 // Map a vector onto the plane specified by normal
index 5916aa93b5d50e2c69d1b1ec2faa7ac93c50d135..cbe88c7907004638ac17ff6ff39876cdaa63f276 100644 (file)
@@ -1,4 +1,4 @@
-## Process this file with automake to produce Makefile.in
+includedir = @includedir@/metar
 
 lib_LIBRARIES = libsgmetar.a
 
index dcf388efd2cc2ab4a794206a94178c08cb7f4c15..26112ff700f9bc21b1227aec579c616c026859f1 100644 (file)
@@ -1,4 +1,4 @@
-## Process this file with automake to produce Makefile.in
+includedir = @includedir@/misc
 
 if HAVE_ZLIB
 ZLIB_INCL =
index ee4c61ba0c5f5c7ef7b5b33c4f67159fbc3d6a76..4762266c8aec11966b43588f6a270e9005d3f836 100644 (file)
@@ -45,7 +45,7 @@
 
 #include STL_STRING
 
-#include <simgear/zfstream.hxx>
+#include <simgear/misc/zfstream.hxx>
 
 FG_USING_STD(string);
 
index 1be573baaf22e4987bbe6af58552f9d5dceb8977..36c7c803ab7d4758b053b7a3594e49775a6b1e20 100644 (file)
@@ -30,8 +30,8 @@
 #endif                                   
 
 
-#include <simgear/newbucket.hxx>
-#include <simgear/fg_types.hxx>
+#include <simgear/bucket/newbucket.hxx>
+#include <simgear/math/fg_types.hxx>
 
 
 // traverse the specified fan/strip/list of vertices and attempt to
index 225f5cb9e7ae93637ed98796664699c9ea9eef89..eef3e7ad023d091fe5730676f7d7586f052983c6 100755 (executable)
@@ -11,7 +11,7 @@
 #include <limits.h>
 
 #include <GL/glut.h>
-#include <simgear/xgl.h>
+#include <simgear/xgl/xgl.h>
 
 #include "GLBitmaps.h"
 
index 84c9832e38841175a15a78d20a5bb0e25e07cd01..4593565d332fbb0959fe5dd679de5cc3341fa72f 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/screen
+
 lib_LIBRARIES = libsgscreen.a
 
 include_HEADERS = screen-dump.hxx
index 4be5096068fdbb202c8b00064491ca8c77233dfd..3ee403cc7586fcb8cd73e8ecee86385b628fe0c1 100644 (file)
@@ -32,7 +32,7 @@
 #include <limits.h>
 
 #include <GL/glut.h>
-#include <simgear/xgl.h>
+#include <simgear/xgl/xgl.h>
 
 #include "screen-dump.hxx"
 
index 7ef69a90d6425576545457d800c029930427343a..c92c1fc4d9d3a207dd00630b0c8b188e7f6cb67d 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/serial
+
 noinst_PROGRAMS = testserial
 
 lib_LIBRARIES = libsgserial.a
index 7bac809c06aadcd8bc1fab5960d6ea22aeb4ce7f..72e4cdef970c056e9852419c0a7f870270a5d589 100644 (file)
@@ -43,7 +43,7 @@
 #  include <unistd.h>
 #endif
 
-#include <simgear/logstream.hxx>
+#include <simgear/debug/logstream.hxx>
 
 #include "serial.hxx"
 
index 0ad05f09b8f3cb41ba0d2cbf6e3621d9fda98db6..d1e9db96b53b474017d6f1c121cdbe70b8953d4b 100644 (file)
@@ -1,6 +1,6 @@
 #include <string>
 
-#include <simgear/logstream.hxx>
+#include <simgear/debug/logstream.hxx>
 
 #include "serial.hxx"
 
index 13d95f707da7ea8fdfb50d1fe6195da36237ba88..3b976153d468d9f922b4a3a38a997f9ca95fe7f4 100644 (file)
@@ -1,3 +1,5 @@
+includedir = @includedir@/xgl
+
 lib_LIBRARIES = libsgxgl.a
 
 include_HEADERS = xgl.h