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