Reinstated Norman Vine's TARGET_BASENAME variable in the makefiles and

added prefixes and suffixes to libs and plugins.  ALl this to accomodate
cygwin...

Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well
as "standardizing" the install locations for the various platforms.
This commit is contained in:
Don BURNS
2002-04-03 17:42:12 +00:00
parent 12043abd40
commit e0adca775b
37 changed files with 233 additions and 105 deletions

View File

@@ -14,6 +14,7 @@ DIRS = \
osgstereoimage\
osgtexture\
osgviews\
osgversion\
sgv
LEFT_TO_DO =\

11
src/Demos/osgversion/Makefile Executable file
View File

@@ -0,0 +1,11 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
osgversion.cpp\
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
EXEC = osgversion
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,9 @@
#include <stdio.h>
#include <osg/Version>
int main( int argc, char **argv )
{
printf( "%s\n", osgGetVersion() );
return 0;
}