changeset 14699:cd1ddfa8868c

[gaim-migrate @ 17451] A couple Makefile.mingw tweaks from Lee Roach. `make -f Makefile.mingw clean` will no longer delete win32-install-dir, a new "uninstall" target has been added for that purpose. The perl Makefiles "clean" target will now delete .c files generated from the .xs files. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 08 Oct 2006 19:17:32 +0000
parents 85b84a253a83
children 7fb8a8583c73
files Makefile.mingw gtk/plugins/perl/common/Makefile.mingw libgaim/plugins/perl/common/Makefile.mingw
diffstat 3 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Sun Oct 08 17:44:10 2006 +0000
+++ b/Makefile.mingw	Sun Oct 08 19:17:32 2006 +0000
@@ -31,7 +31,7 @@
     exit; \
 }' VERSION)
 
-.PHONY: all install installer installer_nogtk installer_debug installers clean
+.PHONY: all install installer installer_nogtk installer_debug installers clean uninstall
 
 all: $(GAIM_CONFIG_H)
 	$(MAKE) -C $(GAIM_LIB_TOP) -f $(GAIM_WIN32_MAKEFILE)
@@ -59,6 +59,8 @@
 	$(MAKE) -C $(GAIM_GTK_TOP) -f $(GAIM_WIN32_MAKEFILE) clean
 	$(MAKE) -C $(GAIM_LIB_TOP) -f $(GAIM_WIN32_MAKEFILE) clean
 	rm -f $(GAIM_CONFIG_H) gaim*.exe
+
+uninstall:
 	rm -rf $(GAIM_INSTALL_PERLMOD_DIR) $(GAIM_INSTALL_PLUGINS_DIR) $(GAIM_INSTALL_PO_DIR) $(GAIM_INSTALL_DIR)
 
 include $(GAIM_COMMON_TARGETS)
--- a/gtk/plugins/perl/common/Makefile.mingw	Sun Oct 08 17:44:10 2006 +0000
+++ b/gtk/plugins/perl/common/Makefile.mingw	Sun Oct 08 19:17:32 2006 +0000
@@ -104,6 +104,6 @@
 ## CLEAN
 ##
 clean:
-	rm -f *.o $(TARGET).dll
+	rm -f *.o $(C_FILES) $(TARGET).dll
 
 include $(GAIM_COMMON_TARGETS)
--- a/libgaim/plugins/perl/common/Makefile.mingw	Sun Oct 08 17:44:10 2006 +0000
+++ b/libgaim/plugins/perl/common/Makefile.mingw	Sun Oct 08 19:17:32 2006 +0000
@@ -110,6 +110,7 @@
 ## CLEAN
 ##
 clean:
-	rm -rf *.o $(TARGET).dll $(FALLBACKS) lib
+	rm -rf $(TARGET).dll $(FALLBACKS) lib
+	rm -f *.o $(C_FILES)
 
 include $(GAIM_COMMON_TARGETS)