1
0
Fork 0

Code reorganizations. Added a Lib/ directory for more general libraries.

This commit is contained in:
curt 1998-04-14 02:25:54 +00:00
parent 8deb5c5804
commit cd7233754f
24 changed files with 129 additions and 72 deletions

View 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.
#

View 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.
#

View 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.
*

View 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.
#

View 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

View 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.
*

View 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.
//

View 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

View 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.
#

View 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

View 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

View 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.
#

View 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

View file

@ -27,9 +27,10 @@
#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.

View 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++
*

View 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@

View file

@ -2,7 +2,6 @@ EXTRA_DIST = process-dem.pl
SUBDIRS = \
AssemTris \
DEM \
Dem2node \
FixNode \
FixObj \

View 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)

View 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

View 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.
#

View 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

View file

@ -27,9 +27,10 @@
#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.

View 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.
*

View 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@