Blame SOURCES/libmapi-0.8.2-libmapi-conflict.patch

e5b36c
diff -up openchange-openchange-2.3-VULCAN/libmapi.pc.in.libmapi-conflict openchange-openchange-2.3-VULCAN/libmapi.pc.in
e5b36c
--- openchange-openchange-2.3-VULCAN/libmapi.pc.in.libmapi-conflict	2015-05-16 17:22:04.000000000 +0200
e5b36c
+++ openchange-openchange-2.3-VULCAN/libmapi.pc.in	2015-05-18 07:00:01.718355270 +0200
e5b36c
@@ -8,7 +8,7 @@ datadir=@datadir@
e5b36c
 Name: MAPI
e5b36c
 Description: MAPI Protocol Implementation
e5b36c
 Version: @PACKAGE_VERSION@
e5b36c
-Libs: -L${libdir} -lmapi
e5b36c
+Libs: -L${libdir} -lmapi-openchange
e5b36c
 Libs.private: @LIBS@
e5b36c
 Cflags: -I${includedir}
e5b36c
 Requires: talloc dcerpc ndr tevent
e5b36c
diff -up openchange-openchange-2.3-VULCAN/Makefile.libmapi-conflict openchange-openchange-2.3-VULCAN/Makefile
e5b36c
--- openchange-openchange-2.3-VULCAN/Makefile.libmapi-conflict	2015-05-16 17:22:04.000000000 +0200
e5b36c
+++ openchange-openchange-2.3-VULCAN/Makefile	2015-05-18 07:01:57.737350354 +0200
e5b36c
@@ -166,7 +166,7 @@ LIBMAPI_SO_VERSION = 0
e5b36c
 
e5b36c
 libmapi:	idl					\
e5b36c
 		libmapi/version.h			\
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)	
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)	
e5b36c
 
e5b36c
 libmapi-install:	libmapi			\
e5b36c
 			libmapi-installpc	\
e5b36c
@@ -201,8 +201,8 @@ endif
e5b36c
 	rm -f *~
e5b36c
 	rm -f */*~
e5b36c
 	rm -f */*/*~
e5b36c
-	rm -f libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi.$(SHLIBEXT).* \
e5b36c
-		  libmapi.$(SHLIBEXT)
e5b36c
+	rm -f libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi-openchange.$(SHLIBEXT).* \
e5b36c
+		  libmapi-openchange.$(SHLIBEXT)
e5b36c
 
e5b36c
 clean:: libmapi-clean
e5b36c
 
e5b36c
@@ -219,10 +219,10 @@ libmapi-installpc:
e5b36c
 libmapi-installlib:
e5b36c
 	@echo "[*] install: libmapi library"
e5b36c
 	$(INSTALL) -d $(DESTDIR)$(libdir)
e5b36c
-	$(INSTALL) -m 0755 libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)
e5b36c
-	ln -sf libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi.$(SHLIBEXT)
e5b36c
+	$(INSTALL) -m 0755 libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)
e5b36c
+	ln -sf libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi-openchange.$(SHLIBEXT)
e5b36c
 ifeq ($(MANUALLY_CREATE_SYMLINKS), yes)
e5b36c
-	ln -sf libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION)
e5b36c
+	ln -sf libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) $(DESTDIR)$(libdir)/libmapi-openchange.$(SHLIBEXT).$(LIBMAPI_SO_VERSION)
e5b36c
 endif
e5b36c
 
e5b36c
 libmapi-installheader:
e5b36c
@@ -267,7 +267,7 @@ libmapi-uninstallpc:
e5b36c
 	rm -f $(DESTDIR)$(libdir)/pkgconfig/libmapi.pc
e5b36c
 
e5b36c
 libmapi-uninstalllib:
e5b36c
-	rm -f $(DESTDIR)$(libdir)/libmapi.*
e5b36c
+	rm -f $(DESTDIR)$(libdir)/libmapi-openchange.*
e5b36c
 
e5b36c
 libmapi-uninstallheader:
e5b36c
 	rm -rf $(DESTDIR)$(includedir)/libmapi
e5b36c
@@ -279,7 +279,7 @@ libmapi-uninstallscript:
e5b36c
 	rm -f $(DESTDIR)$(datadir)/setup/profiles/oc_profiles*
e5b36c
 	rm -rf $(DESTDIR)$(datadir)/setup/profiles
e5b36c
 
e5b36c
-libmapi.$(SHLIBEXT).$(PACKAGE_VERSION): 		\
e5b36c
+libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION): 		\
e5b36c
 	libmapi/emsmdb.po				\
e5b36c
 	libmapi/async_emsmdb.po				\
e5b36c
 	libmapi/IABContainer.po				\
e5b36c
@@ -326,10 +326,10 @@ libmapi.$(SHLIBEXT).$(PACKAGE_VERSION):
e5b36c
 	libmapi/socket/interface.po			\
e5b36c
 	libmapi/socket/netif.po				
e5b36c
 	@echo "Linking $@"
e5b36c
-	@$(CC) $(DSOOPT) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) -o $@ $^ $(LIBS)
e5b36c
+	@$(CC) $(DSOOPT) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libmapi-openchange.$(SHLIBEXT).$(LIBMAPI_SO_VERSION) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
 
e5b36c
-libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION): libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+libmapi-openchange.$(SHLIBEXT).$(LIBMAPI_SO_VERSION): libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	ln -fs $< $@
e5b36c
 
e5b36c
 libmapi/version.h: VERSION
e5b36c
@@ -364,7 +364,7 @@ libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	libmapi++/src/object.po			\
e5b36c
 	libmapi++/src/profile.po		\
e5b36c
 	libmapi++/src/session.po \
e5b36c
-	libmapi.$(SHLIBEXT).$(LIBMAPI_SO_VERSION)
e5b36c
+	libmapi-openchange.$(SHLIBEXT).$(LIBMAPI_SO_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CXX) $(DSOOPT) $(CXX11FLAGS) $(CXXFLAGS) $(LDFLAGS) -Wl,-soname,libmapipp.$(SHLIBEXT).$(LIBMAPIPP_SO_VERSION) -o $@ $^ $(LIBS) 
e5b36c
 
e5b36c
@@ -445,7 +445,7 @@ clean:: libmapixx-tests-clean
e5b36c
 
e5b36c
 bin/libmapixx-test:	libmapi++/tests/test.cpp	\
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking sample application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) 
e5b36c
 
e5b36c
@@ -460,7 +460,7 @@ libmapixx-attach-clean:
e5b36c
 
e5b36c
 bin/libmapixx-attach: libmapi++/tests/attach_test.po	\
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking sample application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -470,7 +470,7 @@ libmapixx-exception: bin/libmapixx-excep
e5b36c
  
e5b36c
 bin/libmapixx-exception: libmapi++/tests/exception_test.cpp \
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking exception test application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -490,7 +490,7 @@ libmapixx-profiletest-clean:
e5b36c
 
e5b36c
 bin/libmapixx-profiletest: libmapi++/tests/profile_test.po	\
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking profile test application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -511,7 +511,7 @@ libmapixx-messages-clean:
e5b36c
 
e5b36c
 libmapi++/examples/foldertree: libmapi++/examples/foldertree.cpp	\
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking foldertree example application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -519,7 +519,7 @@ clean:: libmapixx-foldertree-clean
e5b36c
 
e5b36c
 libmapi++/examples/messages: libmapi++/examples/messages.cpp	\
e5b36c
 		libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION) \
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking messages example application $@"
e5b36c
 	@$(CXX) $(CXX11FLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -586,7 +586,7 @@ libmapiadmin-uninstallheader:
e5b36c
 libmapiadmin.$(SHLIBEXT).$(PACKAGE_VERSION):	\
e5b36c
 	libmapiadmin/mapiadmin_user.po		\
e5b36c
 	libmapiadmin/mapiadmin.po 		\
e5b36c
-	libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+	libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(DSOOPT) $(LDFLAGS) -Wl,-soname,libmapiadmin.$(SHLIBEXT).$(LIBMAPIADMIN_SO_VERSION) -o $@ $^ $(LIBS) $(LIBMAPIADMIN_LIBS) 
e5b36c
 
e5b36c
@@ -663,7 +663,7 @@ libocpf.$(SHLIBEXT).$(PACKAGE_VERSION):
e5b36c
 	libocpf/ocpf_dump.po			\
e5b36c
 	libocpf/ocpf_api.po			\
e5b36c
 	libocpf/ocpf_write.po			\
e5b36c
-	libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+	libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(DSOOPT) $(LDFLAGS) -Wl,-soname,libocpf.$(SHLIBEXT).$(LIBOCPF_SO_VERSION) -o $@ $^ $(LIBS)
e5b36c
 
e5b36c
@@ -740,7 +740,7 @@ mapiproxy/dcesrv_mapiproxy.$(SHLIBEXT):
e5b36c
 						gen_ndr/ndr_exchange.po				
e5b36c
 
e5b36c
 	@echo "Linking $@"
e5b36c
-	@$(CC) -o $@ $(DSOOPT) $^ -L. $(LDFLAGS) $(LIBS) $(SAMBASERVER_LIBS) $(SAMDB_LIBS) -Lmapiproxy mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+	@$(CC) -o $@ $(DSOOPT) $^ -L. $(LDFLAGS) $(LIBS) $(SAMBASERVER_LIBS) $(SAMDB_LIBS) -Lmapiproxy mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 
e5b36c
 mapiproxy/dcesrv_mapiproxy.c: gen_ndr/ndr_exchange_s.c gen_ndr/ndr_exchange.c
e5b36c
 
e5b36c
@@ -748,7 +748,7 @@ mapiproxy/dcesrv_mapiproxy.c: gen_ndr/nd
e5b36c
 mapiproxy/dcesrv_asyncemsmdb.$(SHLIBEXT):	mapiproxy/servers/default/asyncemsmdb/dcesrv_asyncemsmdb.po	\
e5b36c
 						gen_ndr/ndr_asyncemsmdb.po
e5b36c
 	@echo "Linking $@"
e5b36c
-	@$(CC) -o $@ $(DSOOPT) $^ -L. $(LDFLAGS) $(LIBS) $(SAMBASERVER_LIBS) $(SAMDB_LIBS) $(NANOMSG_LIBS) -Lmapiproxy mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION) mapiproxy/libmapiserver.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
+	@$(CC) -o $@ $(DSOOPT) $^ -L. $(LDFLAGS) $(LIBS) $(SAMBASERVER_LIBS) $(SAMDB_LIBS) $(NANOMSG_LIBS) -Lmapiproxy mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION) libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION) mapiproxy/libmapiserver.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
 
e5b36c
 
e5b36c
 mapiproxy/servers/default/asyncemsmdb/dcesrv_asyncemsmdb.c: gen_ndr/ndr_asyncemsmdb_s.c gen_ndr/ndr_asyncemsmdb.c
e5b36c
@@ -808,7 +808,7 @@ mapiproxy/libmapiproxy.$(SHLIBEXT).$(PAC
e5b36c
 							mapiproxy/util/mysql.po					\
e5b36c
 							mapiproxy/util/schema_migration.po			\
e5b36c
 							mapiproxy/util/ccan/htable/htable.po			\
e5b36c
-							libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+							libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $(DSOOPT) $(LDFLAGS) -Wl,-soname,libmapiproxy.$(SHLIBEXT).$(LIBMAPIPROXY_SO_VERSION) $^ -L. $(LIBS) $(TDB_LIBS) $(DL_LIBS) $(MYSQL_LIBS) $(PYTHON_LIBS)
e5b36c
 
e5b36c
@@ -962,7 +962,7 @@ mapiproxy/libmapistore.$(SHLIBEXT).$(PAC
e5b36c
 							mapiproxy/util/ccan/htable/htable.po				\
e5b36c
 							mapiproxy/util/ccan/hash/hash.po				\
e5b36c
 							mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
-							libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+							libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(DSOOPT) $(MEMCACHED_CFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libmapistore.$(SHLIBEXT).$(LIBMAPISTORE_SO_VERSION) -o $@ $^ $(LIBS) $(TDB_LIBS) $(DL_LIBS) $(MYSQL_LIBS) $(MEMCACHED_LIBS)
e5b36c
 
e5b36c
@@ -984,7 +984,7 @@ mapistore_test: bin/mapistore_test
e5b36c
 bin/mapistore_test: 	mapiproxy/libmapistore/tests/mapistore_test.o		\
e5b36c
 			mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
 			mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LDFLAGS) $(LIBS) -lpopt
e5b36c
 
e5b36c
@@ -1178,7 +1178,7 @@ clean:: openchangeclient-clean
e5b36c
 
e5b36c
 bin/openchangeclient: 	utils/openchangeclient.o			\
e5b36c
 			utils/openchange-tools.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
 			libocpf.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) -lpopt
e5b36c
@@ -1207,7 +1207,7 @@ clean:: mapiprofile-clean
e5b36c
 
e5b36c
 bin/mapiprofile: 	utils/mapiprofile.o 			\
e5b36c
 			utils/openchange-tools.o 		\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) -lpopt
e5b36c
 
e5b36c
@@ -1233,7 +1233,7 @@ clean:: ocnotify-clean
e5b36c
 bin/ocnotify:		utils/ocnotify.o					\
e5b36c
 			mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
 			mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(CFLAGS) $(NANOMSG_CFLAGS) -o $@ $^ $(LDFLAGS) $(NANOMSG_LIBS) $(LIBS) -lpopt
e5b36c
 
e5b36c
@@ -1257,7 +1257,7 @@ rpcextract-clean::
e5b36c
 clean:: rpcextract-clean
e5b36c
 
e5b36c
 bin/rpcextract:		utils/rpcextract.o		\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(CFLAGS) $(PCAP_CFLAGS) -o $@ $^ $(LDFLAGS) $(PCAP_LIBS) $(LIBS) -lpopt -lndr
e5b36c
 
e5b36c
@@ -1282,7 +1282,7 @@ mapipropsdump-clean::
e5b36c
 clean:: mapipropsdump-clean
e5b36c
 
e5b36c
 bin/mapipropsdump: 	utils/mapipropsdump.o				\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(SAMBA_LIBS) $(LIBS) $(DL_LIBS) -lpopt -lndr
e5b36c
 
e5b36c
@@ -1309,7 +1309,7 @@ clean:: openchangepfadmin-clean
e5b36c
 
e5b36c
 bin/openchangepfadmin:	utils/openchangepfadmin.o			\
e5b36c
 			utils/openchange-tools.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) 		\
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) 		\
e5b36c
 			libmapiadmin.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBMAPIADMIN_LIBS) -lpopt			
e5b36c
@@ -1341,7 +1341,7 @@ clean:: exchange2mbox-clean
e5b36c
 
e5b36c
 bin/exchange2mbox:	utils/exchange2mbox.o				\
e5b36c
 			utils/openchange-tools.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LIBS) $(LDFLAGS) -lpopt  $(MAGIC_LIBS)
e5b36c
 
e5b36c
@@ -1405,7 +1405,7 @@ bin/exchange2ical:	utils/exchange2ical_t
e5b36c
 			libexchange2ical/ical2exchange.o	\
e5b36c
 			libexchange2ical/ical2exchange_property.o	\
e5b36c
 			utils/openchange-tools.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(ICAL_LIBS) -lpopt
e5b36c
 
e5b36c
@@ -1445,7 +1445,7 @@ bin/openchange-testsuite: 	testsuite/tes
e5b36c
 				mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
 				mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
-	@$(CC) $(CFLAGS) $(CHECK_CFLAGS) $(TDB_CFLAGS) $(PYTHON_CFLAGS) -I. -Itestsuite/ -Imapiproxy -o $@ $^ $(LDFLAGS) $(LIBS) $(TDB_LIBS) $(CHECK_LIBS) $(MYSQL_LIBS) $(PYTHON_LIBS) -lpopt libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) $(MEMCACHED_LIBS)
e5b36c
+	@$(CC) $(CFLAGS) $(CHECK_CFLAGS) $(TDB_CFLAGS) $(PYTHON_CFLAGS) -I. -Itestsuite/ -Imapiproxy -o $@ $^ $(LDFLAGS) $(LIBS) $(TDB_LIBS) $(CHECK_LIBS) $(MYSQL_LIBS) $(PYTHON_LIBS) -lpopt libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) $(MEMCACHED_LIBS)
e5b36c
 
e5b36c
 testsuite-check:	testsuite
e5b36c
 	@LD_LIBRARY_PATH=. PYTHONPATH=./python CK_XML_LOG_FILE_NAME=test_results.xml ./bin/openchange-testsuite
e5b36c
@@ -1513,7 +1513,7 @@ bin/mapitest:	utils/mapitest/mapitest.o
e5b36c
 		utils/mapitest/modules/module_lcid.o		\
e5b36c
 		utils/mapitest/modules/module_mapidump.o	\
e5b36c
 		utils/mapitest/modules/module_lzxpress.o	\
e5b36c
-		libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)		
e5b36c
+		libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)		
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LDFLAGS) $(LIBS) -lpopt $(SUBUNIT_LIBS)
e5b36c
 
e5b36c
@@ -1574,7 +1574,7 @@ clean:: openchangemapidump-clean
e5b36c
 bin/openchangemapidump:	utils/backup/openchangemapidump.o		\
e5b36c
 			utils/backup/openchangebackup.o			\
e5b36c
 			utils/openchange-tools.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LDFLAGS) $(LIBS) -lpopt
e5b36c
 
e5b36c
@@ -1625,7 +1625,7 @@ check_fasttransfer-clean::
e5b36c
 clean:: check_fasttransfer-clean
e5b36c
 
e5b36c
 bin/check_fasttransfer:	testprogs/check_fasttransfer.o				\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)			\
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)			\
e5b36c
 			mapiproxy/libmapistore.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
 			mapiproxy/libmapiproxy.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
@@ -1653,7 +1653,7 @@ test_asyncnotif-clean::
e5b36c
 clean:: test_asyncnotif-clean
e5b36c
 
e5b36c
 bin/test_asyncnotif:	testprogs/test_asyncnotif.o			\
e5b36c
-			libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+			libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) -o $@ $^ $(LIBS) $(LDFLAGS) -lpopt
e5b36c
 
e5b36c
@@ -1701,13 +1701,13 @@ pyopenchange: 	$(pythonscriptdir)/opench
e5b36c
 
e5b36c
 $(pythonscriptdir)/openchange/mapi.$(SHLIBEXT):	pyopenchange/pymapi.c				\
e5b36c
 						pyopenchange/pymapi_properties.c		\
e5b36c
-						libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+						libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"
e5b36c
 	@$(CC) $(PYTHON_CFLAGS) $(CFLAGS) -fno-strict-aliasing $(DSOOPT) $(LDFLAGS) -o $@ $^ $(PYTHON_LIBS) $(LIBS)
e5b36c
 
e5b36c
 # $(pythonscriptdir)/openchange/ocpf.$(SHLIBEXT):	pyopenchange/pyocpf.c				\
e5b36c
 # 						libocpf.$(SHLIBEXT).$(PACKAGE_VERSION)		\
e5b36c
-# 						libmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
+# 						libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 # 	@echo "Linking $@"
e5b36c
 # 	@$(CC) $(PYTHON_CFLAGS) $(CFLAGS) $(DSOOPT) $(LDFLAGS) -o $@ $^ $(PYTHON_LIBS) $(LIBS)
e5b36c
 
e5b36c
@@ -1894,7 +1894,7 @@ libqtmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 
e5b36c
 qt/demo/demoapp: qt/demo/demoapp.o 				\
e5b36c
 	qt/demo/main.o 					\
e5b36c
-	libmapi.$(SHLIBEXT).$(PACKAGE_VERSION) 		\
e5b36c
+	libmapi-openchange.$(SHLIBEXT).$(PACKAGE_VERSION) 		\
e5b36c
 	libmapipp.$(SHLIBEXT).$(PACKAGE_VERSION)	\
e5b36c
 	libqtmapi.$(SHLIBEXT).$(PACKAGE_VERSION)
e5b36c
 	@echo "Linking $@"