Diffstat (limited to 'noncore/apps/opie-reader/pdblib.wmak') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/pdblib.wmak | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/noncore/apps/opie-reader/pdblib.wmak b/noncore/apps/opie-reader/pdblib.wmak deleted file mode 100644 index f06f05ad..0000000 --- a/noncore/apps/opie-reader/pdblib.wmak +++ b/dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building libreader_pdb.so.1.0.0 | ||
3 | # Generated by tmake at 23:23, 2004/03/09 | ||
4 | # Project: pdblib.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,libreader_pdb.so.1 | ||
17 | LIBS =$(SUBLIBS) -L$(QTDIR)/lib -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 =pdb.h | ||
29 | SOURCES =pdb.cpp | ||
30 | OBJECTS =WSREADEROBJS/pdb.o | ||
31 | INTERFACES = | ||
32 | UICDECLS = | ||
33 | UICIMPLS = | ||
34 | SRCMOC = | ||
35 | OBJMOC = | ||
36 | DIST = | ||
37 | TARGET =libreader_pdb.so.1.0.0 | ||
38 | TARGETA =$(QTDIR)/lib/libreader_pdb.a | ||
39 | TARGETD =libreader_pdb.so.1.0.0 | ||
40 | TARGET0 =libreader_pdb.so | ||
41 | TARGET1 =libreader_pdb.so.1 | ||
42 | TARGET2 =libreader_pdb.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)/lib/libreader_pdb.so.1.0.0 | ||
68 | |||
69 | $(QTDIR)/lib/libreader_pdb.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)/lib/$(TARGET) | ||
76 | -rm -f $(QTDIR)/lib/$(TARGET0) | ||
77 | -rm -f $(QTDIR)/lib/$(TARGET1) | ||
78 | -rm -f $(QTDIR)/lib/$(TARGET2) | ||
79 | -mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/lib/ | ||
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: pdblib.wmak | ||
90 | |||
91 | pdblib.wmak: pdblib.wpro | ||
92 | tmake pdblib.wpro -o pdblib.wmak | ||
93 | |||
94 | dist: | ||
95 | $(TAR) pdblib.wpro.tar pdblib.wpro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST) | ||
96 | $(GZIP) pdblib.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/pdb.o: pdb.cpp \ | ||
112 | pdb.h \ | ||
113 | WSREADERINC/useqpe.h \ | ||
114 | CExpander.h \ | ||
115 | config.h \ | ||
116 | ustring.h \ | ||
117 | StyleConsts.h \ | ||
118 | Markups.h \ | ||
119 | names.h \ | ||
120 | linktype.h | ||
121 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o WSREADEROBJS/pdb.o pdb.cpp | ||
122 | |||