]> git.mxchange.org Git - flightgear.git/commitdiff
Code reorganizations. Added a Lib/ directory for more general libraries.
authorcurt <curt>
Tue, 14 Apr 1998 02:25:54 +0000 (02:25 +0000)
committercurt <curt>
Tue, 14 Apr 1998 02:25:54 +0000 (02:25 +0000)
24 files changed:
AssemTris/Makefile.am
AssemTris/Makefile.in
AssemTris/assemtris.c
FixNode/Makefile.am
FixNode/Makefile.in
FixNode/fixnode.cxx
FixNode/main.cxx
FixObj/MAT3vec.c
FixObj/Makefile.am
FixObj/Makefile.in
SplitTris/MAT3vec.c
SplitTris/Makefile.am
SplitTris/Makefile.in
SplitTris/polar.c
SplitTris/splittris.c
Stripe_u/Makefile.in
Tools/Makefile.am
Tools/Makefile.in
Tri2obj/MAT3vec.c
Tri2obj/Makefile.am
Tri2obj/Makefile.in
Tri2obj/polar.c
Tri2obj/tri2obj.c
Triangle/Makefile.in

index aed5182190aa4817af2c973f3538dfd1447d6310..190b0ec5a41b283a53aec4f35d03409121f7b8a5 100644 (file)
@@ -29,13 +29,16 @@ bin_PROGRAMS = assemtris
 assemtris_SOURCES = assemtris.c assemtris.h
 
 assemtris_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:25:59  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 22:54:57  curt
 # Adopted Gnu automake/autoconf system.
 #
index 1bcc681b32a5f14223e97bdc50a1579da482355e..f40608c87c2957d177b26b5ce21cda13ccc1f476 100644 (file)
@@ -101,14 +101,14 @@ bin_PROGRAMS = assemtris
 assemtris_SOURCES = assemtris.c assemtris.h
 
 assemtris_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -117,8 +117,7 @@ X_LIBS = @X_LIBS@
 X_EXTRA_LIBS = @X_EXTRA_LIBS@
 X_PRE_LIBS = @X_PRE_LIBS@
 assemtris_OBJECTS =  assemtris.o
-assemtris_DEPENDENCIES =  \
-$(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+assemtris_DEPENDENCIES =  $(top_builddir)/Lib/Bucket/libBucket.la
 assemtris_LDFLAGS = 
 CFLAGS = @CFLAGS@
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
@@ -341,10 +340,13 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
 maintainer-clean
 
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:26:00  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 22:54:57  curt
 # Adopted Gnu automake/autoconf system.
 #
index 835dc756e9e568e909762f3cc7976285aaff946e..5729903865cdb554b64282f66a81e2ade8a1a649 100644 (file)
@@ -36,7 +36,7 @@
 // #include <Math/fg_geodesy.h>
 // #include <Math/mat3.h>
 // #include <Math/polar.h>
-#include <Scenery/Bucket/bucketutils.h>
+#include <Bucket/bucketutils.h>
 
 
 int nodecount = 0;
@@ -454,9 +454,12 @@ int main(int argc, char **argv) {
 
 
 /* $Log$
-/* Revision 1.6  1998/04/08 22:54:58  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.7  1998/04/14 02:26:00  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.6  1998/04/08 22:54:58  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.5  1998/03/03 16:00:52  curt
  * More c++ compile tweaks.
  *
index 4445f8400169c02641c85d2e216abade51bc9a16..fa6b8ef2da3e99c3484477b3b0bbfe010c99f546 100644 (file)
@@ -32,14 +32,22 @@ fixnode_SOURCES = \
        triload.cxx triload.hxx
 
 fixnode_LDADD = \
-       $(top_builddir)/Tools/DEM/libDEM.la \
-        $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/DEM/libDEM.la \
+        $(top_builddir)/Lib/Bucket/libBucket.la
 
-INCLUDES += -I.. -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
+
+# We can't build this with "-O2" (optimization) since this causes a seg fault
+# I haven't found a way to strip this out of the CXXFLAGS, so I'm just
+# setting it to "-g"
+CXXFLAGS = -g
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:26:02  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 23:05:54  curt
 # Adopted Gnu automake/autoconf system.
 #
index 091d3835a8732bfa62a3d70c209a25097e02fd42..828ad939a4848a5c3e545cfdec109f40cd2e05ea 100644 (file)
@@ -104,15 +104,20 @@ fixnode_SOURCES = \
        triload.cxx triload.hxx
 
 fixnode_LDADD = \
-       $(top_builddir)/Tools/DEM/libDEM.la \
-        $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/DEM/libDEM.la \
+        $(top_builddir)/Lib/Bucket/libBucket.la
+
+# We can't build this with "-O2" (optimization) since this causes a seg fault
+# I haven't found a way to strip this out of the CXXFLAGS, so I'm just
+# setting it to "-g"
+CXXFLAGS = -g
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -121,10 +126,9 @@ X_LIBS = @X_LIBS@
 X_EXTRA_LIBS = @X_EXTRA_LIBS@
 X_PRE_LIBS = @X_PRE_LIBS@
 fixnode_OBJECTS =  fixnode.o main.o triload.o
-fixnode_DEPENDENCIES =  $(top_builddir)/Tools/DEM/libDEM.la \
-$(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+fixnode_DEPENDENCIES =  $(top_builddir)/Lib/DEM/libDEM.la \
+$(top_builddir)/Lib/Bucket/libBucket.la
 fixnode_LDFLAGS = 
-CXXFLAGS = @CXXFLAGS@
 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
@@ -361,11 +365,14 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
 maintainer-clean
 
 
-INCLUDES += -I.. -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 #---------------------------------------------------------------------------
 # $Log$
-# Revision 1.1  1998/04/08 23:05:55  curt
+# Revision 1.2  1998/04/14 02:26:03  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
+# Revision 1.1  1998/04/08 23:05:54  curt
 # Adopted Gnu automake/autoconf system.
 #
 # Revision 1.4  1998/04/06 21:09:44  curt
index 8acf685a7144ea374f6e9c2d074562a1a55047b3..b4408fbe6810f59baa129661167e2149184fe16e 100644 (file)
@@ -53,7 +53,7 @@ void fixnodes( char *filename, fgDEM dem,
               nodes[i][1], nodes[i][2]); */
 
        nodes[i][2] = 
-           dem.interpolate_altitude(dem_data, nodes[i][0], nodes[i][1]);
+           dem.interpolate_altitude(nodes[i][0], nodes[i][1]);
 
        /* printf("Fixed: %d %.2f %.2f %.2f\n", i, nodes[i][0],
               nodes[i][1], nodes[i][2]); */
@@ -80,9 +80,12 @@ void fixnodes( char *filename, fgDEM dem,
 
 
 /* $Log$
-/* Revision 1.1  1998/04/08 23:05:56  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.2  1998/04/14 02:26:03  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.1  1998/04/08 23:05:56  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.5  1998/03/19 02:50:19  curt
  * Updated to support -lDEM class.
  *
index 840ee23ae862f84b8f0242e24357960dc219012d..8130ab8d43ed21f6005b2a5c940e531454b159b2 100644 (file)
@@ -93,7 +93,7 @@ int main(int argc, char **argv) {
 
     // load the corresponding dem file so we can interpolate elev values
     dem.open(demfile);
-    dem.parse(dem_data);
+    dem.parse();
     dem.close();
 
     // process all the *.1.node files in the specified directory
@@ -104,6 +104,9 @@ int main(int argc, char **argv) {
 
 
 // $Log$
+// Revision 1.2  1998/04/14 02:26:04  curt
+// Code reorganizations.  Added a Lib/ directory for more general libraries.
+//
 // Revision 1.1  1998/04/08 23:05:57  curt
 // Adopted Gnu automake/autoconf system.
 //
index 24f2939af2dd1f166abb06400d5291e225e01a9b..a971ebe10be0c4d495fab0f365e4c42bb15f4dda 100644 (file)
@@ -19,7 +19,7 @@
  * The two vectors involved may be the same.
  */
 
-#include <Math/mat3.h>
+#include "mat3.h"
 
 #ifndef TRUE
 #  define TRUE 1
index 3e33b5d82bba42343c45574176ec2b7e11f4e90c..4be395bd8ef2141fe20cba3d9b290ec15238a342 100644 (file)
@@ -30,11 +30,14 @@ fixobj_SOURCES = main.c mat3.h obj.c obj.h MAT3vec.c
 
 fixobj_LDADD =
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir)
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:26:05  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 23:19:35  curt
 # Adopted Gnu automake/autoconf system.
 #
index 6c2a3683ec0aee611159a4d1e90692819bdab5be..21f91603d7b8b29faf017ab8d638710a1c5e249c 100644 (file)
@@ -102,12 +102,12 @@ fixobj_SOURCES = main.c mat3.h obj.c obj.h MAT3vec.c
 
 fixobj_LDADD =
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -339,11 +339,14 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
 maintainer-clean
 
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir)
 
 #---------------------------------------------------------------------------
 # $Log$
-# Revision 1.1  1998/04/08 23:19:36  curt
+# Revision 1.2  1998/04/14 02:26:05  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
+# Revision 1.1  1998/04/08 23:19:35  curt
 # Adopted Gnu automake/autoconf system.
 #
 # Revision 1.2  1998/01/21 02:55:53  curt
index 24f2939af2dd1f166abb06400d5291e225e01a9b..a971ebe10be0c4d495fab0f365e4c42bb15f4dda 100644 (file)
@@ -19,7 +19,7 @@
  * The two vectors involved may be the same.
  */
 
-#include <Math/mat3.h>
+#include "mat3.h"
 
 #ifndef TRUE
 #  define TRUE 1
index ca10cc328f794df7deae4fb067b41a967809c2df..aeac1186e3fc5b8a7e791b05fbbc3ab350119463 100644 (file)
@@ -34,13 +34,16 @@ splittris_SOURCES = \
        splittris.c splittris.h
 
 splittris_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:26:06  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 23:21:10  curt
 # Adopted Gnu automake/autoconf system.
 #
index 7eab72faefa079c134b9bb061d4ce4c447160cb5..b72e5c75298d4d07026e54c5f7c45a15b8781e99 100644 (file)
@@ -106,14 +106,14 @@ splittris_SOURCES = \
        splittris.c splittris.h
 
 splittris_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -122,8 +122,7 @@ X_LIBS = @X_LIBS@
 X_EXTRA_LIBS = @X_EXTRA_LIBS@
 X_PRE_LIBS = @X_PRE_LIBS@
 splittris_OBJECTS =  MAT3vec.o fg_geodesy.o polar.o splittris.o
-splittris_DEPENDENCIES =  \
-$(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+splittris_DEPENDENCIES =  $(top_builddir)/Lib/Bucket/libBucket.la
 splittris_LDFLAGS = 
 CFLAGS = @CFLAGS@
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
@@ -347,11 +346,14 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
 maintainer-clean
 
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 #---------------------------------------------------------------------------
 # $Log$
-# Revision 1.1  1998/04/08 23:21:11  curt
+# Revision 1.2  1998/04/14 02:26:07  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
+# Revision 1.1  1998/04/08 23:21:10  curt
 # Adopted Gnu automake/autoconf system.
 #
 # Revision 1.3  1998/01/21 02:55:55  curt
index c304f183bc61c6fe11ff3fdf09adb32b8a51bfde..e67881971a7a801e22227f60f3f4f8ce85f67cf8 100644 (file)
 #include <math.h>
 #include <stdio.h>
 
-#include <Math/polar.h>
 #include <Include/fg_constants.h>
 
+#include "polar.h"
+
 
 /* we can save these values between calls for efficiency */
 static double st, ct, sp, cp;
@@ -101,9 +102,12 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p) {
 
 
 /* $Log$
-/* Revision 1.1  1998/04/08 23:21:12  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.2  1998/04/14 02:26:07  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.1  1998/04/08 23:21:12  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.5  1998/01/27 00:48:00  curt
  * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
  * system and commandline/config file processing code.
index 38b87b227c25d666752426372fd5c0d6cdf2ac16..e346285e4ef5119e16782ebc38724678ca52a0df 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <Include/fg_constants.h>
 #include <Include/fg_types.h>
-#include <Scenery/Bucket/bucketutils.h>
+#include <Bucket/bucketutils.h>
 
 #include "fg_geodesy.h"
 #include "mat3.h"
@@ -612,9 +612,12 @@ int main(int argc, char **argv) {
 
 
 /* $Log$
-/* Revision 1.7  1998/04/08 23:21:13  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.8  1998/04/14 02:26:08  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.7  1998/04/08 23:21:13  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.6  1998/03/03 15:36:13  curt
  * Tweaks for compiling with g++
  *
index f012c211e2d79982d66ce569fcf5fa4dd0f8a156..db9d8599e92398da6d17dcc41f96d451ed28500e 100644 (file)
@@ -100,12 +100,12 @@ strips_SOURCES = \
        triangulate.h triangulatex.h \
        util.c util.h
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
index e8ab7903427a52c269b97a8f90cbaf8019128430..f2a48ea4bb825ac4faf5e6c7d83375fc78baf575 100644 (file)
@@ -2,7 +2,6 @@ EXTRA_DIST = process-dem.pl
 
 SUBDIRS = \
        AssemTris \
-       DEM \
        Dem2node \
        FixNode \
        FixObj \
index 03dc3845e34b4ece45d4177c1da7142d1a9632ed..65188d20264881e4b9c4bd9f10d0a9d870f254d7 100644 (file)
@@ -75,7 +75,6 @@ EXTRA_DIST = process-dem.pl
 
 SUBDIRS = \
        AssemTris \
-       DEM \
        Dem2node \
        FixNode \
        FixObj \
@@ -86,7 +85,7 @@ SUBDIRS = \
 
 bin_SCRIPTS = process-dem.pl
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../Simulator/Include/config.h
+CONFIG_HEADER = ../Include/config.h
 CONFIG_CLEAN_FILES = 
 SCRIPTS =  $(bin_SCRIPTS)
 
index 24f2939af2dd1f166abb06400d5291e225e01a9b..a971ebe10be0c4d495fab0f365e4c42bb15f4dda 100644 (file)
@@ -19,7 +19,7 @@
  * The two vectors involved may be the same.
  */
 
-#include <Math/mat3.h>
+#include "mat3.h"
 
 #ifndef TRUE
 #  define TRUE 1
index 4b3cba1f173d88c72cd15c7dfce70e6c27bf53a9..13bece4605d87f89c132441046afb07ec84bed64 100644 (file)
@@ -34,13 +34,16 @@ tri2obj_SOURCES = \
        polar.c polar.h
 
 tri2obj_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1998/04/14 02:26:09  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
 # Revision 1.1  1998/04/08 23:22:13  curt
 # Adopted Gnu automake/autoconf system.
 #
index 7bac2edd12c4bfdd764766a44aec8b79d1454393..e344583f9c292a39b12daa45fafc3bcfd0780369 100644 (file)
@@ -106,14 +106,14 @@ tri2obj_SOURCES = \
        polar.c polar.h
 
 tri2obj_LDADD = \
-       $(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+       $(top_builddir)/Lib/Bucket/libBucket.la
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
@@ -122,8 +122,7 @@ X_LIBS = @X_LIBS@
 X_EXTRA_LIBS = @X_EXTRA_LIBS@
 X_PRE_LIBS = @X_PRE_LIBS@
 tri2obj_OBJECTS =  tri2obj.o MAT3vec.o fg_geodesy.o polar.o
-tri2obj_DEPENDENCIES =  \
-$(top_builddir)/Simulator/Scenery/Bucket/libBucket.la
+tri2obj_DEPENDENCIES =  $(top_builddir)/Lib/Bucket/libBucket.la
 tri2obj_LDFLAGS = 
 CFLAGS = @CFLAGS@
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
@@ -347,11 +346,14 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
 maintainer-clean
 
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
 #---------------------------------------------------------------------------
 # $Log$
-# Revision 1.1  1998/04/08 23:22:14  curt
+# Revision 1.2  1998/04/14 02:26:10  curt
+# Code reorganizations.  Added a Lib/ directory for more general libraries.
+#
+# Revision 1.1  1998/04/08 23:22:13  curt
 # Adopted Gnu automake/autoconf system.
 #
 # Revision 1.2  1998/01/21 02:55:46  curt
index fae2647667fbf1e8ec600dc735584dcc688e1c2c..665efec33e9010a59ef8e4549c4d4c8d31a2ac0d 100644 (file)
 #include <math.h>
 #include <stdio.h>
 
-#include <Math/polar.h>
 #include <Include/fg_constants.h>
 
+#include "polar.h"
+
 
 /* we can save these values between calls for efficiency */
 static double st, ct, sp, cp;
@@ -101,9 +102,12 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p) {
 
 
 /* $Log$
-/* Revision 1.1  1998/04/08 23:22:16  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.2  1998/04/14 02:26:10  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.1  1998/04/08 23:22:16  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.5  1998/01/27 00:48:00  curt
  * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
  * system and commandline/config file processing code.
index fb0f8ddb23b4bef31c05b90bd340a46f166503db..482906b37a08509229a6b208a25cf64a77a8081c 100644 (file)
@@ -34,7 +34,7 @@
 
 #include <Include/fg_constants.h>
 #include <Include/fg_types.h>
-#include <Scenery/Bucket/bucketutils.h>
+#include <Bucket/bucketutils.h>
 
 #include "fg_geodesy.h"
 #include "mat3.h"
@@ -640,9 +640,12 @@ int main(int argc, char **argv) {
 
 
 /* $Log$
-/* Revision 1.12  1998/04/08 23:22:18  curt
-/* Adopted Gnu automake/autoconf system.
+/* Revision 1.13  1998/04/14 02:26:11  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.12  1998/04/08 23:22:18  curt
+ * Adopted Gnu automake/autoconf system.
+ *
  * Revision 1.11  1998/03/03 16:01:00  curt
  * More c++ compile tweaks.
  *
index eed70e754605c9f5877fffffd1eee2d2a45b82d8..e5a0a2ccf5dd1b63328c99186ae1f63628923a5b 100644 (file)
@@ -86,12 +86,12 @@ bin_PROGRAMS = triangle # showme
 
 triangle_SOURCES = triangle.c triangle.h
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../../Simulator/Include/config.h
+CONFIG_HEADER = ../../Include/config.h
 CONFIG_CLEAN_FILES = 
 PROGRAMS =  $(bin_PROGRAMS)
 
 
-DEFS = @DEFS@ -I. -I$(srcdir) -I../../Simulator/Include
+DEFS = @DEFS@ -I. -I$(srcdir) -I../../Include
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@