Changeset 18969
- Timestamp:
- 06/25/06 21:36:18 (2 years ago)
- Files:
-
- juggler/trunk/modules/vapor/ChangeLog (modified) (1 diff)
- juggler/trunk/modules/vapor/Makefile.inc.in (modified) (1 diff)
- juggler/trunk/modules/vapor/VERSION (modified) (1 diff)
- juggler/trunk/modules/vapor/common.defs.mk.in (modified) (2 diffs)
- juggler/trunk/modules/vapor/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vapor/ChangeLog
r18858 r18969 1 1 DATE AUTHOR CHANGE 2 2 ---------- -------- ----------------------------------------------------------- 3 2006-06-25 patrick Added support for building universal binaries on Mac OS X. 4 NEW VERSION: 1.1.23 3 5 2006-05-23 patrick Applied versioning to the header and data directories. 4 6 NEW VERSION: 1.1.22 juggler/trunk/modules/vapor/Makefile.inc.in
r18938 r18969 182 182 @$(SHELL) $(MKINSTALLDIRS) $(LIBDIR) 183 183 ifeq (@PLATFORM@, Darwin) 184 ifeq ($(ISA), universal) 185 for a in $(UNIVERSAL_ARCH_LIST) ; do \ 186 ld -arch $$a -dynamic -m -r -d -bind_at_load -o \ 187 $(subst .dylib,-$$a.lo,$@) $(OBJS) ; \ 188 done 189 lipo -create $(foreach arch,$(UNIVERSAL_ARCH_LIST),$(subst .dylib,-$(arch).lo,$@)) -output $(subst .dylib,.lo,$@) 190 else 184 191 ld -dynamic -m -r -d -bind_at_load -o $(subst .dylib,.lo,$@) $(OBJS) 192 endif 185 193 $(CXX) $(EXTRA_LDOPTS) -Wl,-dynamic -nostartfiles -Wl,-dylib \ 186 194 -Wl,-ldylib1.o $(LDOPTS) -o $@ $(subst .dylib,.lo,$@) \ 187 195 $(DYLIB_DEPS) 188 rm -f $( subst .dylib,.lo,$@)196 rm -f $(@D)/*.lo 189 197 else 190 198 $(CXX_DLL) $(LDOPTS) $(DYLIB_NAME_FLAG) $(OBJS) $(DYLIB_DEPS) juggler/trunk/modules/vapor/VERSION
r18858 r18969 1 1.1.23-0 @06/26/2006 02:40:00 UTC@ 1 2 1.1.22-0 @05/23/2006 13:55:00 UTC@ 2 3 1.1.21-0 @05/23/2006 13:50:00 UTC@ juggler/trunk/modules/vapor/common.defs.mk.in
r18604 r18969 218 218 OBJ_NAME_FLAG= @OBJ_NAME_FLAG@ 219 219 OS_TYPE= @OS_TYPE@ 220 PLATFORM_SDK= @PLATFORM_SDK@ 220 221 PERL= @PERL@ 221 222 RANLIB= @RANLIB@ 222 223 RMIC= @RMIC@ 224 UNIVERSAL_ARCH_LIST= @UNIVERSAL_ARCH_LIST@ 223 225 224 226 # Warning levels for C and C++ needed by dpp.obj-common.mk. … … 365 367 endif 366 368 endif 369 ifeq ($(ABI), Mach-O) 370 ifeq ($(ISA), powerpc) 371 CFLAGS+= -arch ppc $(PLATFORM_SDK) 372 CXXFLAGS+= -arch ppc $(PLATFORM_SDK) 373 LDOPTS+= -arch ppc $(PLATFORM_SDK) 374 endif 375 ifeq ($(ISA), i386) 376 CFLAGS+= -arch i386 $(PLATFORM_SDK) 377 CXXFLAGS+= -arch i386 $(PLATFORM_SDK) 378 LDOPTS+= -arch i386 $(PLATFORM_SDK) 379 endif 380 ifeq ($(ISA), universal) 381 CFLAGS+= $(foreach arch,$(UNIVERSAL_ARCH_LIST),-arch $(arch)) \ 382 $(PLATFORM_SDK) 383 CXXFLAGS+= $(foreach arch,$(UNIVERSAL_ARCH_LIST),-arch $(arch)) \ 384 $(PLATFORM_SDK) 385 LDOPTS+= $(foreach arch,$(UNIVERSAL_ARCH_LIST),-arch $(arch)) \ 386 $(PLATFORM_SDK) 387 endif 388 endif 367 389 368 390 endif juggler/trunk/modules/vapor/configure.ac
r18942 r18969 49 49 AC_REVISION($Revision$) 50 50 AC_CONFIG_AUX_DIR([../../share/config]) 51 DPP_PREREQ([2.1. 0])51 DPP_PREREQ([2.1.2]) 52 52 DPP_INIT 53 53 … … 681 681 CXXFLAGS="$CXXFLAGS $ABI_FLAGS" 682 682 CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES" 683 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $ABI_FLAGS" 683 # NOTE: We do not need $ABI_FLAGS in $LDFLAGS since $CXXFLAGS and $LDFLAGS 684 # are used together by AC_TRY_LINK(). 685 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" 684 686 LIBS="$LIBS -l$boost_fs_name" 685 687 … … 757 759 758 760 # Verify that we have a new enough version of CppDOM. 759 min_cppdom_version='0.3.1' 761 if test "x$PLATFORM" = "xDarwin" -a "x$ISA" = "xuniversal" ; then 762 min_cppdom_version='0.6.4' 763 else 764 min_cppdom_version='0.3.1' 765 fi 766 760 767 AC_MSG_CHECKING([whether CppDOM version is >= $min_cppdom_version]) 761 768 DPP_VERSION_CHECK([$cppdom_version], [$min_cppdom_version],
