Changeset 20573
- Timestamp:
- 07/20/07 12:04:54 (1 year ago)
- Files:
-
- juggler/branches/2.2/macros/sonix.m4 (modified) (2 diffs)
- juggler/branches/2.2/modules/sonix/configure.ac (modified) (5 diffs)
- juggler/branches/2.2/modules/sonix/plugins/configure.ac (modified) (3 diffs)
- juggler/branches/2.2/modules/sonix/plugins/make.defs.mk.in (modified) (2 diffs)
- juggler/branches/2.2/modules/sonix/plugins/plugin.defs.mk.in (modified) (1 diff)
- juggler/branches/2.2/modules/sonix/sonix.fpc.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/macros/sonix.m4
r19729 r20573 94 94 SNX_EXTRA_LIBS=`$FLAGPOLL $sonix_flagpoll_args --get-extra-libs` 95 95 SNX_VERSION=`$FLAGPOLL $sonix_flagpoll_args --modversion` 96 SNX_DATA_SUBDIR=`$FLAGPOLL $sonix_flagpoll_args --get-snx-data-subdir` 97 SNX_PLUGIN_SUBDIR=`$FLAGPOLL $sonix_flagpoll_args --get-snx-plugin-subdir` 96 98 97 99 DPP_VERSION_CHECK_MSG_NO_CACHE([Sonix], [$SNX_VERSION], … … 124 126 AC_SUBST(SNX_EXTRA_LIBS) 125 127 AC_SUBST(SNX_VERSION) 126 128 AC_SUBST(SNX_DATA_SUBDIR) 129 AC_SUBST(SNX_PLUGIN_SUBDIR) 127 130 ]) juggler/branches/2.2/modules/sonix/configure.ac
r20500 r20573 169 169 LIBRARY_VERSION="-$VERSION_UNDERSCORE" 170 170 DATA_VERSION="sonix-$VERSION_DOT" 171 PLUGIN_VERSION="sonix-$VERSION_DOT" 171 172 172 173 AC_DEFINE([SNX_USE_VERSIONING], , … … 176 177 177 178 # If versioning is disabled, then none of the version variables need to be 178 # set except for $DATA_VERSION . Its use is different than the others. The179 # important thing to note is that the directory name is unversioned in this180 # case.179 # set except for $DATA_VERSION and $PLUGIN_VERSION. Their use is different 180 # than the others. The important thing to note is that the directory name is 181 # unversioned in this case. 181 182 else 182 183 DATA_VERSION="sonix" 184 PLUGIN_VERSION="sonix" 183 185 fi 184 186 … … 338 340 339 341 includedir="$includedir/$HEADER_VERSION" 342 snx_header_subdir="$HEADER_VERSION" 343 snx_data_subdir="$DATA_VERSION" 344 snx_plugin_subdir="$PLUGIN_VERSION" 340 345 341 346 DPP_SUBST … … 356 361 AC_SUBST(LIBRARY_VERSION) 357 362 AC_SUBST(DATA_VERSION) 363 AC_SUBST(PLUGIN_VERSION) 358 364 359 365 AC_SUBST(MIN_VPR_VERSION) … … 380 386 AC_SUBST(snx32_flags) 381 387 AC_SUBST(snx64_flags) 388 AC_SUBST(snx_header_subdir) 389 AC_SUBST(snx_data_subdir) 390 AC_SUBST(snx_plugin_subdir) 382 391 383 392 # ----------------------------------------------------------------------------- juggler/branches/2.2/modules/sonix/plugins/configure.ac
r19729 r20573 71 71 [AUDIERE_ENABLED="$enableval"], [AUDIERE_ENABLED='yes']) 72 72 73 # Enable versioning by default74 AC_ARG_ENABLE([versioning],75 [ --disable-versioning Disable all versioning capabilities],76 [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes'])77 73 # -------------------------------------------- # 78 74 # --with-pkg[=arg] and --without-pkg arguments # … … 304 300 # ----------------------------------------------------------------------------- 305 301 306 # Set the form of the version number used for versioned directory and file 307 # naming. Unstable builds use all three version numbers; stable builds use 308 # only the major and minor version numbers. 309 if test "x$ENABLE_VERSIONING" = "xyes" ; then 310 311 DATA_VERSION="sonix-$SNX_VERSION" 312 PLUGIN_DIR_VERSION="sonix-$SNX_VERSION" 313 314 # If versioning is disabled, then none of the version variables need to be 315 # set except for $DATA_VERSION. Its use is different than the others. The 316 # important thing to note is that the directory name is unversioned in this 317 # case. 318 else 319 DATA_VERSION="sonix" 320 PLUGIN_DIR_VERSION="sonix" 321 fi 302 DATA_SUBDIR="$SNX_DATA_SUBDIR" 303 PLUGIN_SUBDIR="$SNX_PLUGIN_SUBDIR" 322 304 323 305 # Add these C++ options when compiling with G++. … … 388 370 AC_SUBST(JUGGLERROOT_ABS) 389 371 390 AC_SUBST(DATA_ VERSION)391 AC_SUBST(PLUGIN_ DIR_VERSION)372 AC_SUBST(DATA_SUBDIR) 373 AC_SUBST(PLUGIN_SUBDIR) 392 374 393 375 AC_SUBST(EXTRA_LDFLAGS) juggler/branches/2.2/modules/sonix/plugins/make.defs.mk.in
r19729 r20573 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 SNX_PLUGIN_SUBDIR= @PLUGIN_SUBDIR@ 96 96 97 97 STATICLIB_EXT= @STATICLIB_EXT@ juggler/branches/2.2/modules/sonix/plugins/plugin.defs.mk.in
r19729 r20573 44 44 LIBDIR_BASE?= $(topdir)/$(LIBDIR_NAME) 45 45 46 DSO_PLUGIN_SUBDIR= $( PLUGIN_DIR_VERSION)/plugins46 DSO_PLUGIN_SUBDIR= $(SNX_PLUGIN_SUBDIR)/plugins 47 47 DSO_PLUGIN_BASE_DIR= $(LIBDIR_BASE)/$(DSO_PLUGIN_SUBDIR) 48 48 DSO_PLUGIN_DIR= $(DSO_PLUGIN_BASE_DIR)/$(BUILD_TYPE_DIR) juggler/branches/2.2/modules/sonix/sonix.fpc.in
r19450 r20573 39 39 snx_extra_cxxflags = @snx_extra_cxxflags@ 40 40 41 snx_header_subdir = @snx_header_subdir@ 42 snx_data_subdir = @snx_data_subdir@ 43 snx_plugin_subdir = @snx_plugin_subdir@ 41 44 ########################### Public Variables ############################ 42 45 … … 59 62 profiled_libs: ${libs} ${snx_prof_libs} 60 63 profiled_static_libs: ${static_begin} ${libs} ${snx_prof_libs} ${static_end} 64 65 snx_header_subdir: ${snx_header_subdir} 66 snx_data_subdir: ${snx_data_subdir} 67 snx_plugin_subdir: ${snx_plugin_subdir}
