author | mickeyl <mickeyl> | 2003-06-03 15:38:37 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-06-03 15:38:37 (UTC) |
commit | 3dea54857e7ba2fbd56eee453bf2dd96969eb91c (patch) (unidiff) | |
tree | 785eaeef0ee61dbac09bacb3865baa573c0da8d6 /Vars.make | |
parent | 7b06627cd5083cac80a584b2d85dbb4d03b6c1df (diff) | |
download | opie-3dea54857e7ba2fbd56eee453bf2dd96969eb91c.zip opie-3dea54857e7ba2fbd56eee453bf2dd96969eb91c.tar.gz opie-3dea54857e7ba2fbd56eee453bf2dd96969eb91c.tar.bz2 |
simpad
-rw-r--r-- | Vars.make | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,65 +24,68 @@ ifeq ($(QPE_VERSION),) | |||
24 | VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h)) | 24 | VERSION_PAT:=$(shell echo $$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$(OPIEDIR)/library/version.h)) |
25 | QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT) | 25 | QPE_VERSION:=$(VERSION_MAJ).$(VERSION_MIN).$(VERSION_PAT) |
26 | 26 | ||
27 | ifeq ($(QPE_VERSION),..) | 27 | ifeq ($(QPE_VERSION),..) |
28 | QPE_VERSION=0.9.3 | 28 | QPE_VERSION=0.9.3 |
29 | endif | 29 | endif |
30 | endif | 30 | endif |
31 | export QPE_VERSION | 31 | export QPE_VERSION |
32 | 32 | ||
33 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) | 33 | SUB_VERSION=$(shell echo $$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$(OPIEDIR)/library/version.h)) |
34 | ifeq ($(VERSION_CVS),) | 34 | ifeq ($(VERSION_CVS),) |
35 | VERSION_CVS:=$(shell date +%Y%m%d) | 35 | VERSION_CVS:=$(shell date +%Y%m%d) |
36 | endif | 36 | endif |
37 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) | 37 | ifneq ($(filter %snapshot",$(shell cat $(OPIEDIR)/library/version.h|grep QPE_VERSION)),) |
38 | SUB_VERSION:=$(VERSION_CVS) | 38 | SUB_VERSION:=$(VERSION_CVS) |
39 | endif | 39 | endif |
40 | export SUB_VERSION | 40 | export SUB_VERSION |
41 | 41 | ||
42 | ifeq ($(QTE_REVISION),) | 42 | ifeq ($(QTE_REVISION),) |
43 | QTE_REVISION=5 | 43 | QTE_REVISION=5 |
44 | endif | 44 | endif |
45 | export QTE_REVISION | 45 | export QTE_REVISION |
46 | 46 | ||
47 | export DEB_VERSION=2.0 | 47 | export DEB_VERSION=2.0 |
48 | 48 | ||
49 | ifeq ($(QTE_BASEVERSION),) | 49 | ifeq ($(QTE_BASEVERSION),) |
50 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) | 50 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
51 | QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;') | 51 | QTE_BASEVERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION'|grep -v STR|sed -e 's/\#define QT_VERSION\t*//; s/.*\([0-9]\)\([0-9]\)\([0-9]\).*/\1.\2.\3/;') |
52 | else | 52 | else |
53 | QTE_BASEVERSION=2.3.5 | 53 | QTE_BASEVERSION=2.3.5 |
54 | endif | 54 | endif |
55 | endif | 55 | endif |
56 | export QTE_BASEVERSION | 56 | export QTE_BASEVERSION |
57 | 57 | ||
58 | ifeq ($(QTE_VERSION),) | 58 | ifeq ($(QTE_VERSION),) |
59 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) | 59 | ifneq ($(shell ls $(QTDIR)/include/qglobal.h 2>/dev/null),) |
60 | QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;') | 60 | QTE_VERSION:=$(shell cat $(QTDIR)/include/qglobal.h|grep '^\#define QT_VERSION_STR'|sed -e 's/\#define QT_VERSION_STR\t*//;' -e 's/.*"\([^"]*\)".*/\1/;') |
61 | else | 61 | else |
62 | QTE_VERSION=2.3.5 | 62 | QTE_VERSION=2.3.5 |
63 | endif | 63 | endif |
64 | endif | 64 | endif |
65 | export QTE_VERSION | 65 | export QTE_VERSION |
66 | 66 | ||
67 | export PATH:=$(OPIEDIR)/scripts:$(PATH) | 67 | export PATH:=$(OPIEDIR)/scripts:$(PATH) |
68 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | 68 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) |
69 | 69 | ||
70 | ifdef CONFIG_OPTIMIZATIONS | 70 | ifdef CONFIG_OPTIMIZATIONS |
71 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | 71 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) |
72 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | 72 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) |
73 | endif | 73 | endif |
74 | 74 | ||
75 | ifeq ($(STRIP),) | 75 | ifeq ($(STRIP),) |
76 | ifneq ($(CONFIG_TARGET_X86),) | 76 | ifneq ($(CONFIG_TARGET_X86),) |
77 | STRIP=strip | 77 | STRIP=strip |
78 | endif | 78 | endif |
79 | ifneq ($(CONFIG_TARGET_IPAQ),) | 79 | ifneq ($(CONFIG_TARGET_IPAQ),) |
80 | STRIP=arm-linux-strip | 80 | STRIP=arm-linux-strip |
81 | endif | 81 | endif |
82 | ifneq ($(CONFIG_TARGET_SHARP),) | 82 | ifneq ($(CONFIG_TARGET_SHARP),) |
83 | STRIP=arm-linux-strip | 83 | STRIP=arm-linux-strip |
84 | endif | 84 | endif |
85 | ifneq ($(CONFIG_TARGET_RAMSES),) | 85 | ifneq ($(CONFIG_TARGET_RAMSES),) |
86 | STRIP=arm-linux-strip | 86 | STRIP=arm-linux-strip |
87 | endif | 87 | endif |
88 | ifneq ($(CONFIG_TARGET_SIMPAD),) | ||
89 | STRIP=arm-linux-strip | ||
90 | endif | ||
88 | endif | 91 | endif |