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/WeaselCodec.wmak | |
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/WeaselCodec.wmak') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/WeaselCodec.wmak | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/noncore/apps/opie-reader/WeaselCodec.wmak b/noncore/apps/opie-reader/WeaselCodec.wmak deleted file mode 100644 index fd41b8a..0000000 --- a/noncore/apps/opie-reader/WeaselCodec.wmak +++ b/dev/null | |||
@@ -1,127 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building libWeasel.so.1.0.0 | ||
3 | # Generated by tmake at 23:23, 2004/03/09 | ||
4 | # Project: WeaselCodec.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,libWeasel.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 =ztxt.h | ||
29 | SOURCES =ztxt.cpp | ||
30 | OBJECTS =WSREADEROBJS/ztxt.o | ||
31 | INTERFACES = | ||
32 | UICDECLS = | ||
33 | UICIMPLS = | ||
34 | SRCMOC = | ||
35 | OBJMOC = | ||
36 | DIST = | ||
37 | TARGET =libWeasel.so.1.0.0 | ||
38 | TARGETA =$(QTDIR)/plugins/reader/codecs/libWeasel.a | ||
39 | TARGETD =libWeasel.so.1.0.0 | ||
40 | TARGET0 =libWeasel.so | ||
41 | TARGET1 =libWeasel.so.1 | ||
42 | TARGET2 =libWeasel.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/libWeasel.so.1.0.0 | ||
68 | |||
69 | $(QTDIR)/plugins/reader/codecs/libWeasel.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: WeaselCodec.wmak | ||
90 | |||
91 | WeaselCodec.wmak: WeaselCodec.wpro | ||
92 | tmake WeaselCodec.wpro -o WeaselCodec.wmak | ||
93 | |||
94 | dist: | ||
95 | $(TAR) WeaselCodec.wpro.tar WeaselCodec.wpro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST) | ||
96 | $(GZIP) WeaselCodec.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/ztxt.o: ztxt.cpp \ | ||
112 | ztxt.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/ztxt.o ztxt.cpp | ||
127 | |||