1
0
Fork 0

Build only static libraries.

Declare memmove/memset for Sloaris.
This commit is contained in:
curt 1998-06-12 00:55:58 +00:00
parent 6c0d4504d8
commit 7b98736e32
8 changed files with 58 additions and 20 deletions

View file

@ -1,7 +1,6 @@
libdir = ${exec_prefix}/lib noinst_LIBRARIES = libCockpit.a
lib_LTLIBRARIES = libCockpit.la libCockpit_a_SOURCES = \
libCockpit_la_SOURCES = \
cockpit.cxx cockpit.hxx \ cockpit.cxx cockpit.hxx \
hud.cxx hud.hxx hud.cxx hud.hxx

View file

@ -53,13 +53,6 @@
#include "hud.hxx" #include "hud.hxx"
#ifdef __sun__
extern "C" {
extern void *memmove(void *, const void *, size_t);
}
#endif
// The following routines obtain information concerntin the aircraft's // The following routines obtain information concerntin the aircraft's
// current state and return it to calling instrument display routines. // current state and return it to calling instrument display routines.
// They should eventually be member functions of the aircraft. // They should eventually be member functions of the aircraft.
@ -1923,10 +1916,14 @@ void fgUpdateHUD( void ) {
} }
/* $Log$ /* $Log$
/* Revision 1.11 1998/06/05 18:17:10 curt /* Revision 1.12 1998/06/12 00:55:59 curt
/* Added the declaration of memmove needed by the stl which apparently /* Build only static libraries.
/* solaris only defines for cc compilations and not for c++ (__STDC__) /* Declare memmove/memset for Sloaris.
/* /*
* Revision 1.11 1998/06/05 18:17:10 curt
* Added the declaration of memmove needed by the stl which apparently
* solaris only defines for cc compilations and not for c++ (__STDC__)
*
* Revision 1.10 1998/05/17 16:58:12 curt * Revision 1.10 1998/05/17 16:58:12 curt
* Added a View Frustum Culling ratio display to the hud. * Added a View Frustum Culling ratio display to the hud.
* *

View file

@ -33,11 +33,18 @@
#endif #endif
#include <config.h> #ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef __sun__
extern "C" void *memmove(void *, const void *, size_t);
extern "C" void *memset(void *, int, size_t);
#endif
#include <fg_typedefs.h> #include <fg_typedefs.h>
#include <fg_constants.h> #include <fg_constants.h>
#include <Aircraft/aircraft.h> #include <Aircraft/aircraft.h>
#include <Flight/flight.h> #include <Flight/flight.h>
#include <Controls/controls.h> #include <Controls/controls.h>
@ -446,9 +453,13 @@ void fgHUDSetTimeMode( Hptr hud, int time_of_day );
#endif // _HUD_H #endif // _HUD_H
/* $Log$ /* $Log$
/* Revision 1.6 1998/06/03 00:43:28 curt /* Revision 1.7 1998/06/12 00:56:00 curt
/* No .h when including stl stuff. /* Build only static libraries.
/* Declare memmove/memset for Sloaris.
/* /*
* Revision 1.6 1998/06/03 00:43:28 curt
* No .h when including stl stuff.
*
* Revision 1.5 1998/05/17 16:58:13 curt * Revision 1.5 1998/05/17 16:58:13 curt
* Added a View Frustum Culling ratio display to the hud. * Added a View Frustum Culling ratio display to the hud.
* *

View file

@ -1,8 +1,6 @@
libdir = ${exec_prefix}/lib noinst_LIBRARIES = libScenery.a
lib_LTLIBRARIES = libScenery.la libScenery_a_SOURCES = \
libScenery_la_SOURCES = \
material.cxx material.hxx \ material.cxx material.hxx \
obj.cxx obj.hxx \ obj.cxx obj.hxx \
scenery.cxx scenery.hxx \ scenery.cxx scenery.hxx \

View file

@ -33,6 +33,8 @@
#include <GL/glut.h> #include <GL/glut.h>
#include <XGL/xgl.h> #include <XGL/xgl.h>
#include <string.h>
#include <Debug/fg_debug.h> #include <Debug/fg_debug.h>
#include <Include/fg_zlib.h> #include <Include/fg_zlib.h>
#include <Main/options.hxx> #include <Main/options.hxx>
@ -207,6 +209,10 @@ fgMATERIAL_MGR::~fgMATERIAL_MGR ( void ) {
// $Log$ // $Log$
// Revision 1.4 1998/06/12 00:58:04 curt
// Build only static libraries.
// Declare memmove/memset for Sloaris.
//
// Revision 1.3 1998/06/05 22:39:53 curt // Revision 1.3 1998/06/05 22:39:53 curt
// Working on sorting by, and rendering by material properties. // Working on sorting by, and rendering by material properties.
// //

View file

@ -41,6 +41,11 @@
#include <GL/glut.h> #include <GL/glut.h>
#include <XGL/xgl.h> #include <XGL/xgl.h>
#ifdef __sun__
extern "C" void *memmove(void *, const void *, size_t);
extern "C" void *memset(void *, int, size_t);
#endif
#include <map> // STL associative "array" #include <map> // STL associative "array"
#include <string> // Standard C++ string library #include <string> // Standard C++ string library
@ -108,6 +113,10 @@ extern fgMATERIAL_MGR material_mgr;
// $Log$ // $Log$
// Revision 1.7 1998/06/12 00:58:04 curt
// Build only static libraries.
// Declare memmove/memset for Sloaris.
//
// Revision 1.6 1998/06/06 01:09:31 curt // Revision 1.6 1998/06/06 01:09:31 curt
// I goofed on the log message in the last commit ... now fixed. // I goofed on the log message in the last commit ... now fixed.
// //

View file

@ -35,6 +35,11 @@
#include <GL/glut.h> #include <GL/glut.h>
#include <XGL/xgl.h> #include <XGL/xgl.h>
#ifdef __sun__
extern "C" void *memmove(void *, const void *, size_t);
extern "C" void *memset(void *, int, size_t);
#endif
#include <map> // STL #include <map> // STL
#include <string> // Standard C++ library #include <string> // Standard C++ library
@ -431,6 +436,10 @@ int fgObjLoad(char *path, fgTILE *tile) {
// $Log$ // $Log$
// Revision 1.13 1998/06/12 00:58:05 curt
// Build only static libraries.
// Declare memmove/memset for Sloaris.
//
// Revision 1.12 1998/06/08 17:57:54 curt // Revision 1.12 1998/06/08 17:57:54 curt
// Working first pass at material proporty sorting. // Working first pass at material proporty sorting.
// //

View file

@ -41,6 +41,11 @@
#include <GL/glut.h> #include <GL/glut.h>
#include <XGL/xgl.h> #include <XGL/xgl.h>
#ifdef __sun__
extern "C" void *memmove(void *, const void *, size_t);
extern "C" void *memset(void *, int, size_t);
#endif
#include <list> // STL list #include <list> // STL list
#include <Bucket/bucketutils.h> #include <Bucket/bucketutils.h>
@ -105,6 +110,10 @@ public:
// $Log$ // $Log$
// Revision 1.7 1998/06/12 00:58:05 curt
// Build only static libraries.
// Declare memmove/memset for Sloaris.
//
// Revision 1.6 1998/06/08 17:57:54 curt // Revision 1.6 1998/06/08 17:57:54 curt
// Working first pass at material proporty sorting. // Working first pass at material proporty sorting.
// //