aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/addrbook/macosx/Makefile
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-01-07 19:01:32 +0000
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-01-07 19:01:32 +0000
commit72bc56dbb32f2e311a9250ad561c9e3feef2e066 (patch)
treee10b816ef1a405e16caaba09ccc141cb073376e2 /src/native/addrbook/macosx/Makefile
parent8b919ddfb1de75c72c256aa671203183c5bfc232 (diff)
downloadjitsi-72bc56dbb32f2e311a9250ad561c9e3feef2e066.zip
jitsi-72bc56dbb32f2e311a9250ad561c9e3feef2e066.tar.gz
jitsi-72bc56dbb32f2e311a9250ad561c9e3feef2e066.tar.bz2
Activates an initial implementation of the support for the Address Book of Mac OS X. Neither it, nor the support for the Address Book of Microsoft Outlook implement the SourceContact image property.
Diffstat (limited to 'src/native/addrbook/macosx/Makefile')
-rw-r--r--src/native/addrbook/macosx/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/native/addrbook/macosx/Makefile b/src/native/addrbook/macosx/Makefile
new file mode 100644
index 0000000..6b71ff5
--- /dev/null
+++ b/src/native/addrbook/macosx/Makefile
@@ -0,0 +1,16 @@
+CC = cc -O2
+TARGET_BASENAME = jmacosxaddrbook
+
+JAVA_HOME = /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.5
+
+CC := $(CC) -arch i386 -arch ppc -arch x86_64 -mmacosx-version-min=10.4
+CPPFLAGS = -Wall -Wreturn-type -DJNI_IMPLEMENTATION -I$(JAVA_HOME)/Headers -I..
+LDFLAGS = -dynamiclib
+LIBS = -framework AddressBook -framework Foundation
+TARGET = ../../../../lib/native/mac/lib$(TARGET_BASENAME).jnilib
+
+$(TARGET): \
+ ../AddrBookContactQuery.c \
+ net_java_sip_communicator_plugin_addrbook_macosx_MacOSXAddrBookContactQuery.m
+ $(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
+ -strip $(TARGET)