aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-07 14:04:58 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-07 14:04:58 +0000
commitc2fc87167b086680aa8b7190e497e834413bfc7d (patch)
treee5ea54b91ef0bc42b0b9f868f4ad614fc1504de7 /Frameworks
parentb02a815e440ab1b7ed78bb70833e55f69a128a4a (diff)
downloadsequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.tar.gz
sequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.tar.bz2
sequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.zip
Update make files to support accepting xcode default settings.
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/QueryKit/Makefile27
-rw-r--r--Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj10
2 files changed, 28 insertions, 9 deletions
diff --git a/Frameworks/QueryKit/Makefile b/Frameworks/QueryKit/Makefile
new file mode 100644
index 00000000..d6322e51
--- /dev/null
+++ b/Frameworks/QueryKit/Makefile
@@ -0,0 +1,27 @@
+# $Id$
+
+CONFIG=Debug
+OPTIONS=
+
+BUILD_CONFIG?=$(CONFIG)
+
+CP=ditto --rsrc
+RM=rm
+
+.PHONY: querykit test clean clean-all latest
+
+querykit:
+ xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) build
+
+test:
+ xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target Tests $(OPTIONS) build
+
+clean:
+ xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) -nodependencies clean
+
+clean-all:
+ xcodebuild -project QueryKit.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) clean
+
+latest:
+ svn update
+ make querykit
diff --git a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
index 8b5221ae..5a226510 100644
--- a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
+++ b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj
@@ -230,7 +230,6 @@
isa = PBXNativeTarget;
buildConfigurationList = 17E596A614F307CE0054EE08 /* Build configuration list for PBXNativeTarget "Tests" */;
buildPhases = (
- 17E5969914F307CE0054EE08 /* Resources */,
17E5969A14F307CE0054EE08 /* Sources */,
17E5969B14F307CE0054EE08 /* Frameworks */,
17E5969C14F307CE0054EE08 /* ShellScript */,
@@ -291,13 +290,6 @@
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
- 17E5969914F307CE0054EE08 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
8DC2EF520486A6940098B216 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -319,7 +311,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
+ shellScript = "\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
};
/* End PBXShellScriptBuildPhase section */