summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/AportisCodec.omak
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/AportisCodec.omak') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/AportisCodec.omak139
1 files changed, 139 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/AportisCodec.omak b/noncore/apps/opie-reader/AportisCodec.omak
new file mode 100644
index 0000000..2de7cd6
--- a/dev/null
+++ b/noncore/apps/opie-reader/AportisCodec.omak
@@ -0,0 +1,139 @@
1#############################################################################
2# Makefile for building libAportis.so.1.0.0
3# Generated by tmake at 15:14, 2004/05/08
4# Project: AportisCodec.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,libAportis.so.1
17 LIBS =$(SUBLIBS) -L$(QTDIR)/lib -lreader_pdb -lreader_codec -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 =Aportis.h \
29 CExpander.h \
30 OREADERINC/useqpe.h \
31 config.h \
32 ustring.h \
33 StyleConsts.h \
34 Markups.h \
35 names.h \
36 linktype.h \
37 pdb.h \
38 my_list.h \
39 Bkmks.h \
40 Filedata.h
41 SOURCES =Aportis.cpp
42 OBJECTS =OREADEROBJS/Aportis.o
43 INTERFACES =
44 UICDECLS =
45 UICIMPLS =
46 SRCMOC =
47 OBJMOC =
48 DIST =
49 TARGET =libAportis.so.1.0.0
50 TARGETA =$(QTDIR)/plugins/reader/codecs/libAportis.a
51 TARGETD =libAportis.so.1.0.0
52 TARGET0 =libAportis.so
53 TARGET1 =libAportis.so.1
54 TARGET2 =libAportis.so.1.0
55INTERFACE_DECL_PATH = .
56
57####### Implicit rules
58
59.SUFFIXES: .cpp .cxx .cc .C .c
60
61.cpp.o:
62 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
63
64.cxx.o:
65 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
66
67.cc.o:
68 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
69
70.C.o:
71 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
72
73.c.o:
74 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
75
76####### Build rules
77
78
79all: $(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0
80
81$(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0: $(OBJECTS) $(OBJMOC) $(SUBLIBS)
82 -rm -f $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
83 $(LINK) $(LFLAGS) -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
84 -ln -s $(TARGET) $(TARGET0)
85 -ln -s $(TARGET) $(TARGET1)
86 -ln -s $(TARGET) $(TARGET2)
87 -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET)
88 -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET0)
89 -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET1)
90 -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET2)
91 -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/plugins/reader/codecs/
92
93staticlib: $(TARGETA)
94
95$(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC)
96 -rm -f $(TARGETA)
97 $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC)
98
99moc: $(SRCMOC)
100
101tmake: AportisCodec.omak
102
103AportisCodec.omak: AportisCodec.opro
104 tmake AportisCodec.opro -o AportisCodec.omak
105
106dist:
107 $(TAR) AportisCodec.opro.tar AportisCodec.opro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
108 $(GZIP) AportisCodec.opro.tar
109
110clean:
111 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
112 -rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
113 -rm -f *~ core
114
115####### Sub-libraries
116
117
118###### Combined headers
119
120
121####### Compile
122
123OREADEROBJS/Aportis.o: Aportis.cpp \
124 Aportis.h \
125 CExpander.h \
126 OREADERINC/useqpe.h \
127 config.h \
128 ustring.h \
129 StyleConsts.h \
130 Markups.h \
131 names.h \
132 linktype.h \
133 pdb.h \
134 my_list.h \
135 Bkmks.h \
136 Filedata.h \
137 OREADERINC/static.h
138 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/Aportis.o Aportis.cpp
139