-rw-r--r-- | Makefile | 24 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmanagerE.pro | 11 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.cpp | 2 |
3 files changed, 33 insertions, 4 deletions
@@ -49,2 +49,6 @@ SUBDIRS_GAMMU = \ | |||
49 | SUBDIRS_PWMANAGER = \ | 49 | SUBDIRS_PWMANAGER = \ |
50 | pwmanager/libcrypt/mpi \ | ||
51 | pwmanager/libcrypt/error \ | ||
52 | pwmanager/libcrypt/cipher \ | ||
53 | pwmanager/libcrypt/zlib \ | ||
50 | pwmanager/pwmanager | 54 | pwmanager/pwmanager |
@@ -206,2 +210,3 @@ objects: | |||
206 | mkdir -p libical/lib/$(PLATFORM) | 210 | mkdir -p libical/lib/$(PLATFORM) |
211 | mkdir -p pwmanager/libcrypt/$(PLATFORM) | ||
207 | 212 | ||
@@ -209,2 +214,3 @@ clean: | |||
209 | rm -rf libical/lib/$(PLATFORM)/*; | 214 | rm -rf libical/lib/$(PLATFORM)/*; |
215 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; | ||
210 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 216 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
@@ -267,2 +273,6 @@ tmake: objects \ | |||
267 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 273 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
274 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ | ||
275 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ | ||
276 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ | ||
277 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) | ||
268 | 278 | ||
@@ -338 +348,15 @@ pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro | |||
338 | 348 | ||
349 | |||
350 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM): pwmanager/libcrypt/mpi/mpi.pro | ||
351 | cd pwmanager/libcrypt/mpi;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" mpi.pro -o Makefile$(PLATFORM) | ||
352 | |||
353 | pwmanager/libcrypt/error/Makefile$(PLATFORM): pwmanager/libcrypt/error/error.pro | ||
354 | cd pwmanager/libcrypt/error;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" error.pro -o Makefile$(PLATFORM) | ||
355 | |||
356 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM): pwmanager/libcrypt/cipher/cipher.pro | ||
357 | cd pwmanager/libcrypt/cipher;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" cipher.pro -o Makefile$(PLATFORM) | ||
358 | |||
359 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM): pwmanager/libcrypt/zlib/zlib.pro | ||
360 | cd pwmanager/libcrypt/zlib;tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" zlib.pro -o Makefile$(PLATFORM) | ||
361 | |||
362 | |||
diff --git a/pwmanager/pwmanager/pwmanagerE.pro b/pwmanager/pwmanager/pwmanagerE.pro index 4c3a568..6aa0571 100644 --- a/pwmanager/pwmanager/pwmanagerE.pro +++ b/pwmanager/pwmanager/pwmanagerE.pro | |||
@@ -14,3 +14,3 @@ DEFINES += PWM_EMBEDDED CONFIG_PWMANAGER_GCRY | |||
14 | #DEFINES += CONFIG_DEBUG | 14 | #DEFINES += CONFIG_DEBUG |
15 | 15 | LIBS += -L../libcrypt/$(PLATFORM) | |
16 | LIBS += -lmicrokde | 16 | LIBS += -lmicrokde |
@@ -20,6 +20,11 @@ LIBS += -L$(QPEDIR)/lib | |||
20 | LIBS += -lqpe | 20 | LIBS += -lqpe |
21 | LIBS += -lz | 21 | LIBS += -lzlib |
22 | #LIBS += -lbz2 | 22 | #LIBS += -lbz2 |
23 | LIBS += -lgcrypt | 23 | #LIBS += -lkpmicrogcrypt |
24 | LIBS += -ljpeg | ||
24 | LIBS += $(QTOPIALIB) | 25 | LIBS += $(QTOPIALIB) |
26 | LIBS += -lkpmicrocipher | ||
27 | LIBS += -lkpmicroerror | ||
28 | LIBS += -lkpmicrompi | ||
29 | LIBS += -lstdc++ | ||
25 | 30 | ||
diff --git a/pwmanager/pwmanager/pwmdoc.cpp b/pwmanager/pwmanager/pwmdoc.cpp index f4a1636..e29e3d1 100644 --- a/pwmanager/pwmanager/pwmdoc.cpp +++ b/pwmanager/pwmanager/pwmdoc.cpp | |||
@@ -348,3 +348,3 @@ PwMerror PwMDoc::saveDoc(char compress, const QString *file) | |||
348 | ret = e_success; | 348 | ret = e_success; |
349 | goto out; | 349 | return ret; |
350 | } | 350 | } |