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