blob: 2de7cd6b2a0b84ab75e3218376e1246455b3b501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
#############################################################################
# Makefile for building libAportis.so.1.0.0
# Generated by tmake at 15:14, 2004/05/08
# Project: AportisCodec.opro
# Template: lib
#############################################################################
####### Compiler, tools and options
CC = arm-linux-gcc
CXX = arm-linux-g++
CFLAGS = -pipe -Wall -W -O3 -fPIC -DNO_DEBUG
CXXFLAGS= -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -fPIC -DNO_DEBUG
INCPATH = -IOREADERINC -I$(QTDIR)/include
LINK = arm-linux-gcc
LFLAGS = -shared -Wl,-soname,libAportis.so.1
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lreader_pdb -lreader_codec -lqte
AR = arm-linux-ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
TAR = tar -cf
GZIP = gzip -9f
####### Files
HEADERS = Aportis.h \
CExpander.h \
OREADERINC/useqpe.h \
config.h \
ustring.h \
StyleConsts.h \
Markups.h \
names.h \
linktype.h \
pdb.h \
my_list.h \
Bkmks.h \
Filedata.h
SOURCES = Aportis.cpp
OBJECTS = OREADEROBJS/Aportis.o
INTERFACES =
UICDECLS =
UICIMPLS =
SRCMOC =
OBJMOC =
DIST =
TARGET = libAportis.so.1.0.0
TARGETA = $(QTDIR)/plugins/reader/codecs/libAportis.a
TARGETD = libAportis.so.1.0.0
TARGET0 = libAportis.so
TARGET1 = libAportis.so.1
TARGET2 = libAportis.so.1.0
INTERFACE_DECL_PATH = .
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .C .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: $(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0
$(QTDIR)/plugins/reader/codecs/libAportis.so.1.0.0: $(OBJECTS) $(OBJMOC) $(SUBLIBS)
-rm -f $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
$(LINK) $(LFLAGS) -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
-ln -s $(TARGET) $(TARGET0)
-ln -s $(TARGET) $(TARGET1)
-ln -s $(TARGET) $(TARGET2)
-rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET)
-rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET0)
-rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET1)
-rm -f $(QTDIR)/plugins/reader/codecs/$(TARGET2)
-mv $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(QTDIR)/plugins/reader/codecs/
staticlib: $(TARGETA)
$(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC)
-rm -f $(TARGETA)
$(AR) $(TARGETA) $(OBJECTS) $(OBJMOC)
moc: $(SRCMOC)
tmake: AportisCodec.omak
AportisCodec.omak: AportisCodec.opro
tmake AportisCodec.opro -o AportisCodec.omak
dist:
$(TAR) AportisCodec.opro.tar AportisCodec.opro.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
$(GZIP) AportisCodec.opro.tar
clean:
-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
-rm -f $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
-rm -f *~ core
####### Sub-libraries
###### Combined headers
####### Compile
OREADEROBJS/Aportis.o: Aportis.cpp \
Aportis.h \
CExpander.h \
OREADERINC/useqpe.h \
config.h \
ustring.h \
StyleConsts.h \
Markups.h \
names.h \
linktype.h \
pdb.h \
my_list.h \
Bkmks.h \
Filedata.h \
OREADERINC/static.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o OREADEROBJS/Aportis.o Aportis.cpp
|