diff plugins/perl/Makefile.mingw @ 6816:5aeba37b303c

[gaim-migrate @ 7356] Perl plugins for Win Gaim. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 12 Sep 2003 19:04:52 +0000
parents b931dcf6febc
children f05d0a317f45
line wrap: on
line diff
--- a/plugins/perl/Makefile.mingw	Fri Sep 12 05:36:50 2003 +0000
+++ b/plugins/perl/Makefile.mingw	Fri Sep 12 19:04:52 2003 +0000
@@ -10,7 +10,7 @@
 
 GTK_TOP :=		../../../win32-dev/gtk_2_0
 GAIM_TOP :=		../..
-PERL_LIB_DIR :=		../../../win32-dev/perl56
+PERL_LIB_DIR :=		../../../win32-dev/perl58
 PERL_INCLUDE :=         $(PERL_LIB_DIR)/CORE
 GAIM_INSTALL_DIR :=	$(GAIM_TOP)/win32-install-dir
 DLL_INSTALL_DIR :=	$(GAIM_INSTALL_DIR)/plugins
@@ -84,7 +84,7 @@
 			-lws2_32 \
 			-lintl \
 			-lgaim \
-			-lperl56
+			-lperl58
 
 
 ##
@@ -103,10 +103,11 @@
 .PHONY: all clean
 
 all: $(TARGET).dll
+	$(MAKE) -C ./common -f Makefile.mingw
 
 install:
 	cp $(TARGET).dll $(DLL_INSTALL_DIR)
-
+	$(MAKE) -C ./common -f Makefile.mingw install
 
 ##
 ## BUILD Dependencies
@@ -120,7 +121,7 @@
 ##
 
 $(TARGET).dll: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib
-	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
+	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS)  -Wl,--export-all-symbols -Wl,--out-implib,$(TARGET).lib -o $(TARGET).dll
 
 
 ##
@@ -129,4 +130,5 @@
 
 clean:
 	rm -rf *.o
-	rm -rf $(TARGET).dll
+	rm -rf $(TARGET).dll $(TARGET).lib
+	$(MAKE) -C ./common -f Makefile.mingw clean