summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-08-23 10:06:07 (UTC)
committer mickeyl <mickeyl>2005-08-23 10:06:07 (UTC)
commitd6e8e6bf49bb176ec54efed5eb0d012098f056d7 (patch) (unidiff)
tree7fc70f3d3b41ee05ddb2ea559c7339a18ef0464b
parentce5b18efcb27c853ed4af2b603a82d3f89097764 (diff)
downloadopie-d6e8e6bf49bb176ec54efed5eb0d012098f056d7.zip
opie-d6e8e6bf49bb176ec54efed5eb0d012098f056d7.tar.gz
opie-d6e8e6bf49bb176ec54efed5eb0d012098f056d7.tar.bz2
make calc2 a subdir project
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/calc2/binary/binary.pro10
-rw-r--r--noncore/tools/calc2/calc2.pro2
-rw-r--r--noncore/tools/calc2/config.in4
-rw-r--r--noncore/tools/calc2/main/.cvsignore1
-rw-r--r--noncore/tools/calc2/main/calc.cpp (renamed from noncore/tools/calc2/calc.cpp)0
-rw-r--r--noncore/tools/calc2/main/calc.h (renamed from noncore/tools/calc2/calc.h)0
-rw-r--r--noncore/tools/calc2/main/engine.cpp (renamed from noncore/tools/calc2/engine.cpp)0
-rw-r--r--noncore/tools/calc2/main/engine.h (renamed from noncore/tools/calc2/engine.h)0
-rw-r--r--noncore/tools/calc2/main/instruction.h (renamed from noncore/tools/calc2/instruction.h)0
-rw-r--r--noncore/tools/calc2/main/main.cpp (renamed from noncore/tools/calc2/main.cpp)0
-rw-r--r--noncore/tools/calc2/main/main.pro12
-rw-r--r--noncore/tools/calc2/main/plugininterface.h (renamed from noncore/tools/calc2/plugininterface.h)0
-rw-r--r--noncore/tools/calc2/main/stdinstructions.h (renamed from noncore/tools/calc2/stdinstructions.h)0
-rw-r--r--noncore/tools/calc2/simple/simple.pro4
14 files changed, 23 insertions, 10 deletions
diff --git a/noncore/tools/calc2/binary/binary.pro b/noncore/tools/calc2/binary/binary.pro
index 9cbb0ff..3f268f1 100644
--- a/noncore/tools/calc2/binary/binary.pro
+++ b/noncore/tools/calc2/binary/binary.pro
@@ -1,15 +1,11 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt 2CONFIG += qt
3INTERFACES += binary.ui 3INTERFACES += binary.ui
4HEADERS = binaryimpl.h \ 4HEADERS = binaryimpl.h binaryfactory.h
5 binaryfactory.h 5SOURCES = binaryimpl.cpp binaryfactory.cpp
6SOURCES = binaryimpl.cpp \ 6INCLUDEPATH += $(OPIEDIR)/include ../main
7 binaryfactory.cpp
8INCLUDEPATH += $(OPIEDIR)/include \
9 $(OPIEDIR)/calc2
10DEPENDPATH += $(OPIEDIR)/include 7DEPENDPATH += $(OPIEDIR)/include
11DESTDIR = $(OPIEDIR)/plugins/calculator 8DESTDIR = $(OPIEDIR)/plugins/calculator
12TARGET = binary 9TARGET = binary
13 10
14
15include( $(OPIEDIR)/include.pro ) 11include( $(OPIEDIR)/include.pro )
diff --git a/noncore/tools/calc2/calc2.pro b/noncore/tools/calc2/calc2.pro
new file mode 100644
index 0000000..0119052
--- a/dev/null
+++ b/noncore/tools/calc2/calc2.pro
@@ -0,0 +1,2 @@
1TEMPLATE = subdirs
2SUBDIRS = main simple binary
diff --git a/noncore/tools/calc2/config.in b/noncore/tools/calc2/config.in
new file mode 100644
index 0000000..df2c463
--- a/dev/null
+++ b/noncore/tools/calc2/config.in
@@ -0,0 +1,4 @@
1 config CALCULATOR2
2 boolean "opie-calculator2 (A plugin based calculator)"
3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE
diff --git a/noncore/tools/calc2/main/.cvsignore b/noncore/tools/calc2/main/.cvsignore
new file mode 100644
index 0000000..6d678c6
--- a/dev/null
+++ b/noncore/tools/calc2/main/.cvsignore
@@ -0,0 +1 @@
config.in
diff --git a/noncore/tools/calc2/calc.cpp b/noncore/tools/calc2/main/calc.cpp
index 8c50c2c..8c50c2c 100644
--- a/noncore/tools/calc2/calc.cpp
+++ b/noncore/tools/calc2/main/calc.cpp
diff --git a/noncore/tools/calc2/calc.h b/noncore/tools/calc2/main/calc.h
index b52356d..b52356d 100644
--- a/noncore/tools/calc2/calc.h
+++ b/noncore/tools/calc2/main/calc.h
diff --git a/noncore/tools/calc2/engine.cpp b/noncore/tools/calc2/main/engine.cpp
index 74cd701..74cd701 100644
--- a/noncore/tools/calc2/engine.cpp
+++ b/noncore/tools/calc2/main/engine.cpp
diff --git a/noncore/tools/calc2/engine.h b/noncore/tools/calc2/main/engine.h
index 15c9aa1..15c9aa1 100644
--- a/noncore/tools/calc2/engine.h
+++ b/noncore/tools/calc2/main/engine.h
diff --git a/noncore/tools/calc2/instruction.h b/noncore/tools/calc2/main/instruction.h
index 6077bf0..6077bf0 100644
--- a/noncore/tools/calc2/instruction.h
+++ b/noncore/tools/calc2/main/instruction.h
diff --git a/noncore/tools/calc2/main.cpp b/noncore/tools/calc2/main/main.cpp
index ebfcc28..ebfcc28 100644
--- a/noncore/tools/calc2/main.cpp
+++ b/noncore/tools/calc2/main/main.cpp
diff --git a/noncore/tools/calc2/main/main.pro b/noncore/tools/calc2/main/main.pro
new file mode 100644
index 0000000..e2eda1f
--- a/dev/null
+++ b/noncore/tools/calc2/main/main.pro
@@ -0,0 +1,12 @@
1TEMPLATE = app
2CONFIG += qt
3# Input
4HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h
5SOURCES += calc.cpp main.cpp engine.cpp
6INCLUDEPATH += $(OPIEDIR)/include
7DEPENDPATH += $(OPIEDIR)/include
8LIBS += -lqpe -Wl,-export-dynamic
9TARGET = calc2
10DESTDIR = $(OPIEDIR)/bin
11
12include( $(OPIEDIR)/include.pro )
diff --git a/noncore/tools/calc2/plugininterface.h b/noncore/tools/calc2/main/plugininterface.h
index df6db9d..df6db9d 100644
--- a/noncore/tools/calc2/plugininterface.h
+++ b/noncore/tools/calc2/main/plugininterface.h
diff --git a/noncore/tools/calc2/stdinstructions.h b/noncore/tools/calc2/main/stdinstructions.h
index a575968..a575968 100644
--- a/noncore/tools/calc2/stdinstructions.h
+++ b/noncore/tools/calc2/main/stdinstructions.h
diff --git a/noncore/tools/calc2/simple/simple.pro b/noncore/tools/calc2/simple/simple.pro
index dde5e7d..b27cc7a 100644
--- a/noncore/tools/calc2/simple/simple.pro
+++ b/noncore/tools/calc2/simple/simple.pro
@@ -1,12 +1,10 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt 2CONFIG += qt
3INTERFACES += simple.ui 3INTERFACES += simple.ui
4HEADERS = simpleimpl.h simplefactory.h stdinstructions.h 4HEADERS = simpleimpl.h simplefactory.h stdinstructions.h
5SOURCES = simpleimpl.cpp simplefactory.cpp 5SOURCES = simpleimpl.cpp simplefactory.cpp
6INCLUDEPATH += $(OPIEDIR)/include \ 6INCLUDEPATH += $(OPIEDIR)/include ../main/
7 $(OPIEDIR)/calc2
8DEPENDPATH += $(OPIEDIR)/include 7DEPENDPATH += $(OPIEDIR)/include
9DESTDIR = $(OPIEDIR)/plugins/calculator 8DESTDIR = $(OPIEDIR)/plugins/calculator
10 9
11
12include( $(OPIEDIR)/include.pro ) 10include( $(OPIEDIR)/include.pro )