Fixes the Makefile for the JNI binary of the support for the Address Book of Microsoft Outlook.

cusax-fix
Lyubomir Marinov 15 years ago
parent 08f364ab3a
commit af76f39029

@ -1,8 +1,8 @@
CXX = c++ -O2
CC = gcc -O2
OUTLOOK_MAPI_HEADERS ?= /c/Users/lyubomir/Downloads/Outlook2010MAPIHeaders
TARGET_BASENAME = jmsoutlookaddrbook
ARCH = $(shell $(CXX) -dumpmachine | sed -e s/x86_64-.*/-64/ -e s/i.86-.*//)
ARCH = $(shell $(CC) -dumpmachine | sed -e s/x86_64-.*/-64/ -e s/i.86-.*//)
ifeq "$(ARCH)" "-64"
JAVA_HOME ?= C:/PROGRA~1/jdk
else
@ -15,9 +15,9 @@ LIBS = -lmapi32
TARGET = ../../../../lib/native/windows$(ARCH)/$(TARGET_BASENAME).dll
$(TARGET): \
../AddrBookContactQuery.c
MsOutlookMAPIHResultException.cpp \
net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactQuery.cpp \
net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactSourceService.c
$(CXX) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
../AddrBookContactQuery.c \
MsOutlookMAPIHResultException.cxx \
net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactQuery.cxx \
net_java_sip_communicator_plugin_addrbook_msoutlook_MsOutlookAddrBookContactSourceService.cxx
$(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
-strip $(TARGET)

Loading…
Cancel
Save