summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kaddressbook.pro5
-rw-r--r--korganizer/korganizer.pro5
-rw-r--r--variables.pri4
3 files changed, 10 insertions, 4 deletions
diff --git a/kaddressbook/kaddressbook.pro b/kaddressbook/kaddressbook.pro
index 3386ffe..233839f 100644
--- a/kaddressbook/kaddressbook.pro
+++ b/kaddressbook/kaddressbook.pro
@@ -1,30 +1,31 @@
TEMPLATE = app
CONFIG = qt warn_on
TARGET = kapi
DESTDIR= ../bin
include( ../variables.pri )
INCLUDEPATH += . ./details ./features ./xxport ../libkdepim ../microkde ../microkde/kdecore ../microkde/kutils ../microkde/kio/kfile ../microkde/kio/kio ../microkde/kdeui ../microkde/kresources ../kabc ../ interfaces
DEFINES += KAB_EMBEDDED KAB_NOSPLITTER DESKTOP_VERSION
unix : {
staticlib: {
+TARGET = kapi_linux
LIBS += ../bin/libmicrokabc_qtopia.a
LIBS += ../bin/libmicrokabc_file.a
LIBS += ../bin/libmicrokabc_dir.a
LIBS += ../bin/libmicrokdepim.a
LIBS += ../bin/libmicrokcal.a
LIBS += ../bin/libmicrokabc.a
LIBS += ../bin/libmicrokde.a
LIBS += ../bin/libmicrokabc_qtopia.a
LIBS += ../bin/libmicrokabc_file.a
LIBS += ../bin/libmicrokabc_dir.a
LIBS += ../bin/libmicrokdepim.a
LIBS += ../bin/libmicrokcal.a
LIBS += ../bin/libmicrokabc.a
LIBS += ../bin/libmicrokde.a
LIBS += ../libical/lib/libical.a
LIBS += ../libical/lib/libicalss.a
@@ -49,34 +50,36 @@ LIBS += ../bin/microkabc.lib
QMAKE_LINK += /NODEFAULTLIB:LIBC
OBJECTS_DIR = obj/win
MOC_DIR = moc/win
#olimport section
importol {
debug: {
LIBS += mfc71ud.lib
}
release: {
LIBS += mfc71u.lib
}
DEFINES += _OL_IMPORT_
HEADERS = ../outport/msoutl9.h \
kaimportoldialog.h
SOURCES = ../outport/msoutl9.cpp \
kaimportoldialog.cpp
-}
#olimport section end
+} else {
+TARGET = kapi_me
+}
}
INTERFACES = \
# filteredit_base.ui \
# kofilterview_base.ui \
HEADERS += \
features/mergewidget.h \
features/distributionlistwidget.h \
kcmconfigs/addresseewidget.h \
kcmconfigs/extensionconfigdialog.h \
kcmconfigs/kcmkabconfig.h \
kcmconfigs/kabconfigwidget.h \
addresseeeditordialog.h \
addresseeeditorwidget.h \
addresseditwidget.h \
diff --git a/korganizer/korganizer.pro b/korganizer/korganizer.pro
index 0750083..50443ef 100644
--- a/korganizer/korganizer.pro
+++ b/korganizer/korganizer.pro
@@ -3,32 +3,33 @@ CONFIG = qt warn_on
TARGET = kopi
OBJECTS_DIR = _obj/
MOC_DIR = _moc
DESTDIR= ../bin
include( ../variables.pri )
INCLUDEPATH += ../microkde ../ interfaces ../microkde/kdecore ../microkde/kdeui ../microkde/kio/kfile ../microkde/kio/kio ../libkdepim
#../qtcompat
DEFINES += KORG_NOPLUGINS KORG_NOARCHIVE KORG_NOMAIL
DEFINES += KORG_NODCOP KORG_NOKALARMD KORG_NORESOURCEVIEW KORG_NOSPLITTER
#KORG_NOPRINTER KORG_NOKABC KORG_NODND
DEFINES += KORG_NOLVALTERNATION
DEFINES += DESKTOP_VERSION
unix : {
staticlib: {
+TARGET = kopi_linux
LIBS += ../bin/libmicrokabc_qtopia.a
LIBS += ../bin/libmicrokabc_file.a
LIBS += ../bin/libmicrokabc_dir.a
LIBS += ../bin/libmicrokdepim.a
LIBS += ../bin/libmicrokcal.a
LIBS += ../bin/libmicrokabc.a
LIBS += ../bin/libmicrokde.a
LIBS += ../bin/libmicrokabc_qtopia.a
LIBS += ../bin/libmicrokabc_file.a
LIBS += ../bin/libmicrokabc_dir.a
LIBS += ../bin/libmicrokdepim.a
LIBS += ../bin/libmicrokcal.a
LIBS += ../bin/libmicrokabc.a
LIBS += ../bin/libmicrokde.a
LIBS += ../libical/lib/libical.a
LIBS += ../libical/lib/libicalss.a
@@ -62,34 +63,36 @@ MOC_DIR = moc/win
importol: {
debug: {
LIBS += mfc71ud.lib
QMAKE_LINK += /NODEFAULTLIB:MSVCRT
QMAKE_LINK += /NODEFAULTLIB:uafxcw.lib
}
release: {
LIBS += mfc71u.lib
}
DEFINES += _OL_IMPORT_
HEADERS += ../outport/msoutl9.h \
koimportoldialog.h
SOURCES += ../outport/msoutl9.cpp \
koimportoldialog.cpp
-}
#olimport section end
+} else {
+TARGET = kopi_me
+}
}
INTERFACES = kofilterview_base.ui
#filteredit_base.ui
# kdateedit.h \
HEADERS += datenavigatorcontainer.h \
filteredit_base.h \
alarmclient.h \
calendarview.h \
customlistviewitem.h \
datenavigator.h \
docprefs.h \
diff --git a/variables.pri b/variables.pri
index 4144b8e..5d3b6cb 100644
--- a/variables.pri
+++ b/variables.pri
@@ -1,14 +1,14 @@
# variables settings for compilation for Linux desktop and Qt 3.x.x
unix {
-CONFIG += release
#for statically linking
#CONFIG += staticlib
}
win32 {
-CONFIG += release
+#disable importol to make it running on windows ME/98
CONFIG += importol
}
CONFIG += thread
+CONFIG += release