diff libpurple/protocols/jabber/Makefile.mingw @ 16039:ded8da3de5f8

This should get all the Win32 Makefiles in line with the names Pidgin and Purple. I tried to separate PIDGIN and PURPLE values as much as a could to make it easier to divide them later if that's ever desired.
author Kevin Stange <kevin@simguy.net>
date Tue, 10 Apr 2007 06:19:29 +0000
parents 0e17470b47c2
children ff2cd3f29f9b
line wrap: on
line diff
--- a/libpurple/protocols/jabber/Makefile.mingw	Mon Apr 09 22:54:39 2007 +0000
+++ b/libpurple/protocols/jabber/Makefile.mingw	Tue Apr 10 06:19:29 2007 +0000
@@ -4,8 +4,8 @@
 # Description: Makefile for win32 (mingw) version of libjabber
 #
 
-GAIM_TOP := ../../..
-include $(GAIM_TOP)/libpurple/win32/global.mak
+PIDGIN_TREE_TOP := ../../..
+include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
 
 TARGET = libjabber
 TYPE = PLUGIN
@@ -13,10 +13,10 @@
 # Static or Plugin...
 ifeq ($(TYPE),STATIC)
   DEFINES += -DSTATIC
-  DLL_INSTALL_DIR =	$(GAIM_INSTALL_DIR)
+  DLL_INSTALL_DIR =	$(PURPLE_INSTALL_DIR)
 else
 ifeq ($(TYPE),PLUGIN)
-  DLL_INSTALL_DIR =	$(GAIM_INSTALL_PLUGINS_DIR)
+  DLL_INSTALL_DIR =	$(PURPLE_INSTALL_PLUGINS_DIR)
 endif
 endif
 
@@ -29,13 +29,13 @@
 			-I$(GTK_TOP)/include/glib-2.0 \
 			-I$(GTK_TOP)/lib/glib-2.0/include \
 			-I$(LIBXML2_TOP)/include \
-			-I$(GAIM_LIB_TOP) \
-			-I$(GAIM_LIB_TOP)/win32 \
-			-I$(GAIM_TOP)
+			-I$(PURPLE_TOP) \
+			-I$(PURPLE_TOP)/win32 \
+			-I$(PIDGIN_TREE_TOP)
 
 LIB_PATHS =		-L$(GTK_TOP)/lib \
 			-L$(LIBXML2_TOP)/lib \
-			-L$(GAIM_LIB_TOP)
+			-L$(PURPLE_TOP)
 
 ##
 ##  SOURCES, OBJECTS
@@ -69,7 +69,7 @@
 			-lintl \
 			-lpurple
 
-include $(GAIM_COMMON_RULES)
+include $(PIDGIN_COMMON_RULES)
 
 ##
 ## TARGET DEFINITIONS
@@ -81,9 +81,9 @@
 install: all $(DLL_INSTALL_DIR)
 	cp $(TARGET).dll $(DLL_INSTALL_DIR)
 
-$(OBJECTS): $(GAIM_CONFIG_H)
+$(OBJECTS): $(PURPLE_CONFIG_H)
 
-$(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(OBJECTS)
+$(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
 	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
 
 ##
@@ -93,4 +93,4 @@
 	rm -f $(OBJECTS)
 	rm -f $(TARGET).dll
 
-include $(GAIM_COMMON_TARGETS)
+include $(PIDGIN_COMMON_TARGETS)