Mercurial > pidgin.yaz
diff libgaim/Makefile.mingw @ 14467:fd45915c6988
[gaim-migrate @ 17183]
The gaim executable and the gtkgaim and libgaim dlls now contain version information.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 07 Sep 2006 17:53:25 +0000 |
parents | 8793fc8f7064 |
children | 5d03b309b482 |
line wrap: on
line diff
--- a/libgaim/Makefile.mingw Wed Sep 06 10:06:58 2006 +0000 +++ b/libgaim/Makefile.mingw Thu Sep 07 17:53:25 2006 +0000 @@ -76,7 +76,9 @@ win32/libc_interface.c \ win32/win32dep.c -OBJECTS = $(C_SRC:%.c=%.o) +RC_SRC = win32/libgaimrc.rc + +OBJECTS = $(C_SRC:%.c=%.o) $(RC_SRC:%.rc=%.o) ## ## LIBRARIES @@ -108,6 +110,10 @@ cp $(TARGET).dll $(GAIM_INSTALL_DIR) cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) +./win32/libgaimrc.rc: ./win32/libgaimrc.rc.in $(GAIM_TOP)/VERSION + sed -e 's/@GAIM_VERSION@/$(GAIM_VERSION)/g' \ + $@.in > $@ + $(OBJECTS): $(GAIM_CONFIG_H) $(TARGET).dll $(TARGET).dll.a: $(OBJECTS) @@ -117,9 +123,8 @@ ## CLEAN RULES ## clean: - rm -rf $(OBJECTS) - rm -rf $(TARGET).dll - rm -rf $(TARGET).dll.a + rm -f $(OBJECTS) $(RC_SRC) + rm -f $(TARGET).dll $(TARGET).dll.a $(MAKE) -C $(GAIM_PROTOS_TOP) -f $(GAIM_WIN32_MAKEFILE) clean $(MAKE) -C $(GAIM_LIB_PLUGINS_TOP) -f $(GAIM_WIN32_MAKEFILE) clean