incorporate svn version number in .prc file name

This commit is contained in:
ehouse 2006-12-20 04:57:36 +00:00
parent b551142f5f
commit bfda12516f

View file

@ -17,6 +17,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
PLATFORM=obj_palm PLATFORM=obj_palm
SVNREV = $(shell svnversion -n . | tr ':' '_')
ifeq ($(MEMDEBUG),TRUE) ifeq ($(MEMDEBUG),TRUE)
DEBUG = -DMEM_DEBUG -DDEBUG DEBUG = -DMEM_DEBUG -DDEBUG
@ -48,24 +49,24 @@ ARCH ?= ARM_ONLY
ifeq ($(ARCH),ARM_ONLY) ifeq ($(ARCH),ARM_ONLY)
PLATFORM := $(PLATFORM)_armonly PLATFORM := $(PLATFORM)_armonly
BUILD_AS_PNOLET = 1 BUILD_AS_PNOLET = 1
TARGET=$(PLATFORM)/xw4_ARM.prc TARGET=$(PLATFORM)/xw4_ARM_$(SVNREV).prc
else else
ifeq ($(ARCH),68K_ONLY) ifeq ($(ARCH),68K_ONLY)
PLATFORM := $(PLATFORM)_68konly PLATFORM := $(PLATFORM)_68konly
TARGET=$(PLATFORM)/xw4_68K.prc TARGET=$(PLATFORM)/xw4_68K_$(SVNREV).prc
else else
ifeq ($(ARCH),SONY) ifeq ($(ARCH),SONY)
# No highres in sony build case # No highres in sony build case
PLATFORM := $(PLATFORM)_sony PLATFORM := $(PLATFORM)_sony
BUILD_AS_PNOLET = 1 BUILD_AS_PNOLET = 1
FEATURE_PNOAND68K = -DFEATURE_PNOAND68K FEATURE_PNOAND68K = -DFEATURE_PNOAND68K
TARGET=$(PLATFORM)/xw4_SONY.prc TARGET=$(PLATFORM)/xw4_SONY_$(SVNREV).prc
else else
ifeq ($(ARCH),COMBINED) ifeq ($(ARCH),COMBINED)
PLATFORM := $(PLATFORM)_combined PLATFORM := $(PLATFORM)_combined
BUILD_AS_PNOLET = 1 BUILD_AS_PNOLET = 1
FEATURE_PNOAND68K = -DFEATURE_PNOAND68K FEATURE_PNOAND68K = -DFEATURE_PNOAND68K
TARGET=$(PLATFORM)/xwords4.prc TARGET=$(PLATFORM)/xwords4_$(SVNREV).prc
endif endif
endif endif
endif endif