One more pass at reorgs.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/bucket
|
||||
|
||||
lib_LIBRARIES = libsgbucket.a
|
||||
|
||||
include_HEADERS = newbucket.hxx
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <simgear/fgpath.hxx>
|
||||
#include <simgear/misc/fgpath.hxx>
|
||||
|
||||
#include "newbucket.hxx"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/debug
|
||||
|
||||
EXTRA_DIST = logtest.cxx
|
||||
|
||||
lib_LIBRARIES = libsgdebug.a
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/math
|
||||
|
||||
lib_LIBRARIES = libsgmath.a
|
||||
|
||||
include_HEADERS = \
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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" {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
includedir = @includedir@/metar
|
||||
|
||||
lib_LIBRARIES = libsgmetar.a
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
includedir = @includedir@/misc
|
||||
|
||||
if HAVE_ZLIB
|
||||
ZLIB_INCL =
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include STL_STRING
|
||||
|
||||
#include <simgear/zfstream.hxx>
|
||||
#include <simgear/misc/zfstream.hxx>
|
||||
|
||||
FG_USING_STD(string);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include <GL/glut.h>
|
||||
#include <simgear/xgl.h>
|
||||
#include <simgear/xgl/xgl.h>
|
||||
|
||||
#include "GLBitmaps.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/screen
|
||||
|
||||
lib_LIBRARIES = libsgscreen.a
|
||||
|
||||
include_HEADERS = screen-dump.hxx
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include <GL/glut.h>
|
||||
#include <simgear/xgl.h>
|
||||
#include <simgear/xgl/xgl.h>
|
||||
|
||||
#include "screen-dump.hxx"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/serial
|
||||
|
||||
noinst_PROGRAMS = testserial
|
||||
|
||||
lib_LIBRARIES = libsgserial.a
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <simgear/logstream.hxx>
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
||||
#include "serial.hxx"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <string>
|
||||
|
||||
#include <simgear/logstream.hxx>
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
||||
#include "serial.hxx"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
includedir = @includedir@/xgl
|
||||
|
||||
lib_LIBRARIES = libsgxgl.a
|
||||
|
||||
include_HEADERS = xgl.h
|
||||
|
||||
Reference in New Issue
Block a user