author | mickeyl <mickeyl> | 2004-08-25 12:15:50 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-08-25 12:15:50 (UTC) |
commit | a4c678976a3e3fd5afec1a9595a1a80ed621a5e2 (patch) (unidiff) | |
tree | e92cd8cc9b21e5efe21579fae2c434770106309f /noncore/apps/opie-reader/codeclib.omak | |
parent | 6e4b80e6ec07587e69ad8a374431097d484079e8 (diff) | |
download | opie-a4c678976a3e3fd5afec1a9595a1a80ed621a5e2.zip opie-a4c678976a3e3fd5afec1a9595a1a80ed621a5e2.tar.gz opie-a4c678976a3e3fd5afec1a9595a1a80ed621a5e2.tar.bz2 |
- remove bogus mak and pro files
- fix build order
- fix binary name
- add bogus include files
Diffstat (limited to 'noncore/apps/opie-reader/codeclib.omak') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/codeclib.omak | 160 |
1 files changed, 0 insertions, 160 deletions
diff --git a/noncore/apps/opie-reader/codeclib.omak b/noncore/apps/opie-reader/codeclib.omak deleted file mode 100644 index 1ea5fbc..0000000 --- a/noncore/apps/opie-reader/codeclib.omak +++ b/dev/null | |||
@@ -1,160 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building libreader_codec.so.1.0.0 | ||
3 | # Generated by tmake at 15:14, 2004/05/08 | ||
4 | # Project: codeclib.opro | ||
5 | # Template: lib | ||
6 | ############################################################################# | ||
7 | |||
8 | ####### Compiler, tools and options | ||
9 | |||
10 | CC =arm-linux-gcc | ||
11 | CXX =arm-linux-g++ | ||
12 | CFLAGS =-pipe -Wall -W -O3 -fPIC -DNO_DEBUG | ||
13 | CXXFLAGS=-pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -fPIC -DNO_DEBUG | ||
14 | INCPATH =-IOREADERINC -I$(QTDIR)/include | ||
15 | LINK =arm-linux-gcc | ||
16 | LFLAGS =-shared -Wl,-soname,libreader_codec.so.1 | ||
17 | LIBS =$(SUBLIBS) -L$(QTDIR)/lib -lqte | ||
18 | AR =arm-linux-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 =pdb.h | ||
29 | SOURCES =CExpander.cpp \ | ||
30 | CBuffer.cpp \ | ||
31 | StyleConsts.cpp \ | ||
32 | hrule.cpp \ | ||
33 | Navigation.cpp \ | ||
34 | Bkmks.cpp | ||
35 | OBJECTS =OREADEROBJS/CExpander.o \ | ||
36 | OREADEROBJS/CBuffer.o \ | ||
37 | OREADEROBJS/StyleConsts.o \ | ||
38 | OREADEROBJS/hrule.o \ | ||
39 | OREADEROBJS/Navigation.o \ | ||
40 | OREADEROBJS/Bkmks.o | ||
41 | INTERFACES = | ||
42 | UICDECLS = | ||
43 | UICIMPLS = | ||
44 | SRCMOC = | ||
45 | OBJMOC = | ||
46 | DIST = | ||
47 | TARGET =libreader_codec.so.1.0.0 | ||
48 | TARGETA =$(QTDIR)/lib/libreader_codec.a | ||
49 | TARGETD =libreader_codec.so.1.0.0 | ||
50 | TARGET0 =libreader_codec.so | ||
51 | TARGET1 =libreader_codec.so.1 | ||
52 | TARGET2 =libreader_codec.so.1.0 | ||
53 | INTERFACE_DECL_PATH = . | ||
54 | |||
55 | ####### Implicit rules | ||
56 | |||
57 | .SUFFIXES: .cpp .cxx .cc .C .c | ||
58 | |||
59 | .cpp.o: | ||
60 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
61 | |||
62 | .cxx.o: | ||
63 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
64 | |||
65 | .cc.o: | ||
66 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
67 | |||
68 | .C.o: | ||
69 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
70 | |||
71 | .c.o: | ||
72 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
73 | |||
74 | ####### Build rules | ||
75 | |||
76 | |||
77 | all: $(QTDIR)/lib/libreader_codec.so.1.0.0 | ||
78 | |||
79 | $(QTDIR)/lib/libreader_codec.so.1.0.0: $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
80 | -rm -f $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
81 | $(LINK) $(LFLAGS) -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
82 | -ln -s $(TARGET) $(TARGET0) | ||
83 | -ln -s $(TARGET) $(TARGET1) | ||
84 | -ln -s $(TARGET) $(TARGET2) | ||
85 | -rm -f $(QTDIR)/lib/$(TARGET) | ||
86 | -rm -f $(QTDIR)/lib/$(TARGET0) | ||
87 | -rm -f $(QTDIR)/lib/$(TARGET1) | ||
88 | -rm -f $(QTDIR)/lib/$(TARGET2) | ||
89 | -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/lib/ | ||
90 | |||
91 | staticlib: $(TARGETA) | ||
92 | |||
93 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
94 | -rm -f $(TARGETA) | ||
95 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
96 | |||
97 | moc: $(SRCMOC) | ||
98 | |||
99 | tmake: codeclib.omak | ||
100 | |||
101 | codeclib.omak: codeclib.opro | ||
102 | tmake codeclib.opro -o codeclib.omak | ||
103 | |||
104 | dist: | ||
105 | $(TAR) codeclib.opro.tar codeclib.opro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST) | ||
106 | $(GZIP) codeclib.opro.tar | ||
107 | |||
108 | clean: | ||
109 | -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET) | ||
110 | -rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) | ||
111 | -rm -f *~ core | ||
112 | |||
113 | ####### Sub-libraries | ||
114 | |||
115 | |||
116 | ###### Combined headers | ||
117 | |||
118 | |||
119 | ####### Compile | ||
120 | |||
121 | OREADEROBJS/CExpander.o: CExpander.cpp \ | ||
122 | CExpander.h \ | ||
123 | OREADERINC/useqpe.h \ | ||
124 | config.h \ | ||
125 | ustring.h \ | ||
126 | StyleConsts.h \ | ||
127 | Markups.h \ | ||
128 | names.h \ | ||
129 | linktype.h | ||
130 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/CExpander.o CExpander.cpp | ||
131 | |||
132 | OREADEROBJS/CBuffer.o: CBuffer.cpp \ | ||
133 | CBuffer.h \ | ||
134 | config.h \ | ||
135 | ustring.h | ||
136 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/CBuffer.o CBuffer.cpp | ||
137 | |||
138 | OREADEROBJS/StyleConsts.o: StyleConsts.cpp \ | ||
139 | StyleConsts.h | ||
140 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/StyleConsts.o StyleConsts.cpp | ||
141 | |||
142 | OREADEROBJS/hrule.o: hrule.cpp | ||
143 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/hrule.o hrule.cpp | ||
144 | |||
145 | OREADEROBJS/Navigation.o: Navigation.cpp \ | ||
146 | Navigation.h | ||
147 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/Navigation.o Navigation.cpp | ||
148 | |||
149 | OREADEROBJS/Bkmks.o: Bkmks.cpp \ | ||
150 | Bkmks.h \ | ||
151 | config.h \ | ||
152 | ustring.h \ | ||
153 | Filedata.h \ | ||
154 | StyleConsts.h \ | ||
155 | Markups.h \ | ||
156 | my_list.h \ | ||
157 | version.h \ | ||
158 | names.h | ||
159 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/Bkmks.o Bkmks.cpp | ||
160 | |||