From: curt Date: Fri, 18 Jun 1999 03:42:54 +0000 (+0000) Subject: Now use plib in native install mode. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8501f9b294b6df1389261edc9f0619ea99d394b;p=flightgear.git Now use plib in native install mode. Preparations for unstable development version 0.7.0 Some reorganizational changes. Beginning to test the use of ssg (part of plib) --- diff --git a/src/GUI/gui.h b/src/GUI/gui.h index 44366a139..8a592de0f 100644 --- a/src/GUI/gui.h +++ b/src/GUI/gui.h @@ -25,7 +25,7 @@ #ifndef _GUI_H_ #define _GUI_H_ -#include +#include // plib include extern void guiInit(); extern void guiMotionFunc ( int x, int y ); diff --git a/src/Joystick/joystick.cxx b/src/Joystick/joystick.cxx index 856e0a7fe..dcad3f78a 100644 --- a/src/Joystick/joystick.cxx +++ b/src/Joystick/joystick.cxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started October 1998. // -// Copyright (C) 1998 Curtis L. Olson - curt@me.umn.edu +// Copyright (C) 1998 - 1999 Curtis L. Olson - curt@flightgear.org // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -33,7 +33,7 @@ #include #if defined( ENABLE_PLIB_JOYSTICK ) -# include +# include // plib include #elif defined( ENABLE_GLUT_JOYSTICK ) # include # include diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index 58d5d55e8..d0af569d8 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -36,9 +36,10 @@ bin_PROGRAMS = fgfs bin_SCRIPTS = runfgfs runfgfs.bat fgfs_SOURCES = \ - GLUTkey.cxx GLUTkey.hxx GLUTmain.cxx \ fg_init.cxx fg_init.hxx \ fg_serial.cxx fg_serial.hxx \ + keyboard.cxx keyboard.hxx \ + main.cxx \ options.cxx options.hxx \ splash.cxx splash.hxx \ views.cxx views.hxx @@ -66,7 +67,7 @@ fgfs_LDADD = \ $(top_builddir)/Lib/Math/libMath.a \ $(top_builddir)/Lib/Bucket/libBucket.a \ $(top_builddir)/Lib/Debug/libDebug.a \ - -lpu -lfnt \ + -lpu -lfnt -lssg -lsg \ $(top_builddir)/Lib/Misc/libMisc.a \ $(top_builddir)/Lib/zlib/libz.a \ $(opengl_LIBS) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 149eebb78..cecf5d654 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include