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/CHM.zmak | |
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/CHM.zmak') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CHM.zmak | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/noncore/apps/opie-reader/CHM.zmak b/noncore/apps/opie-reader/CHM.zmak deleted file mode 100644 index 6cde457..0000000 --- a/noncore/apps/opie-reader/CHM.zmak +++ b/dev/null | |||
@@ -1,140 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building libCHM.so.1.0.0 | ||
3 | # Generated by tmake at 15:17, 2004/05/08 | ||
4 | # Project: CHM.zpro | ||
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 -O2 -fPIC -DNO_DEBUG | ||
13 | CXXFLAGS=-pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC -DNO_DEBUG | ||
14 | INCPATH =-IZREADERINC -I$(QTDIR)/include | ||
15 | LINK =arm-linux-gcc | ||
16 | LFLAGS =-shared -Wl,-soname,libCHM.so.1 | ||
17 | LIBS =$(SUBLIBS) -L$(QTDIR)/lib -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 =CHM.h \ | ||
29 | chm_lib.h \ | ||
30 | lzx.h | ||
31 | SOURCES =CHM.cpp \ | ||
32 | chm_lib.c \ | ||
33 | lzx.c | ||
34 | OBJECTS =ZREADEROBJS/CHM.o \ | ||
35 | ZREADEROBJS/chm_lib.o \ | ||
36 | ZREADEROBJS/lzx.o | ||
37 | INTERFACES = | ||
38 | UICDECLS = | ||
39 | UICIMPLS = | ||
40 | SRCMOC = | ||
41 | OBJMOC = | ||
42 | DIST = | ||
43 | TARGET =libCHM.so.1.0.0 | ||
44 | TARGETA =$(QTDIR)/plugins/reader/codecs/libCHM.a | ||
45 | TARGETD =libCHM.so.1.0.0 | ||
46 | TARGET0 =libCHM.so | ||
47 | TARGET1 =libCHM.so.1 | ||
48 | TARGET2 =libCHM.so.1.0 | ||
49 | INTERFACE_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 | |||
73 | all: $(QTDIR)/plugins/reader/codecs/libCHM.so.1.0.0 | ||
74 | |||
75 | $(QTDIR)/plugins/reader/codecs/libCHM.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 $(QTDIR)/plugins/reader/codecs/$(TARGET) | ||
82 | -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET0) | ||
83 | -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET1) | ||
84 | -rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET2) | ||
85 | -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/plugins/reader/codecs/ | ||
86 | |||
87 | staticlib: $(TARGETA) | ||
88 | |||
89 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
90 | -rm -f $(TARGETA) | ||
91 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
92 | |||
93 | moc: $(SRCMOC) | ||
94 | |||
95 | tmake: CHM.zmak | ||
96 | |||
97 | CHM.zmak: CHM.zpro | ||
98 | tmake CHM.zpro -o CHM.zmak | ||
99 | |||
100 | dist: | ||
101 | $(TAR) CHM.zpro.tar CHM.zpro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST) | ||
102 | $(GZIP) CHM.zpro.tar | ||
103 | |||
104 | clean: | ||
105 | -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET) | ||
106 | -rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) | ||
107 | -rm -f *~ core | ||
108 | |||
109 | ####### Sub-libraries | ||
110 | |||
111 | |||
112 | ###### Combined headers | ||
113 | |||
114 | |||
115 | ####### Compile | ||
116 | |||
117 | ZREADEROBJS/CHM.o: CHM.cpp \ | ||
118 | CHM.h \ | ||
119 | ZREADERINC/useqpe.h \ | ||
120 | CExpander.h \ | ||
121 | config.h \ | ||
122 | ustring.h \ | ||
123 | StyleConsts.h \ | ||
124 | Markups.h \ | ||
125 | names.h \ | ||
126 | linktype.h \ | ||
127 | chm_lib.h \ | ||
128 | my_list.h \ | ||
129 | ZREADERINC/static.h | ||
130 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ZREADEROBJS/CHM.o CHM.cpp | ||
131 | |||
132 | ZREADEROBJS/chm_lib.o: chm_lib.c \ | ||
133 | chm_lib.h \ | ||
134 | lzx.h | ||
135 | $(CC) -c $(CFLAGS) $(INCPATH) -o ZREADEROBJS/chm_lib.o chm_lib.c | ||
136 | |||
137 | ZREADEROBJS/lzx.o: lzx.c \ | ||
138 | lzx.h | ||
139 | $(CC) -c $(CFLAGS) $(INCPATH) -o ZREADEROBJS/lzx.o lzx.c | ||
140 | |||