summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-07-19 22:24:30 (UTC)
committer ulf69 <ulf69>2004-07-19 22:24:30 (UTC)
commit94636524739ecaa2206ca2cace3c460010df3a18 (patch) (unidiff)
tree1ba059e62ac669f5dd82317ce43ff61b0ed381d5
parent43c7ee98c326979a9d78783dd574bcde3fa06e52 (diff)
downloadkdepimpi-94636524739ecaa2206ca2cace3c460010df3a18.zip
kdepimpi-94636524739ecaa2206ca2cace3c460010df3a18.tar.gz
kdepimpi-94636524739ecaa2206ca2cace3c460010df3a18.tar.bz2
added env variable SHARPDTMSDK
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded54
-rw-r--r--kabc/converter/sharpdtm/sharpdtmE.pro4
-rw-r--r--kabc/plugins/sharpdtm/sharpdtmE.pro4
-rw-r--r--kaddressbook/xxport/sharpdtm/sharpdtmE.pro2
4 files changed, 40 insertions, 24 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 71035d6..7777a19 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,25 +1,25 @@
1DISTPATH = $(shell pwd) 1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4
4ifeq ($(PLATFORM) , zaurus) 5ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 6 BUILD_NO_LDAP_PLUGIN=1
6endif 7endif
7 8
8ifneq ($(PLATFORM) , zaurus) 9ifneq ($(PLATFORM) , zaurus)
9 BUILD_NO_SHARP_PLUGIN=1 10 BUILD_NO_SHARP_PLUGIN=1
10endif 11endif
11 12
12 13SUBDIRS_MICROKDE = \
13SUBDIRS_MAIN = \
14 libical/src/libical \ 14 libical/src/libical \
15 libical/src/libicalss \ 15 libical/src/libicalss \
16 qtcompat \ 16 qtcompat \
17 microkde \ 17 microkde \
18 libkcal \ 18 libkcal \
19 libkdepim \ 19 libkdepim \
20 kabc \ 20 kabc \
21 kabc/formats/binary \ 21 kabc/formats/binary \
22 kabc/plugins/file \ 22 kabc/plugins/file \
23 kabc/plugins/dir \ 23 kabc/plugins/dir \
24 korganizer \ 24 korganizer \
25 kalarmd \ 25 kalarmd \
@@ -39,108 +39,126 @@ SUBDIRS_SHARP_PLUGIN = \
39 kabc/converter/sharpdtm \ 39 kabc/converter/sharpdtm \
40 kabc/plugins/sharpdtm \ 40 kabc/plugins/sharpdtm \
41 kaddressbook/xxport/sharpdtm 41 kaddressbook/xxport/sharpdtm
42 42
43SUBDIRS_LDAP_PLUGIN = \ 43SUBDIRS_LDAP_PLUGIN = \
44 kabc/plugins/ldap 44 kabc/plugins/ldap
45 45
46SUBDIRS_MICROMAIL = \ 46SUBDIRS_MICROMAIL = \
47 kmicromail/libetpan \ 47 kmicromail/libetpan \
48 kmicromail/libmailwrapper \ 48 kmicromail/libmailwrapper \
49 kmicromail 49 kmicromail
50 50
51all: build_main \ 51SUBDIRS = \
52 $(SUBDIRS_MICROKDE) \
53 $(SUBDIRS_QTOPIA_PLUGIN) \
54 $(SUBDIRS_OPIE_PLUGIN) \
55 $(SUBDIRS_SHARP_PLUGIN) \
56 $(SUBDIRS_LDAP_PLUGIN) \
57 $(SUBDIRS_MICROMAIL)
58
59
60all: build_microkde \
52 build_qtopia_plugin \ 61 build_qtopia_plugin \
53 build_opie_plugin \ 62 build_opie_plugin \
54 build_sharp_plugin \ 63 build_sharp_plugin \
55 build_ldap_plugin \ 64 build_ldap_plugin \
56 build_micromail 65 build_micromail
57 66
58 67
59build_main: variable_info tmake 68build_microkde: variable_test tmake
60 for i in $(SUBDIRS_MAIN); do pushd $$i; \ 69 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \
61 make -f Makefile$(PLATFORM) || exit 1; popd; \ 70 make -f Makefile$(PLATFORM) || exit 1; popd; \
62 done 71 done
63 72
64build_qtopia_plugin: build_main 73build_qtopia_plugin: build_microkde
65 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
66 make -f Makefile$(PLATFORM) || exit 1; popd; \ 75 make -f Makefile$(PLATFORM) || exit 1; popd; \
67 done 76 done
68 77
69build_opie_plugin: build_main 78build_opie_plugin: build_microkde
70 ifdef BUILD_NO_OPIE_PLUGIN 79 ifdef BUILD_NO_OPIE_PLUGIN
71 @echo ---> opie plugin not build. 80 @echo ---> opie plugin not build.
72 else 81 else
73 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ 82 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \
74 make -f Makefile$(PLATFORM) || exit 1; popd; \ 83 make -f Makefile$(PLATFORM) || exit 1; popd; \
75 done 84 done
76 endif 85 endif
77 86
78build_sharp_plugin: build_main 87build_sharp_plugin: build_microkde
79 ifdef BUILD_NO_SHARP_PLUGIN 88 ifdef BUILD_NO_SHARP_PLUGIN
80 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
81 else 90 else
82 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ 91 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \
83 make -f Makefile$(PLATFORM) || exit 1; popd; \ 92 make -f Makefile$(PLATFORM) || exit 1; popd; \
84 done 93 done
85 endif 94 endif
86 95
87build_ldap_plugin: build_main 96build_ldap_plugin: build_microkde
88 ifdef BUILD_NO_LDAP_PLUGIN 97 ifdef BUILD_NO_LDAP_PLUGIN
89 @echo ---> ldap plugin not build. 98 @echo ---> ldap plugin not build.
90 else 99 else
91 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ 100 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \
92 make -f Makefile$(PLATFORM) || exit 1; popd; \ 101 make -f Makefile$(PLATFORM) || exit 1; popd; \
93 done 102 done
94 endif 103 endif
95 104
96 105
97build_micromail: build_main 106build_micromail: build_microkde
98 ifdef BUILD_NO_MICROMAIL 107 ifdef BUILD_NO_MICROMAIL
99 @echo ---> micromail not build. 108 @echo ---> micromail not build.
100 else 109 else
101 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 110 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
102 make -f Makefile$(PLATFORM) || exit 1; popd; \ 111 make -f Makefile$(PLATFORM) || exit 1; popd; \
103 done 112 done
104 endif 113 endif
105 114
106 115
107variable_info: variable_test 116variable_info:
108 @echo -------------------------------------- 117 @echo --------------------------------------
109 @echo KDEPIM buildsystem, variablecheck... 118 @echo KDEPIM buildsystem, variableinfo...
110 @echo QTDIR=$(QTDIR) 119 @echo QTDIR=$(QTDIR)
111 @echo QPEDIR=$(QPEDIR) 120 @echo QPEDIR=$(QPEDIR)
112 @echo OPIEDIR=$(OPIEDIR) 121 @echo OPIEDIR=$(OPIEDIR)
113 @echo PLATFORM=$(PLATFORM) 122 @echo PLATFORM=$(PLATFORM)
114 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 123 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
124 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
115 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 125 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
116 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 126 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
117 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 127 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
118 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 128 ifndef BUILD_NO_SHARP_PLUGIN
129 @echo SHARPDTMSDK=$(SHARPDTMSDK)
130 endif
119 @echo -------------------------------------- 131 @echo --------------------------------------
120 132
121variable_test: 133variable_test: variable_info
134 @echo KDEPIM buildsystem, variablecheck...
122 ifdef BUILD_NO_LDAP_PLUGIN 135 ifdef BUILD_NO_LDAP_PLUGIN
123 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 136 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
124 endif 137 endif
125 ifdef BUILD_NO_OPIE_PLUGIN 138 ifdef BUILD_NO_OPIE_PLUGIN
126 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 139 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
127 endif 140 endif
128 ifdef BUILD_NO_SHARP_PLUGIN
129 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
130 endif
131 ifdef BUILD_NO_MICROMAIL 141 ifdef BUILD_NO_MICROMAIL
132 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 142 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
133 endif 143 endif
134 144 ifdef BUILD_NO_SHARP_PLUGIN
145 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
146 else
147 ifndef SHARPDTMSDK
148 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
149 $(error SHARPDTMSDK is not defined)
150 endif
151 endif
152 @echo --------------------------------------
135 153
136 154
137objects: 155objects:
138 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 156 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
139 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 157 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
140 mkdir -p libical/lib/$(PLATFORM) 158 mkdir -p libical/lib/$(PLATFORM)
141 159
142clean: 160clean:
143 rm -f libical/lib/$(PLATFORM)/*; 161 rm -f libical/lib/$(PLATFORM)/*;
144 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 162 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
145 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 163 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
146 done 164 done
diff --git a/kabc/converter/sharpdtm/sharpdtmE.pro b/kabc/converter/sharpdtm/sharpdtmE.pro
index cd7032a..89b4e64 100644
--- a/kabc/converter/sharpdtm/sharpdtmE.pro
+++ b/kabc/converter/sharpdtm/sharpdtmE.pro
@@ -1,28 +1,28 @@
1TEMPLATE = lib 1TEMPLATE = lib
2INCLUDEPATH += . ../.. ../../../external/sharpdtm/include ../../../microkde ../../../microkde/kdecore $(QPEDIR)/include 2INCLUDEPATH += . ../.. $(SHARPDTMSDK)/include ../../../microkde ../../../microkde/kdecore $(QPEDIR)/include
3#CONFIG += staticlib 3#CONFIG += staticlib
4OBJECTS_DIR = obj/$(PLATFORM) 4OBJECTS_DIR = obj/$(PLATFORM)
5MOC_DIR = moc/$(PLATFORM) 5MOC_DIR = moc/$(PLATFORM)
6 6
7#for static linkage, put it here 7#for static linkage, put it here
8#DESTDIR=../../lib/$(PLATFORM) 8#DESTDIR=../../lib/$(PLATFORM)
9 9
10#for dynamic linkage, put it here 10#for dynamic linkage, put it here
11DESTDIR=$(QPEDIR)/lib 11DESTDIR=$(QPEDIR)/lib
12 12
13LIBS += -lmicrokde 13LIBS += -lmicrokde
14LIBS += -lmicrokabc 14LIBS += -lmicrokabc
15LIBS += -L$(QPEDIR)/lib 15LIBS += -L$(QPEDIR)/lib
16LIBS += -lqpepim 16#LIBS += -lqpepim
17LIBS += -lqpe 17LIBS += -lqpe
18LIBS += -lzdtm 18LIBS += -lzdtm
19 19
20TARGET = microkabc_sharpdtmconverter 20TARGET = microkabc_sharpdtmconverter
21 21
22# Input 22# Input
23 23
24HEADERS += \ 24HEADERS += \
25 sharpdtmconverter.h \ 25 sharpdtmconverter.h \
26 26
27 27
28SOURCES += \ 28SOURCES += \
diff --git a/kabc/plugins/sharpdtm/sharpdtmE.pro b/kabc/plugins/sharpdtm/sharpdtmE.pro
index 7c7a6d5..a03454f 100644
--- a/kabc/plugins/sharpdtm/sharpdtmE.pro
+++ b/kabc/plugins/sharpdtm/sharpdtmE.pro
@@ -1,31 +1,29 @@
1 TEMPLATE= lib 1 TEMPLATE= lib
2CONFIG += qt warn_on 2CONFIG += qt warn_on
3#release debug
4TARGET = microkabc_sharpdtm 3TARGET = microkabc_sharpdtm
5 4
6INCLUDEPATH += ../.. ../../../external/sharpdtm/include ../../converter/sharpdtm ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat $(QPEDIR)/include 5INCLUDEPATH += ../.. $(SHARPDTMSDK)/include ../../converter/sharpdtm ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat $(QPEDIR)/include
7 6
8 7
9OBJECTS_DIR = obj/$(PLATFORM) 8OBJECTS_DIR = obj/$(PLATFORM)
10MOC_DIR = moc/$(PLATFORM) 9MOC_DIR = moc/$(PLATFORM)
11DESTDIR = $(QPEDIR)/lib 10DESTDIR = $(QPEDIR)/lib
12LIBS += -lmicrokde 11LIBS += -lmicrokde
13LIBS += -lmicrokabc 12LIBS += -lmicrokabc
14LIBS += -L$(QPEDIR)/lib 13LIBS += -L$(QPEDIR)/lib
15LIBS += -lqpe 14LIBS += -lqpe
16LIBS += -lqte 15LIBS += -lqte
17LIBS += -lzdtm 16LIBS += -lzdtm
18LIBS += -lmicrokabc_sharpdtmconverter 17LIBS += -lmicrokabc_sharpdtmconverter
19#LIBS += -L../../lib/$(PLATFORM)
20 18
21 19
22INTERFACES = \ 20INTERFACES = \
23 21
24HEADERS = \ 22HEADERS = \
25 resourcesharpdtm.h \ 23 resourcesharpdtm.h \
26 resourcesharpdtmconfig.h \ 24 resourcesharpdtmconfig.h \
27 25
28SOURCES = \ 26SOURCES = \
29 resourcesharpdtm.cpp \ 27 resourcesharpdtm.cpp \
30 resourcesharpdtmconfig.cpp \ 28 resourcesharpdtmconfig.cpp \
31 29
diff --git a/kaddressbook/xxport/sharpdtm/sharpdtmE.pro b/kaddressbook/xxport/sharpdtm/sharpdtmE.pro
index 0425c42..de8e342 100644
--- a/kaddressbook/xxport/sharpdtm/sharpdtmE.pro
+++ b/kaddressbook/xxport/sharpdtm/sharpdtmE.pro
@@ -1,23 +1,23 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on 2CONFIG += qt warn_on
3TARGET = microkaddrbk_sharpdtm_xxport 3TARGET = microkaddrbk_sharpdtm_xxport
4 4
5OBJECTS_DIR = obj/$(PLATFORM) 5OBJECTS_DIR = obj/$(PLATFORM)
6MOC_DIR = moc/$(PLATFORM) 6MOC_DIR = moc/$(PLATFORM)
7DESTDIR = $(QPEDIR)/lib 7DESTDIR = $(QPEDIR)/lib
8 8
9DEFINES += KAB_EMBEDDED 9DEFINES += KAB_EMBEDDED
10 10
11INCLUDEPATH += ../.. ../../../external/sharpdtm/include ../../.. ../../../kabc ../../../kabc/converter/sharpdtm ../../../microkde ../../../microkde/kdeui ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../qtcompat $(QPEDIR)/include 11INCLUDEPATH += ../.. $(SHARPDTMSDK)/include ../../.. ../../../kabc ../../../kabc/converter/sharpdtm ../../../microkde ../../../microkde/kdeui ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../qtcompat $(QPEDIR)/include
12LIBS += -L$(QPEDIR)/lib 12LIBS += -L$(QPEDIR)/lib
13LIBS += -lmicrokde 13LIBS += -lmicrokde
14LIBS += -lmicrokabc 14LIBS += -lmicrokabc
15LIBS += -lqpe 15LIBS += -lqpe
16LIBS += -lqte 16LIBS += -lqte
17LIBS += -lzdtm 17LIBS += -lzdtm
18LIBS += -lmicrokabc_sharpdtmconverter 18LIBS += -lmicrokabc_sharpdtmconverter
19 19
20INTERFACES = \ 20INTERFACES = \
21 21
22HEADERS = \ 22HEADERS = \
23 sharpdtm_xxport.h \ 23 sharpdtm_xxport.h \