tweak install and build settings

This commit is contained in:
Christopher Lloyd 2013-04-06 22:28:50 -04:00
parent 98fb6c24d7
commit b4dfd85655
9 changed files with 44 additions and 55 deletions

View File

@ -368,8 +368,10 @@
EXECUTABLE_SUFFIX = .1.0.dll;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/openssl-0.9.8h-1/include";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Frameworks/Foundation.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/openssl-0.9.8h-1/lib";
OTHER_LDFLAGS = (
"-shared",
"-lssl",
@ -388,8 +390,10 @@
buildSettings = {
EXECUTABLE_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Windows";
EXECUTABLE_SUFFIX = .1.0.dll;
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/openssl-0.9.8h-1/include";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Frameworks/Foundation.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/openssl-0.9.8h-1/lib";
OTHER_LDFLAGS = (
"-shared",
"-lssl",

View File

@ -13,7 +13,7 @@ else
AGG_VERSION=$1
fi
PREFIX=/Developer/Cocotron/1.0/Windows/i386/agg-$AGG_VERSION
PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION
BUILD=/tmp/build_AntiGrain
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.antigrain.com/agg-$AGG_VERSION.zip"
@ -35,13 +35,13 @@ cd ..
# Create a Makefile.in.Cocotron
cat > Makefile.in.Cocotron <<EOF
AGGLIBS= -lagg
AGGCXXFLAGS = -O3
CXX = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-g++
C = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-gcc
LIB = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-ar cr
.PHONY : clean
AGGLIBS= -lagg
AGGCXXFLAGS = -O3
CXX = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-g++
C = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-gcc
LIB = /Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/bin/i386-mingw32msvc-ar cr
.PHONY : clean
EOF
# include the local uname

View File

@ -7,7 +7,7 @@ scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/freetype-2.3.5
PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sourceforge.net/gnuwin32/freetype-2.3.5-1-bin.zip"

View File

@ -5,12 +5,14 @@ scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/
SSLVERSION=0.9.8h-1
PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
SSLVERSION=0.9.8h-1
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sourceforge.net/gnuwin32/openssl-"$SSLVERSION"-lib.zip http://downloads.sourceforge.net/gnuwin32/openssl-"$SSLVERSION"-bin.zip"
TMPDIR=/tmp/install_OpenSSL$$

View File

@ -5,7 +5,7 @@ scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/
PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1
BUILD=/tmp/build_hunspell
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://downloads.sourceforge.net/hunspell/hunspell-1.3.1.tar.gz

View File

@ -7,7 +7,7 @@ scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
PREFIX=`pwd`/../system/i386-mingw32msvc/
# We need the headers/libraries, zlib.net only provides a dll or source which is more work

View File

@ -251,8 +251,10 @@
EXECUTABLE_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Windows";
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/hunspell-1.3.1/include";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Frameworks/Foundation.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/hunspell-1.3.1/lib";
OTHER_LDFLAGS = (
"-dynamic",
"-lhunspell.1.3.1",
@ -271,8 +273,10 @@
EXECUTABLE_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Windows";
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = s;
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/hunspell-1.3.1/include";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Frameworks/Foundation.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/hunspell-1.3.1/lib";
OTHER_LDFLAGS = (
"-dynamic",
"-lhunspell.1.3.1",

View File

@ -11,6 +11,7 @@
494DA9A9145C0D290001E307 /* libgdi32.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 494DA9A8145C0D290001E307 /* libgdi32.a */; };
8D576314048677EA00EA77CD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AA1909FFE8422F4C02AAC07 /* Foundation.framework */; };
8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8D5B49A704867FD3000E48DA /* InfoPlist.strings */; };
FE1DDD53171110D9003B3AF8 /* windows-i386-bundle.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = FE1DDD52171110D9003B3AF8 /* windows-i386-bundle.xcconfig */; };
FE5C8314121D81470063E96F /* O2Context_AntiGrain.mm in Sources */ = {isa = PBXBuildFile; fileRef = FE5C8313121D81470063E96F /* O2Context_AntiGrain.mm */; };
FEC0A35B170934FE002A60B7 /* darwin-i386-framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = FEC0A352170934FE002A60B7 /* darwin-i386-framework.xcconfig */; };
FEC0A35C170934FE002A60B7 /* darwin-ppc-framework.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = FEC0A353170934FE002A60B7 /* darwin-ppc-framework.xcconfig */; };
@ -88,13 +89,6 @@
remoteGlobalIDString = C8A2E5730F07EA1F0054397C;
remoteInfo = "AppKit-Darwin-i386";
};
FEE1643B137C6DC800B2F340 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = FEE163EC137C6DC600B2F340 /* AppKit.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = FEA3164C0FD5667D00F480D4;
remoteInfo = "AppKit-MacOS-i386";
};
FEE1643D137C6DC800B2F340 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = FEE163EC137C6DC600B2F340 /* AppKit.xcodeproj */;
@ -130,6 +124,7 @@
FE06B3A61430E8DC0071169B /* solaris.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = solaris.xcconfig; sourceTree = "<group>"; };
FE06B3A71430E8DC0071169B /* windows-i386.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "windows-i386.xcconfig"; sourceTree = "<group>"; };
FE06B3A81430E8DC0071169B /* windows.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = windows.xcconfig; sourceTree = "<group>"; };
FE1DDD52171110D9003B3AF8 /* windows-i386-bundle.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "windows-i386-bundle.xcconfig"; sourceTree = "<group>"; };
FE5C8312121D81470063E96F /* O2Context_AntiGrain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = O2Context_AntiGrain.h; sourceTree = "<group>"; };
FE5C8313121D81470063E96F /* O2Context_AntiGrain.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = O2Context_AntiGrain.mm; sourceTree = "<group>"; };
FEC0A352170934FE002A60B7 /* darwin-i386-framework.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "darwin-i386-framework.xcconfig"; sourceTree = "<group>"; };
@ -208,6 +203,7 @@
FE06B3991430E8DC0071169B /* xcconfig */ = {
isa = PBXGroup;
children = (
FE1DDD52171110D9003B3AF8 /* windows-i386-bundle.xcconfig */,
FEC0A352170934FE002A60B7 /* darwin-i386-framework.xcconfig */,
FEC0A353170934FE002A60B7 /* darwin-ppc-framework.xcconfig */,
FEC0A354170934FE002A60B7 /* darwin-x86_64-framework.xcconfig */,
@ -243,7 +239,6 @@
FEE16436137C6DC800B2F340 /* AppKit.framework */,
FEE16438137C6DC800B2F340 /* AppKit.framework */,
FEE1643A137C6DC800B2F340 /* AppKit.framework */,
FEE1643C137C6DC800B2F340 /* AppKit.framework */,
FEE1643E137C6DC800B2F340 /* AppKit.framework */,
);
name = Products;
@ -328,13 +323,6 @@
remoteRef = FEE16439137C6DC800B2F340 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
FEE1643C137C6DC800B2F340 /* AppKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = AppKit.framework;
remoteRef = FEE1643B137C6DC800B2F340 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
FEE1643E137C6DC800B2F340 /* AppKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
@ -359,6 +347,7 @@
FEC0A361170934FE002A60B7 /* linux-ppc-framework.xcconfig in Resources */,
FEC0A362170934FE002A60B7 /* solaris-sparc-framework.xcconfig in Resources */,
FEC0A363170934FE002A60B7 /* windows-i386-framework.xcconfig in Resources */,
FE1DDD53171110D9003B3AF8 /* windows-i386-bundle.xcconfig in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -416,28 +405,19 @@
/* Begin XCBuildConfiguration section */
1DEB911B08733D790010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FE06B3A71430E8DC0071169B /* windows-i386.xcconfig */;
baseConfigurationReference = FE1DDD52171110D9003B3AF8 /* windows-i386-bundle.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
EXECUTABLE_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Windows";
EXECUTABLE_SUFFIX = .1.0.dll;
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 1;
HEADER_SEARCH_PATHS = "/Developer/Cocotron/1.0/Windows/i386/agg-2.4/include/";
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/agg-2.4/include/";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(INSTALL_PATH)/AppKit.framework/Resources";
LIBRARY_SEARCH_PATHS = (
"/Developer/Cocotron/1.0/Windows/i386/agg-2.4",
"$(DERIVED_FILE_DIR)",
"\"$(DEVELOPER_DIR)/Cocotron/1.0/PlatformInterfaces/i386-mingw32msvc/lib\"",
);
OTHER_CFLAGS = "-D__LITTLE_ENDIAN__";
INSTALL_PATH = /Frameworks/AppKit.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/agg-2.4";
OTHER_LDFLAGS = (
"-static",
"-lagg",
"-shared",
"-Wl,--enable-auto-import",
$OTHER_LDFLAGS,
);
PRODUCT_NAME = O2Context_AntiGrain;
WRAPPER_EXTENSION = cgContext;
@ -446,27 +426,19 @@
};
1DEB911C08733D790010E9CD /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FE06B3A71430E8DC0071169B /* windows-i386.xcconfig */;
baseConfigurationReference = FE1DDD52171110D9003B3AF8 /* windows-i386-bundle.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
EXECUTABLE_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/Windows";
EXECUTABLE_SUFFIX = .1.0.dll;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 3;
HEADER_SEARCH_PATHS = "/Developer/Cocotron/1.0/Windows/i386/agg-2.4/include/";
HEADER_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/agg-2.4/include/";
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(INSTALL_PATH)/AppKit.framework/Resources";
LIBRARY_SEARCH_PATHS = (
"/Developer/Cocotron/1.0/Windows/i386/agg-2.4",
"$(DERIVED_FILE_DIR)",
"\"$(DEVELOPER_DIR)/Cocotron/1.0/PlatformInterfaces/i386-mingw32msvc/lib\"",
);
OTHER_CFLAGS = "-D__LITTLE_ENDIAN__";
INSTALL_PATH = /Frameworks/AppKit.framework/Resources;
LIBRARY_SEARCH_PATHS = "$DSTROOT/i386-mingw32msvc/agg-2.4";
OTHER_LDFLAGS = (
"-static",
"-lagg",
"-shared",
"-Wl,--enable-auto-import",
$OTHER_LDFLAGS,
);
PRODUCT_NAME = O2Context_AntiGrain;
WRAPPER_EXTENSION = cgContext;

View File

@ -0,0 +1,7 @@
#include "windows-i386"
EXECUTABLE_SUFFIX = .1.0.dll
OTHER_LDFLAGS = -shared -Wl,--enable-auto-import
GCC_DYNAMIC_NO_PIC = NO