Mercurial > pidgin.yaz
comparison libpurple/win32/global.mak @ 21298:008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
to what ./configure --with-extraversion=foo does elsewhere
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 10 Nov 2007 15:55:29 +0000 |
parents | 5b1acbab99cf |
children | f5b8e7cf870b |
comparison
equal
deleted
inserted
replaced
21297:5b1acbab99cf | 21298:008cfc009d0e |
---|---|
69 $(PIDGIN_TREE_TOP)/configure.ac > $(PIDGIN_TREE_TOP)/VERSION; \ | 69 $(PIDGIN_TREE_TOP)/configure.ac > $(PIDGIN_TREE_TOP)/VERSION; \ |
70 fi; \ | 70 fi; \ |
71 cat $(PIDGIN_TREE_TOP)/VERSION \ | 71 cat $(PIDGIN_TREE_TOP)/VERSION \ |
72 ) | 72 ) |
73 PURPLE_VERSION := $(PIDGIN_VERSION) | 73 PURPLE_VERSION := $(PIDGIN_VERSION) |
74 ifdef EXTRAVERSION | |
75 DISPLAY_VERSION := $(PIDGIN_VERSION)-$(EXTRAVERSION) | |
76 else | |
77 DISPLAY_VERSION := $(PIDGIN_VERSION) | |
78 endif | |
74 | 79 |
75 DEFINES += -DHAVE_CONFIG_H | 80 DEFINES += -DHAVE_CONFIG_H |
76 | 81 |
77 # Use -g flag when building debug version of Pidgin (including plugins). | 82 # Use -g flag when building debug version of Pidgin (including plugins). |
78 # Use -fnative-struct instead of -mms-bitfields when using mingw 1.1 | 83 # Use -fnative-struct instead of -mms-bitfields when using mingw 1.1 |