Changeset 20574
- Timestamp:
- 07/20/07 12:21:31 (1 year ago)
- Files:
-
- juggler/branches/2.2/macros/vrj.m4 (modified) (2 diffs)
- juggler/branches/2.2/modules/vrjuggler/configure.ac (modified) (5 diffs)
- juggler/branches/2.2/modules/vrjuggler/plugins/configure.ac (modified) (3 diffs)
- juggler/branches/2.2/modules/vrjuggler/plugins/make.defs.mk.in (modified) (2 diffs)
- juggler/branches/2.2/modules/vrjuggler/plugins/plugin.defs.mk.in (modified) (1 diff)
- juggler/branches/2.2/modules/vrjuggler/vrjuggler.fpc.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/macros/vrj.m4
r19729 r20574 83 83 VRJ_EXTRA_LIBS=`$FLAGPOLL $vrj_flagpoll_args --get-extra-libs` 84 84 VRJ_VERSION=`$FLAGPOLL $vrj_flagpoll_args --modversion` 85 VRJ_HEADER_SUBDIR=`$FLAGPOLL $vrj_flagpoll_args --get-vrj-header-subdir` 86 VRJ_DATA_SUBDIR=`$FLAGPOLL $vrj_flagpoll_args --get-vrj-data-subdir` 87 VRJ_PLUGIN_SUBDIR=`$FLAGPOLL $vrj_flagpoll_args --get-vrj-plugin-subdir` 85 88 86 89 DPP_VERSION_CHECK_MSG_NO_CACHE([VR Juggler], [$VRJ_VERSION], … … 112 115 AC_SUBST(VRJ_EXTRA_LIBS) 113 116 AC_SUBST(VRJ_VERSION) 117 AC_SUBST(VRJ_HEADER_SUBDIR) 118 AC_SUBST(VRJ_DATA_SUBDIR) 119 AC_SUBST(VRJ_PLUGIN_SUBDIR) 114 120 ]) juggler/branches/2.2/modules/vrjuggler/configure.ac
r20563 r20574 302 302 LIBRARY_VERSION="-$VERSION_UNDERSCORE" 303 303 DATA_VERSION="vrjuggler-$VERSION_DOT" 304 PLUGIN_VERSION="vrjuggler-$VERSION_DOT" 304 305 305 306 AC_DEFINE([VRJ_USE_VERSIONING], , … … 309 310 310 311 # If versioning is disabled, then none of the version variables need to be 311 # set except for $DATA_VERSION . Its use is different than the others. The312 # important thing to note is that the directory name is unversioned in this313 # case.312 # set except for $DATA_VERSION and $PLUGIN_VERSION. Their use is different 313 # than the others. The important thing to note is that the directory name is 314 # unversioned in this case. 314 315 else 315 316 DATA_VERSION="vrjuggler" 316 fi 317 317 PLUGIN_VERSION="vrjuggler" 318 fi 318 319 319 320 # Add these C++ options when compiling with G++. … … 630 631 # ----------------------------------------------------------------------------- 631 632 includedir="$includedir/$HEADER_VERSION" 633 vrj_header_subdir="$HEADER_VERSION" 634 vrj_data_subdir="$DATA_VERSION" 635 vrj_plugin_subdir="$PLUGIN_VERSION" 632 636 633 637 DPP_SUBST … … 647 651 AC_SUBST(LIBRARY_VERSION) 648 652 AC_SUBST(DATA_VERSION) 653 AC_SUBST(PLUGIN_VERSION) 649 654 650 655 AC_SUBST(ANT) … … 694 699 AC_SUBST(vrj_ogl_extra_libs) 695 700 AC_SUBST(vrj_pf_extra_libs) 701 AC_SUBST(vrj_header_subdir) 702 AC_SUBST(vrj_data_subdir) 703 AC_SUBST(vrj_plugin_subdir) 696 704 697 705 AC_SUBST(tweek_java_api_jars_bundle) juggler/branches/2.2/modules/vrjuggler/plugins/configure.ac
r19729 r20574 48 48 # --enable-feature[=arg] and --disable-feature arguments # 49 49 # ------------------------------------------------------ # 50 51 # Enable versioning by default52 AC_ARG_ENABLE([versioning],53 [ --disable-versioning Disable all versioning capabilities],54 [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes'])55 50 56 51 DPP_STD_CPP(yes) … … 188 183 # Do Makefile substitutions. 189 184 # ----------------------------------------------------------------------------- 190 # Set the form of the version number used for versioned directory and file 191 # naming. Unstable builds use all three version numbers; stable builds use 192 # only the major and minor version numbers. 193 if test "x$ENABLE_VERSIONING" = "xyes" ; then 194 195 DATA_VERSION="vrjuggler-$VRJ_VERSION" 196 PLUGIN_DIR_VERSION="vrjuggler-$VRJ_VERSION" 197 198 # If versioning is disabled, then none of the version variables need to be 199 # set except for $DATA_VERSION. Its use is different than the others. The 200 # important thing to note is that the directory name is unversioned in this 201 # case. 202 else 203 DATA_VERSION="vrjuggler" 204 PLUGIN_DIR_VERSION="vrjuggler" 205 fi 185 DATA_SUBDIR="$VRJ_DATA_SUBDIR" 186 PLUGIN_SUBDIR="$VRJ_PLUGIN_SUBDIR" 206 187 207 188 # Add these C++ options when compiling with G++. … … 275 256 AC_SUBST(JUGGLERROOT_ABS) 276 257 277 AC_SUBST(DATA_ VERSION)278 AC_SUBST(PLUGIN_ DIR_VERSION)258 AC_SUBST(DATA_SUBDIR) 259 AC_SUBST(PLUGIN_SUBDIR) 279 260 280 261 AC_SUBST(HAVE_TWEEK_CXX) juggler/branches/2.2/modules/vrjuggler/plugins/make.defs.mk.in
r19729 r20574 71 71 # ----------------------------------------------------------------------------- 72 72 mtreedir= $(topdir)/mtree 73 projdatadir= $(datadir)/@DATA_ VERSION@73 projdatadir= $(datadir)/@DATA_SUBDIR@ 74 74 releasedir= @JUGGLERROOT_ABS@/release 75 75 scriptdir= $(releasedir)/scripts … … 93 93 PLUGIN_ROOT_ABS= @PLUGIN_ROOT_ABS@ 94 94 JUGGLERROOT_ABS= @JUGGLERROOT_ABS@ 95 PLUGIN_DIR_VERSION= @PLUGIN_DIR_VERSION@95 VRJ_PLUGIN_SUBDIR= @PLUGIN_SUBDIR@ 96 96 97 97 STATICLIB_EXT= @STATICLIB_EXT@ juggler/branches/2.2/modules/vrjuggler/plugins/plugin.defs.mk.in
r20507 r20574 43 43 LIBDIR_BASE?= $(topdir)/$(LIBDIR_NAME) 44 44 45 DSO_PLUGIN_SUBDIR= $( PLUGIN_DIR_VERSION)/plugins45 DSO_PLUGIN_SUBDIR= $(VRJ_PLUGIN_SUBDIR)/plugins 46 46 DSO_PLUGIN_DIR= $(LIBDIR_BASE)/$(DSO_PLUGIN_SUBDIR) 47 47 juggler/branches/2.2/modules/vrjuggler/vrjuggler.fpc.in
r20563 r20574 52 52 extra_libs = ${vrj_extra_ldflags} ${vrj_extra_libs} 53 53 54 vrj_header_subdir = @vrj_header_subdir@ 55 vrj_data_subdir = @vrj_data_subdir@ 56 vrj_plugin_subdir = @vrj_plugin_subdir@ 54 57 ########################### Public Variables ############################ 55 58 … … 87 90 vrj_app_icons: ${vrj_share_dir}/data/bundle/vrjuggler.icns 88 91 vrj_app_all_resources: ${vrj_share_dir}/data/bundle/vrjuggler.icns ${vrj_share_dir}/data/bundle/vrjuggler.plist 92 93 vrj_header_subdir: ${vrj_header_subdir} 94 vrj_data_subdir: ${vrj_data_subdir} 95 vrj_plugin_subdir: ${vrj_plugin_subdir}
