-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile-MacOS
41 lines (31 loc) · 1.35 KB
/
Makefile-MacOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
DEV_HOME := .
MULBERRY_HOME := ${DEV_HOME}
LIBRARIES_HOME := ${DEV_HOME}/Libraries
POWERPLANT_HOME := ${LIBRARIES_HOME}/open-powerplant
SVN_ROOT := http://svn.mulberrymail.com
SVN_MULBERRY := ${SVN_ROOT}/mulberry
SVN_POWERPLANT := https://open-powerplant.svn.sourceforge.net/svnroot/open-powerplant/trunk
SVN_FRONTIER := https://frontierkernel.svn.sourceforge.net/svnroot/frontierkernel/Frontier/trunk
# Plugins to build
BUILD_PLUGINS := PluginLibrary CocoaSpeller CommunicatorAdbkIO CRAM-MD5 DIGEST-MD5 \
Eudora4AdbkIO EudoraAdbkIO GPG GSSAPI \
NetscapeAdbkIO OEAdbkIO PineAdbkIO QuickmailAdbkIO \
QuickmailProAdbkIO SMIME SSL vCardAdbkIO
APP_TARGET := Debug
SDK := /Developer/SDKs/MacOSX10.5.sdk
all: build
build: buildplugins buildapp
echo "Built Mulberry"
buildplugins:
@for PLUGIN in $(BUILD_PLUGINS); do \
echo "-->Building $$PLUGIN ${APP_TARGET}"; \
xcodebuild -sdk ${SDK} -project ${MULBERRY_HOME}/Plug-ins/$$PLUGIN/$$PLUGIN.xcodeproj -configuration "${APP_TARGET}" || exit 1; \
echo "" ;\
done
buildapp:
echo "-->Building Mulberry ${APP_TARGET}"
xcodebuild -sdk ${SDK} -project ${MULBERRY_HOME}/MacOS/MulberryXcode.xcodeproj -configuration "${APP_TARGET}"
clean:
echo "-->Building Mulberry ${APP_TARGET}"
xcodebuild -sdk ${SDK} -project ${MULBERRY_HOME}/MacOS/MulberryXcode.xcodeproj -configuration "${APP_TARGET}" clean
.NOTPARALLEL: