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