summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/calc2/Makefile138
-rw-r--r--noncore/tools/calc2/binary/Makefile146
2 files changed, 0 insertions, 284 deletions
diff --git a/noncore/tools/calc2/Makefile b/noncore/tools/calc2/Makefile
deleted file mode 100644
index 1e31a2f..0000000
--- a/noncore/tools/calc2/Makefile
+++ b/dev/null
@@ -1,138 +0,0 @@
1#############################################################################
2# Makefile for building calc
3# Generated by tmake at 12:06, 2001/11/26
4# Project: calc
5# Template: app
6#############################################################################
7
8####### Compiler, tools and options
9
10 CC =gcc
11 CXX =g++
12 CFLAGS =-pipe -Wall -W -O2 -DNO_DEBUG
13 CXXFLAGS=-pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG
14 INCPATH =-I$(QPEDIR)/include -I$(QTDIR)/include
15 LINK =gcc
16 LFLAGS =
17 LIBS =$(SUBLIBS) -L$(QTDIR)/lib -lqpe -Wl,-export-dynamic -lqte
18 MOC =$(QTDIR)/bin/moc
19 UIC =$(QTDIR)/bin/uic
20
21 TAR =tar -cf
22 GZIP =gzip -9f
23
24####### Files
25
26 HEADERS =calc.h \
27 plugininterface.h \
28 instruction.h \
29 engine.h \
30 stdinstructions.h
31 SOURCES =calc.cpp \
32 main.cpp \
33 engine.cpp
34 OBJECTS =calc.o \
35 main.o \
36 engine.o
37 INTERFACES =
38 UICDECLS =
39 UICIMPLS =
40 SRCMOC =moc_calc.cpp \
41 moc_engine.cpp
42 OBJMOC =moc_calc.o \
43 moc_engine.o
44 DIST =
45 TARGET =calc
46INTERFACE_DECL_PATH = .
47
48####### Implicit rules
49
50.SUFFIXES: .cpp .cxx .cc .C .c
51
52.cpp.o:
53 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
54
55.cxx.o:
56 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
57
58.cc.o:
59 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
60
61.C.o:
62 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
63
64.c.o:
65 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
66
67####### Build rules
68
69
70all: $(TARGET)
71
72$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
73 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
74
75moc: $(SRCMOC)
76
77tmake:
78 tmake calc.pro
79
80dist:
81 $(TAR) calc.tar calc.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
82 $(GZIP) calc.tar
83
84clean:
85 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
86 -rm -f *~ core
87
88####### Sub-libraries
89
90
91###### Combined headers
92
93
94####### Compile
95
96calc.o: calc.cpp \
97 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qpeapplication.h \
98 calc.h \
99 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
100 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
101 /home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
102 engine.h \
103 instruction.h \
104 plugininterface.h
105
106main.o: main.cpp \
107 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qpeapplication.h \
108 calc.h \
109 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
110 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
111 /home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
112 engine.h \
113 instruction.h \
114 plugininterface.h
115
116engine.o: engine.cpp \
117 engine.h \
118 instruction.h
119
120moc_calc.o: moc_calc.cpp \
121 calc.h \
122 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
123 /home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
124 /home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
125 engine.h \
126 instruction.h \
127 plugininterface.h
128
129moc_engine.o: moc_engine.cpp \
130 engine.h \
131 instruction.h
132
133moc_calc.cpp: calc.h
134 $(MOC) calc.h -o moc_calc.cpp
135
136moc_engine.cpp: engine.h
137 $(MOC) engine.h -o moc_engine.cpp
138
diff --git a/noncore/tools/calc2/binary/Makefile b/noncore/tools/calc2/binary/Makefile
deleted file mode 100644
index 93cc0d5..0000000
--- a/noncore/tools/calc2/binary/Makefile
+++ b/dev/null
@@ -1,146 +0,0 @@
1#############################################################################
2# Makefile for building libbinary.so.1.0.0
3# Generated by tmake at 12:03, 2001/11/22
4# Project: binary
5# Template: lib
6#############################################################################
7
8####### Compiler, tools and options
9
10 CC =gcc
11 CXX =g++
12 CFLAGS =-pipe -Wall -W -O2 -fPIC -DNO_DEBUG
13 CXXFLAGS=-pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC -DNO_DEBUG
14 INCPATH =-I$(QPEDIR)/include -I$(QPEDIR)/calc2 -I$(QTDIR)/include
15 LINK =gcc
16 LFLAGS =-shared -Wl,-soname,libbinary.so.1
17 LIBS =$(SUBLIBS) -L$(QTDIR)/lib -lqte
18 AR =ar cqs
19 RANLIB =
20 MOC =$(QTDIR)/bin/moc
21 UIC =$(QTDIR)/bin/uic
22
23 TAR =tar -cf
24 GZIP =gzip -9f
25
26####### Files
27
28 HEADERS =binaryimpl.h \
29 binaryfactory.h
30 SOURCES =binaryimpl.cpp \
31 binaryfactory.cpp
32 OBJECTS =binaryimpl.o \
33 binaryfactory.o \
34 binary.o
35 INTERFACES =binary.ui
36 UICDECLS =binary.h
37 UICIMPLS =binary.cpp
38 SRCMOC =moc_binaryimpl.cpp \
39 moc_binary.cpp
40 OBJMOC =moc_binaryimpl.o \
41 moc_binary.o
42 DIST =
43 TARGET =libbinary.so.1.0.0
44 TARGETA =$(QPEDIR)/plugins/calculator/libbinary.a
45 TARGETD =libbinary.so.1.0.0
46 TARGET0 =libbinary.so
47 TARGET1 =libbinary.so.1
48 TARGET2 =libbinary.so.1.0
49INTERFACE_DECL_PATH = .
50
51####### Implicit rules
52
53.SUFFIXES: .cpp .cxx .cc .C .c
54
55.cpp.o:
56 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
57
58.cxx.o:
59 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
60
61.cc.o:
62 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
63
64.C.o:
65 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
66
67.c.o:
68 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
69
70####### Build rules
71
72
73all: $(QPEDIR)/plugins/calculator/libbinary.so.1.0.0
74
75$(QPEDIR)/plugins/calculator/libbinary.so.1.0.0: $(OBJECTS) $(OBJMOC) $(SUBLIBS)
76 -rm -f $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
77 $(LINK) $(LFLAGS) -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
78 -ln -s $(TARGET) $(TARGET0)
79 -ln -s $(TARGET) $(TARGET1)
80 -ln -s $(TARGET) $(TARGET2)
81 -rm -f $(QPEDIR)/plugins/calculator/$(TARGET)
82 -rm -f $(QPEDIR)/plugins/calculator/$(TARGET0)
83 -rm -f $(QPEDIR)/plugins/calculator/$(TARGET1)
84 -rm -f $(QPEDIR)/plugins/calculator/$(TARGET2)
85 -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QPEDIR)/plugins/calculator/
86
87staticlib: $(TARGETA)
88
89$(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC)
90 -rm -f $(TARGETA)
91 $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC)
92
93moc: $(SRCMOC)
94
95tmake:
96 tmake binary.pro
97
98dist:
99 $(TAR) binary.tar binary.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
100 $(GZIP) binary.tar
101
102clean:
103 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
104 -rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
105 -rm -f *~ core
106
107####### Sub-libraries
108
109
110###### Combined headers
111
112
113####### Compile
114
115binaryimpl.o: binaryimpl.cpp \
116 binaryimpl.h \
117 binary.h
118
119binaryfactory.o: binaryfactory.cpp \
120 binaryfactory.h \
121 binaryimpl.h \
122 binary.h
123
124binary.h: binary.ui
125 $(UIC) binary.ui -o $(INTERFACE_DECL_PATH)/binary.h
126
127binary.cpp: binary.ui
128 $(UIC) binary.ui -i binary.h -o binary.cpp
129
130binary.o: binary.cpp \
131 binary.h \
132 binary.ui
133
134moc_binaryimpl.o: moc_binaryimpl.cpp \
135 binaryimpl.h \
136 binary.h
137
138moc_binary.o: moc_binary.cpp \
139 binary.h
140
141moc_binaryimpl.cpp: binaryimpl.h
142 $(MOC) binaryimpl.h -o moc_binaryimpl.cpp
143
144moc_binary.cpp: binary.h
145 $(MOC) binary.h -o moc_binary.cpp
146