pidgin: 369315b9: Fix the mingw Makefiles to ensure plugin...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri Jul 2 14:25:42 EDT 2010


----------------------------------------------------------------------
Revision: 369315b95ea96caa0f91acbabf434a6a0177f450
Parent:   b433a91177be6f0059cd466f9939f7a904b717a9
Author:   nosnilmot at pidgin.im
Date:     07/02/10 14:21:07
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/369315b95ea96caa0f91acbabf434a6a0177f450

Changelog: 

Fix the mingw Makefiles to ensure plugins are rebuilt when config.h or
version.h changes

Changes against parent b433a91177be6f0059cd466f9939f7a904b717a9

  patched  libpurple/plugins/Makefile.mingw
  patched  pidgin/plugins/Makefile.mingw

-------------- next part --------------
============================================================
--- pidgin/plugins/Makefile.mingw	77d588ac19757067f777e76a6817ebe80f733403
+++ pidgin/plugins/Makefile.mingw	f2daa4fdb76868c79c4eca2e2703bc8f8b8c1366
@@ -73,7 +73,7 @@ install: all $(PIDGIN_INSTALL_PLUGINS_DI
 	$(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) install
 	cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR)
 
-.c.dll:
+%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
 	$(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@
 
============================================================
--- libpurple/plugins/Makefile.mingw	923a17a39482e082f7b36d278d15929697320640
+++ libpurple/plugins/Makefile.mingw	1c0ee251a4396f7ca15a2492e04cb8d6104eea7f
@@ -55,7 +55,7 @@ install: all $(PURPLE_INSTALL_PLUGINS_DI
 	$(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) install
 	cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR)
 
-.c.dll:
+%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
 	$(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@
 


More information about the Commits mailing list