summaryrefslogtreecommitdiff
authorzecke <zecke>2002-06-21 14:15:04 (UTC)
committer zecke <zecke>2002-06-21 14:15:04 (UTC)
commitab08162e2b10fdd4844e2864f445c6b125ce4f60 (patch) (side-by-side diff)
treeaaf7e0acc13efa2e58c19b191375c7a40cff6893
parente6834009bf23492e009258e3881ce183cf9e27a0 (diff)
downloadopie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.zip
opie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.tar.gz
opie-ab08162e2b10fdd4844e2864f445c6b125ce4f60.tar.bz2
Fix compilation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile124
-rw-r--r--core/applets/batteryapplet/batteryapplet.pro2
-rw-r--r--core/applets/clipboardapplet/clipboardapplet.pro2
-rw-r--r--core/applets/clockapplet/clockapplet.pro2
-rw-r--r--core/applets/irdaapplet/irdaapplet.pro2
-rw-r--r--core/applets/obex/obex.pro4
-rw-r--r--core/applets/obex/obeximpl.h2
-rw-r--r--core/applets/screenshotapplet/screenshotapplet.pro2
-rw-r--r--core/applets/vmemo/vmemo.pro2
-rw-r--r--core/applets/volumeapplet/volumeapplet.pro2
-rw-r--r--core/launcher/launcher.pro8
-rw-r--r--core/settings/light-and-power/light-and-power.pro2
-rw-r--r--core/settings/security/security.pro2
-rw-r--r--noncore/settings/language/language.pro2
-rw-r--r--noncore/settings/mediummount/mediummount.pro2
-rw-r--r--noncore/settings/sound/sound.pro2
16 files changed, 91 insertions, 71 deletions
diff --git a/Makefile b/Makefile
index 6399702..6181b71 100644
--- a/Makefile
+++ b/Makefile
@@ -1,67 +1,87 @@
indefault: dynamic
all: default docs
LIBS=library libopie
-COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
- inputmethods/pickboard \
- inputmethods/handwriting \
- inputmethods/unikeyboard \
- inputmethods/jumpx \
- inputmethods/kjumpx \
- inputmethods/dvorak \
- core/applets/batteryapplet \
- core/applets/batteryapplet-ipaq \
- core/applets/irdaapplet \
- core/applets/volumeapplet \
- core/applets/clockapplet \
- core/applets/netmonapplet \
- core/applets/screenshotapplet \
- core/applets/clipboardapplet \
- core/applets/cardmon \
- core/applets/obex \
- core/applets/vmemo \
- noncore/net/netsetup/dialup \
- noncore/net/netsetup/lan \
- core/multimedia/opieplayer/libmpeg3 \
+
+INPUTCOMPONENTS= inputmethods/keyboard inputmethods/pickboard \
+ inputmethods/handwriting inputmethods/unikeyboard \
+ inputmethods/jumpx inputmethods/kjumpx \
+ inputmethods/dvorak
+
+APPLETS= core/applets/batteryapplet core/applets/batteryapplet-ipaq \
+ core/applets/irdaapplet core/applets/volumeapplet \
+ core/applets/clockapplet core/applets/netmonapplet \
+ core/applets/screenshotapplet core/applets/clipboardapplet \
+ core/applets/cardmon core/applets/obex \
+ core/applets/vmemo noncore/net/netsetup/dialup \
+ noncore/net/netsetup/lan
+
+MAIL= noncore/mail/libmail noncore/mail/bend
+
+PLAYER = core/multimedia/opieplayer/libmpeg3 \
core/multimedia/opieplayer/libmad \
- core/multimedia/opieplayer/wavplugin \
- noncore/mail/libmail \
- noncore/mail/bend \
-
-APPS=$(LOCALAPPS) core/pim/addressbook noncore/tools/calculator \
- noncore/tools/clock core/pim/datebook core/apps/filebrowser \
- core/apps/helpbrowser noncore/games/minesweep \
- core/multimedia/opieplayer core/settings/light-and-power \
- noncore/settings/language \
- noncore/settings/rotation \
- noncore/settings/appearance \
- core/settings/security \
- noncore/settings/sound \
- core/settings/systemtime \
- noncore/settings/mediummount \
- noncore/settings/tabmanager \
- noncore/games/solitaire noncore/apps/spreadsheet \
- noncore/games/tetrix core/apps/textedit \
- core/pim/todo noncore/games/wordgame core/apps/embeddedkonsole \
- core/launcher core/apps/sysinfo \
- noncore/games/parashoot noncore/games/snake core/settings/citytime \
- noncore/multimedia/showimg noncore/net/netsetup core/settings/wlansetup \
- noncore/apps/tableviewer core/apps/oipkg noncore/games/mindbreaker \
- noncore/games/go noncore/games/qasteroids core/apps/qcop \
- noncore/games/fifteen noncore/comm/keypebble \
- core/pim/today noncore/games/tictac noncore/net/opieftp \
- noncore/graphics/drawpad noncore/games/kcheckers noncore/settings/appskey \
- noncore/graphics/qpdf noncore/games/kpacman noncore/apps/advancedfm \
- noncore/games/kbill noncore/tools/remote \
- noncore/tools/opie-sh \
- noncore/mail
+ core/multimedia/opieplayer/wavplugin
+
+COMPONENTS=$(LOCALCOMPONENTS) $(INPUTCOMPONENTS) $(APPLETS) $(MAIL) $(PLAYER)
+
+
+PIMAPPS = core/pim/addressbook core/pim/datebook \
+ core/pim/today core/pim/todo
+
+COREAPPS = core/apps/filebrowser core/apps/helpbrowser \
+ core/apps/textedit core/apps/embeddedkonsole \
+ core/launcher core/apps/sysinfo \
+ core/apps/oipkg core/apps/qcop
+
+COREMULTIMEDIA = core/multimedia/opieplayer
+
+CORESETTINGS = core/settings/light-and-power core/settings/security \
+ core/settings/systemtime core/settings/citytime \
+ core/settings/wlansetup
+
+NONCORESETTINGS =noncore/settings/language noncore/settings/rotation \
+ noncore/settings/appearance noncore/settings/sound \
+ noncore/settings/mediummount \
+ noncore/settings/tabmanager noncore/settings/appskey
+
+NONCORETOOLS = noncore/tools/calculator noncore/tools/clock \
+ noncore/tools/remote noncore/tools/opie-sh
+
+GAMES = noncore/games/minesweep noncore/games/solitaire \
+ noncore/games/tetrix noncore/games/wordgame \
+ noncore/games/parashoot noncore/games/snake \
+ noncore/games/mindbreaker \
+ noncore/games/go noncore/games/qasteroids \
+ noncore/games/fifteen noncore/games/tictac \
+ noncore/games/kcheckers noncore/games/kpacman \
+ noncore/games/kbill
+
+NONAPPS = noncore/apps/spreadsheet noncore/apps/tableviewer \
+ noncore/apps/advancedfm
+
+NONNET = noncore/net/netsetup noncore/net/opieftp \
+ noncore/mail
+
+NONMULT = noncore/multimedia/showimg noncore/graphics/drawpad \
+ noncore/graphics/qpdf
+
+
+NONCOMM = noncore/comm/keypebble
+
+APPS=$(LOCALAPPS) $(PIMAPPS) $(COREAPPS) \
+ $(COREMULTIMEDIA) $(CORESETTINGS) \
+ $(NONCORESETTINGS) $(NONCORETOOLS) \
+ $(NOAPPS) $(NONNET) $(NONMULT) \
+ $(NONCOMM) $(GAMES)
+
+
NONTMAKEAPPS := ipaq/opiealarm noncore/nethack
DOCS = docs/src/opie-policy
single: mpegplayer/libmpeg3
dynamic: $(APPS) $(NONTMAKEAPPS)
diff --git a/core/applets/batteryapplet/batteryapplet.pro b/core/applets/batteryapplet/batteryapplet.pro
index 9cf7556..b854b89 100644
--- a/core/applets/batteryapplet/batteryapplet.pro
+++ b/core/applets/batteryapplet/batteryapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = battery.h batterystatus.h batteryappletimpl.h
SOURCES = battery.cpp batterystatus.cpp batteryappletimpl.cpp
TARGET = batteryapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/de/libbatteryapplet.ts
TRANSLATIONS += ../../i18n/es/libbatteryapplet.ts
TRANSLATIONS += ../../i18n/pt/libbatteryapplet.ts
diff --git a/core/applets/clipboardapplet/clipboardapplet.pro b/core/applets/clipboardapplet/clipboardapplet.pro
index 71e2bbe..36fbc49 100644
--- a/core/applets/clipboardapplet/clipboardapplet.pro
+++ b/core/applets/clipboardapplet/clipboardapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = clipboard.h clipboardappletimpl.h
SOURCES = clipboard.cpp clipboardappletimpl.cpp
TARGET = clipboardapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/pt_BR/libclipboardapplet.ts
TRANSLATIONS += ../../i18n/es/libclipboardapplet.ts
TRANSLATIONS += ../../i18n/pt/libclipboardapplet.ts
diff --git a/core/applets/clockapplet/clockapplet.pro b/core/applets/clockapplet/clockapplet.pro
index 85e3316..2dc1784 100644
--- a/core/applets/clockapplet/clockapplet.pro
+++ b/core/applets/clockapplet/clockapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = clock.h clockappletimpl.h
SOURCES = clock.cpp clockappletimpl.cpp
TARGET = clockapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/de/libclockapplet.ts
TRANSLATIONS += ../../i18n/es/libclockapplet.ts
TRANSLATIONS += ../../i18n/pt/libclockapplet.ts
diff --git a/core/applets/irdaapplet/irdaapplet.pro b/core/applets/irdaapplet/irdaapplet.pro
index bfcfc3f..035b0c1 100644
--- a/core/applets/irdaapplet/irdaapplet.pro
+++ b/core/applets/irdaapplet/irdaapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = irda.h irdaappletimpl.h
SOURCES = irda.cpp irdaappletimpl.cpp
TARGET = irdaapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/de/libirdaapplet.ts
TRANSLATIONS += ../../i18n/en/libirdaapplet.ts
TRANSLATIONS += ../../i18n/es/libirdaapplet.ts
diff --git a/core/applets/obex/obex.pro b/core/applets/obex/obex.pro
index 6915737..a8c2340 100644
--- a/core/applets/obex/obex.pro
+++ b/core/applets/obex/obex.pro
@@ -1,12 +1,12 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = obex.h obeximpl.h
SOURCES = obex.cc obeximpl.cc
TARGET = opieobex
-DESTDIR = ../../plugins/obex
-INCLUDEPATH += $(OPIEDIR)/include
+DESTDIR = $(OPIEDIR)/plugins/obex
+INCLUDEPATH += $(OPIEDIR)/include $(OPIEDIR)/core/launcher
DEPENDPATH += ../$(OPIEDIR)/include
INTERFACES = obexinc.ui obexdlg.ui
LIBS += -lqpe -lopie
VERSION = 0.0.1
diff --git a/core/applets/obex/obeximpl.h b/core/applets/obex/obeximpl.h
index 8d10cf1..78d5b25 100644
--- a/core/applets/obex/obeximpl.h
+++ b/core/applets/obex/obeximpl.h
@@ -1,14 +1,14 @@
#ifndef OpieObexImpl_H
#define OpieObexImpl_H
#include <qobject.h>
-#include "../obexinterface.h"
+#include <obexinterface.h>
#include "obexdlg.h"
#include "obexinc.h"
#include <qpe/qcopenvelope_qws.h>
namespace OpieObex {
class Obex;
class ObexImpl : public QObject, public ObexInterface {
Q_OBJECT
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro
index e3c5440..6b97a2d 100644
--- a/core/applets/screenshotapplet/screenshotapplet.pro
+++ b/core/applets/screenshotapplet/screenshotapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = screenshot.h screenshotappletimpl.h
SOURCES = screenshot.cpp screenshotappletimpl.cpp
TARGET = screenshotapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
MOC_DIR=opieobj
OBJECTS_DIR=opieobj
TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts
diff --git a/core/applets/vmemo/vmemo.pro b/core/applets/vmemo/vmemo.pro
index f7cc439..298d989 100644
--- a/core/applets/vmemo/vmemo.pro
+++ b/core/applets/vmemo/vmemo.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = vmemo.h vmemoimpl.h
SOURCES = vmemo.cpp vmemoimpl.cpp
TARGET = vmemoapplet
-DESTDIR = ../../plugins/applets
+DESTDIR =$(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/pt_BR/libvmemoapplet.ts
TRANSLATIONS += ../../i18n/es/libvmemoapplet.ts
TRANSLATIONS += ../../i18n/pt/libvmemoapplet.ts
diff --git a/core/applets/volumeapplet/volumeapplet.pro b/core/applets/volumeapplet/volumeapplet.pro
index 54404bf..f89eea2 100644
--- a/core/applets/volumeapplet/volumeapplet.pro
+++ b/core/applets/volumeapplet/volumeapplet.pro
@@ -1,14 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = volume.h volumeappletimpl.h
SOURCES = volume.cpp volumeappletimpl.cpp
TARGET = volumeapplet
-DESTDIR = ../../plugins/applets
+DESTDIR = $(OPIEDIR)/plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS = ../../i18n/de/libvolumeapplet.ts
TRANSLATIONS += ../../i18n/es/libvolumeapplet.ts
TRANSLATIONS += ../../i18n/pt/libvolumeapplet.ts
diff --git a/core/launcher/launcher.pro b/core/launcher/launcher.pro
index b8e9236..182cd1f 100644
--- a/core/launcher/launcher.pro
+++ b/core/launcher/launcher.pro
@@ -15,17 +15,17 @@ HEADERS = background.h \
mrulist.h \
stabmon.h \
inputmethods.h \
systray.h \
wait.h \
shutdownimpl.h \
launcher.h \
launcherview.h \
- ../calibrate/calibrate.h \
+ $(OPIEDIR)/core/apps/calibrate/calibrate.h \
startmenu.h \
transferserver.h \
qcopbridge.h \
packageslave.h \
irserver.h \
$(OPIEDIR)/rsync/buf.h \
$(OPIEDIR)/rsync/checksum.h \
$(OPIEDIR)/rsync/command.h \
@@ -57,17 +57,17 @@ SOURCES = background.cpp \
mrulist.cpp \
stabmon.cpp \
inputmethods.cpp \
systray.cpp \
wait.cpp \
shutdownimpl.cpp \
launcher.cpp \
launcherview.cpp \
- $(OPIEDIR)/calibrate/calibrate.cpp \
+ $(OPIEDIR)/core/apps/calibrate/calibrate.cpp \
transferserver.cpp \
packageslave.cpp \
irserver.cpp \
qcopbridge.cpp \
startmenu.cpp \
main.cpp \
$(OPIEDIR)/rsync/base64.c \
$(OPIEDIR)/rsync/buf.c \
@@ -96,18 +96,18 @@ SOURCES = background.cpp \
$(OPIEDIR)/rsync/whole.c \
$(OPIEDIR)/rsync/qrsync.cpp
INTERFACES = shutdown.ui syncdialog.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include .
-INCLUDEPATH += $(OPIEDIR)/calibrate
-DEPENDPATH += $(OPIEDIR)/calibrate
+INCLUDEPATH += $(OPIEDIR)/core/apps/calibrate
+DEPENDPATH += $(OPIEDIR)/core/apps/calibrate
INCLUDEPATH += $(OPIEDIR)/rsync
DEPENDPATH += $(OPIEDIR)/rsync
TARGET = qpe
LIBS += -lqpe -lcrypt -lopie
diff --git a/core/settings/light-and-power/light-and-power.pro b/core/settings/light-and-power/light-and-power.pro
index 7e2afed..eb4a0db 100644
--- a/core/settings/light-and-power/light-and-power.pro
+++ b/core/settings/light-and-power/light-and-power.pro
@@ -1,11 +1,11 @@
TEMPLATE = app
CONFIG += qt warn_on release
-DESTDIR = ../../bin
+DESTDIR = $(OPIEDIR)/bin
HEADERS = settings.h
SOURCES = light.cpp main.cpp
INTERFACES = lightsettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = light-and-power
diff --git a/core/settings/security/security.pro b/core/settings/security/security.pro
index 1e815ac..6b28485 100644
--- a/core/settings/security/security.pro
+++ b/core/settings/security/security.pro
@@ -1,11 +1,11 @@
TEMPLATE = app
CONFIG += qt warn_on release
-DESTDIR = ../../bin
+DESTDIR = $(OPIEDIR)/bin
HEADERS = security.h
SOURCES = security.cpp main.cpp
INTERFACES = securitybase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = security
diff --git a/noncore/settings/language/language.pro b/noncore/settings/language/language.pro
index 16888bb..f3a76d4 100644
--- a/noncore/settings/language/language.pro
+++ b/noncore/settings/language/language.pro
@@ -1,11 +1,11 @@
TEMPLATE = app
CONFIG += qt warn_on release
-DESTDIR = ../../bin
+DESTDIR = $(OPIEDIR)/bin
HEADERS = settings.h
SOURCES = language.cpp main.cpp
INTERFACES = languagesettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = language
diff --git a/noncore/settings/mediummount/mediummount.pro b/noncore/settings/mediummount/mediummount.pro
index 0ed5744..d6983ec 100644
--- a/noncore/settings/mediummount/mediummount.pro
+++ b/noncore/settings/mediummount/mediummount.pro
@@ -1,10 +1,10 @@
TEMPLATE = app
-DESTDIR = ../../bin/
+DESTDIR = $(OPIEDIR)/bin/
#CONFIG = qt warn_on debug
CONFIG = qt warn_on release
HEADERS = mediumwidget.h mediumglobal.h mainwindow.h
SOURCES = main.cpp mediumwidget.cc mediumglobal.cc mainwindow.cc
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = mediummount \ No newline at end of file
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro
index ff5cd09..28c8b0d 100644
--- a/noncore/settings/sound/sound.pro
+++ b/noncore/settings/sound/sound.pro
@@ -1,11 +1,11 @@
TEMPLATE = app
CONFIG += qt warn_on release
-DESTDIR = ../../bin
+DESTDIR = $(OPIEDIR)/bin
HEADERS = soundsettings.h soundsettingsbase.h
SOURCES = soundsettings.cpp soundsettingsbase.cpp main.cpp
#INTERFACES = soundsettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = sound