Changeset 20571
- Timestamp:
- 07/20/07 09:32:05 (1 year ago)
- Files:
-
- juggler/branches/2.2/macros/gadget.m4 (modified) (2 diffs)
- juggler/branches/2.2/modules/gadgeteer/configure.ac (modified) (4 diffs)
- juggler/branches/2.2/modules/gadgeteer/drivers/configure.ac (modified) (3 diffs)
- juggler/branches/2.2/modules/gadgeteer/drivers/driver.defs.mk.in (modified) (1 diff)
- juggler/branches/2.2/modules/gadgeteer/drivers/make.defs.mk.in (modified) (2 diffs)
- juggler/branches/2.2/modules/gadgeteer/gadgeteer.fpc.in (modified) (2 diffs)
- juggler/branches/2.2/modules/gadgeteer/plugins/configure.ac (modified) (4 diffs)
- juggler/branches/2.2/modules/gadgeteer/plugins/make.defs.mk.in (modified) (2 diffs)
- juggler/branches/2.2/modules/gadgeteer/plugins/plugin.defs.mk.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.2/macros/gadget.m4
r19908 r20571 88 88 GADGET_USE_X11=`$FLAGPOLL $gadget_flagpoll_args --get-use-x11` 89 89 GADGET_USE_COCOA=`$FLAGPOLL $gadget_flagpoll_args --get-use-cocoa` 90 GADGET_HEADER_SUBDIR=`$FLAGPOLL $gadget_flagpoll_args --get-gadget-header-subdir` 91 GADGET_DATA_SUBDIR=`$FLAGPOLL $gadget_flagpoll_args --get-gadget-data-subdir` 92 GADGET_PLUGIN_SUBDIR=`$FLAGPOLL $gadget_flagpoll_args --get-gadget-plugin-subdir` 90 93 91 94 DPP_VERSION_CHECK_MSG_NO_CACHE([Gadgeteer], [$GADGET_VERSION], … … 125 128 AC_SUBST(GADGET_USE_X11) 126 129 AC_SUBST(GADGET_USE_COCOA) 130 AC_SUBST(GADGET_HEADER_SUBDIR) 131 AC_SUBST(GADGET_DATA_SUBDIR) 132 AC_SUBST(GADGET_PLUGIN_SUBDIR) 127 133 ]) juggler/branches/2.2/modules/gadgeteer/configure.ac
r20500 r20571 236 236 LIBRARY_VERSION="-$VERSION_UNDERSCORE" 237 237 DATA_VERSION="gadgeteer-$VERSION_DOT" 238 PLUGIN_VERSION="gadgeteer-$VERSION_DOT" 238 239 239 240 AC_DEFINE([GADGET_USE_VERSIONING], , … … 243 244 244 245 # If versioning is disabled, then none of the version variables need to be 245 # set except for $DATA_VERSION . Their use is different than the others. The246 # important thing to note is that the directory name is unversioned in this247 # case.246 # set except for $DATA_VERSION and $PLUGIN_VERSION. Their use is different 247 # than the others. The important thing to note is that the directory name is 248 # unversioned in this case. 248 249 else 249 250 DATA_VERSION="gadgeteer" 251 PLUGIN_VERSION="gadgeteer" 250 252 fi 251 253 … … 429 431 430 432 includedir="$includedir/$HEADER_VERSION" 433 gadget_header_subdir="$HEADER_VERSION" 434 gadget_data_subdir="$DATA_VERSION" 435 gadget_plugin_subdir="$PLUGIN_VERSION" 431 436 432 437 DPP_SUBST … … 477 482 AC_SUBST(gadget_use_x11) 478 483 AC_SUBST(gadget_use_cocoa) 484 AC_SUBST(gadget_header_subdir) 485 AC_SUBST(gadget_data_subdir) 486 AC_SUBST(gadget_plugin_subdir) 479 487 480 488 # ----------------------------------------------------------------------------- juggler/branches/2.2/modules/gadgeteer/drivers/configure.ac
r20309 r20571 51 51 # --enable-feature[=arg] and --disable-feature arguments # 52 52 # ------------------------------------------------------ # 53 AC_ARG_ENABLE([versioning],54 [ --disable-versioning Disable all versioning capabilities],55 [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes'])56 53 57 54 # -------------------------------------------- # … … 603 600 # ----------------------------------------------------------------------------- 604 601 605 606 # Set the form of the version number used for versioned directory and file 607 # naming. Unstable builds use all three version numbers; stable builds use 608 # only the major and minor version numbers. 609 if test "x$ENABLE_VERSIONING" = "xyes" ; then 610 DATA_VERSION="gadgeteer-$GADGET_VERSION" 611 DRIVER_DIR_VERSION="gadgeteer-$GADGET_VERSION" 612 613 # If versioning is disabled, then none of the version variables need to be 614 # set except for $DATA_VERSION. Its use is different than the others. The 615 # important thing to note is that the directory name is unversioned in this 616 # case. 617 else 618 DATA_VERSION="gadgeteer" 619 DRIVER_DIR_VERSION="gadgeteer" 620 fi 602 DATA_SUBDIR="$GADGET_DATA_SUBDIR" 603 DRIVER_SUBDIR="$GADGET_PLUGIN_SUBDIR" 621 604 622 605 # Add these C++ options when compiling with G++. … … 712 695 AC_SUBST(VPR_SUBSYSTEM) 713 696 714 AC_SUBST(DATA_ VERSION)715 AC_SUBST(DRIVER_ DIR_VERSION)697 AC_SUBST(DATA_SUBDIR) 698 AC_SUBST(DRIVER_SUBDIR) 716 699 717 700 AC_SUBST(EXTRA_LDFLAGS) juggler/branches/2.2/modules/gadgeteer/drivers/driver.defs.mk.in
r20507 r20571 43 43 LIBDIR_BASE?= $(topdir)/$(LIBDIR_NAME) 44 44 45 DSO_DRIVER_SUBDIR= $( DRIVER_DIR_VERSION)/drivers45 DSO_DRIVER_SUBDIR= $(GADGET_DRIVER_SUBDIR)/drivers 46 46 DSO_DRIVER_DIR= $(LIBDIR_BASE)/$(DSO_DRIVER_SUBDIR) 47 47 juggler/branches/2.2/modules/gadgeteer/drivers/make.defs.mk.in
r19729 r20571 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 … … 89 89 DRIVER_ROOT_ABS= @DRIVER_ROOT_ABS@ 90 90 JUGGLERROOT_ABS= @JUGGLERROOT_ABS@ 91 DRIVER_DIR_VERSION= @DRIVER_DIR_VERSION@91 GADGET_DRIVER_SUBDIR= @DRIVER_SUBDIR@ 92 92 93 93 juggler/branches/2.2/modules/gadgeteer/gadgeteer.fpc.in
r19854 r20571 44 44 gadget_use_x11= @gadget_use_x11@ 45 45 gadget_use_cocoa= @gadget_use_cocoa@ 46 gadget_header_subdir = @gadget_header_subdir@ 47 gadget_data_subdir = @gadget_data_subdir@ 48 gadget_plugin_subdir = @gadget_plugin_subdir@ 46 49 47 50 ########################### Public Variables ############################ … … 68 71 profiled_libs: ${libs} ${gadget_prof_libs} 69 72 profiled_static_libs: ${static_begin} ${gadget_prof_libs} ${static_end} 73 gadget_header_subdir: ${gadget_header_subdir} 74 gadget_data_subdir: ${gadget_data_subdir} 75 gadget_plugin_subdir: ${gadget_plugin_subdir} juggler/branches/2.2/modules/gadgeteer/plugins/configure.ac
r19847 r20571 54 54 # --enable-feature[=arg] and --disable-feature arguments # 55 55 # ------------------------------------------------------ # 56 AC_ARG_ENABLE([versioning],57 [ --disable-versioning Disable all versioning capabilities],58 [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes'])59 56 60 57 # Force the use of GCC as the compiler. … … 174 171 # ----------------------------------------------------------------------------- 175 172 176 # Set the form of the version number used for versioned directory and file 177 # naming. Unstable builds use all three version numbers; stable builds use 178 # only the major and minor version numbers. 179 if test "x$ENABLE_VERSIONING" = "xyes" ; then 180 HEADER_VERSION="gadgeteer-$GADGET_VERSION" 181 DATA_VERSION="gadgeteer-$GADGET_VERSION" 182 PLUGIN_DIR_VERSION="gadgeteer-$GADGET_VERSION" 183 184 # If versioning is disabled, then none of the version variables need to be 185 # set except for $DATA_VERSION. Its use is different than the others. The 186 # important thing to note is that the directory name is unversioned in this 187 # case. 188 else 189 DATA_VERSION="gadgeteer" 190 PLUGIN_DIR_VERSION="gadgeteer" 191 fi 192 173 HEADER_SUBDIR="$GADGET_HEADER_SUBDIR" 174 DATA_SUBDIR="$GADGET_DATA_SUBDIR" 175 PLUGIN_SUBDIR="$GADGET_PLUGIN_SUBDIR" 193 176 194 177 # Add these C++ options when compiling with G++. … … 264 247 fi 265 248 266 includedir="$includedir/$HEADER_ VERSION"249 includedir="$includedir/$HEADER_SUBDIR" 267 250 268 251 DPP_SUBST … … 275 258 AC_SUBST(VPR_SUBSYSTEM) 276 259 277 AC_SUBST(HEADER_ VERSION)278 AC_SUBST(DATA_ VERSION)279 AC_SUBST(PLUGIN_ DIR_VERSION)260 AC_SUBST(HEADER_SUBDIR) 261 AC_SUBST(DATA_SUBDIR) 262 AC_SUBST(PLUGIN_SUBDIR) 280 263 281 264 AC_SUBST(EXTRA_LDFLAGS) juggler/branches/2.2/modules/gadgeteer/plugins/make.defs.mk.in
r19729 r20571 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 … … 89 89 PLUGIN_ROOT_ABS= @PLUGIN_ROOT_ABS@ 90 90 JUGGLERROOT_ABS= @JUGGLERROOT_ABS@ 91 PLUGIN_DIR_VERSION= @PLUGIN_DIR_VERSION@91 GADGET_PLUGIN_SUBDIR= @PLUGIN_SUBDIR@ 92 92 93 93 STATICLIB_EXT= @STATICLIB_EXT@ juggler/branches/2.2/modules/gadgeteer/plugins/plugin.defs.mk.in
r20507 r20571 43 43 LIBDIR_BASE?= $(topdir)/$(LIBDIR_NAME) 44 44 45 DSO_PLUGIN_SUBDIR= $( PLUGIN_DIR_VERSION)/plugins45 DSO_PLUGIN_SUBDIR= $(GADGET_PLUGIN_SUBDIR)/plugins 46 46 DSO_PLUGIN_DIR= $(LIBDIR_BASE)/$(DSO_PLUGIN_SUBDIR) 47 47
