Diffstat (limited to 'noncore/apps/opie-reader/PluckerCodec.mak') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/PluckerCodec.mak | 176 |
1 files changed, 0 insertions, 176 deletions
diff --git a/noncore/apps/opie-reader/PluckerCodec.mak b/noncore/apps/opie-reader/PluckerCodec.mak deleted file mode 100644 index ffd6ba8..0000000 --- a/noncore/apps/opie-reader/PluckerCodec.mak +++ b/dev/null | |||
@@ -1,176 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libPlucker.so.1.0.0 | ||
3 | # Generated by qmake (1.06c) (Qt 3.2.3) on: Sun Jul 25 08:40:46 2004 | ||
4 | # Project: PluckerCodec.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o PluckerCodec.mak PluckerCodec.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | ####### Compiler, tools and options | ||
10 | |||
11 | CC = gcc | ||
12 | CXX = g++ | ||
13 | LEX = flex | ||
14 | YACC = yacc | ||
15 | CFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT | ||
16 | CXXFLAGS = -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT | ||
17 | LEXFLAGS = | ||
18 | YACCFLAGS= -d | ||
19 | INCPATH = -I/usr/lib/qt3/mkspecs/default -I. -IQREADERINC -I$(QTDIR)/include -IQREADERMOCS/ | ||
20 | LINK = g++ | ||
21 | LFLAGS = -shared -Wl,-soname,libPlucker.so.1 | ||
22 | LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L$(READERDIR)/lib -lreader_pdb -lreader_pluckerbase -lreader_codec -lqt-mt -lXext -lX11 -lm -lpthread | ||
23 | AR = ar cqs | ||
24 | RANLIB = | ||
25 | MOC = $(QTDIR)/bin/moc | ||
26 | UIC = $(QTDIR)/bin/uic | ||
27 | QMAKE = qmake | ||
28 | TAR = tar -cf | ||
29 | GZIP = gzip -9f | ||
30 | COPY = cp -f | ||
31 | COPY_FILE= $(COPY) | ||
32 | COPY_DIR = $(COPY) -r | ||
33 | DEL_FILE = rm -f | ||
34 | SYMLINK = ln -sf | ||
35 | DEL_DIR = rmdir | ||
36 | MOVE = mv -f | ||
37 | CHK_DIR_EXISTS= test -d | ||
38 | MKDIR = mkdir -p | ||
39 | |||
40 | ####### Output directory | ||
41 | |||
42 | OBJECTS_DIR = QREADEROBJS/ | ||
43 | |||
44 | ####### Files | ||
45 | |||
46 | HEADERS = plucker.h | ||
47 | SOURCES = plucker.cpp \ | ||
48 | Palm2QImage.cpp | ||
49 | OBJECTS = QREADEROBJS/plucker.o \ | ||
50 | QREADEROBJS/Palm2QImage.o | ||
51 | FORMS = | ||
52 | UICDECLS = | ||
53 | UICIMPLS = | ||
54 | SRCMOC = | ||
55 | OBJMOC = | ||
56 | DIST = PluckerCodec.pro | ||
57 | QMAKE_TARGET = Plucker | ||
58 | DESTDIR = $(READERDIR)/codecs/ | ||
59 | TARGET = libPlucker.so.1.0.0 | ||
60 | TARGETA= $(READERDIR)/codecs/libPlucker.a | ||
61 | TARGETD= libPlucker.so.1.0.0 | ||
62 | TARGET0= libPlucker.so | ||
63 | TARGET1= libPlucker.so.1 | ||
64 | TARGET2= libPlucker.so.1.0 | ||
65 | |||
66 | first: all | ||
67 | ####### Implicit rules | ||
68 | |||
69 | .SUFFIXES: .c .o .cpp .cc .cxx .C | ||
70 | |||
71 | .cpp.o: | ||
72 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
73 | |||
74 | .cc.o: | ||
75 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
76 | |||
77 | .cxx.o: | ||
78 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
79 | |||
80 | .C.o: | ||
81 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
82 | |||
83 | .c.o: | ||
84 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
85 | |||
86 | ####### Build rules | ||
87 | |||
88 | all: PluckerCodec.mak $(READERDIR)/codecs/$(TARGET) | ||
89 | |||
90 | $(READERDIR)/codecs/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) $(OBJCOMP) | ||
91 | test -d $(READERDIR)/codecs/ || mkdir -p $(READERDIR)/codecs/ | ||
92 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
93 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) $(OBJCOMP) | ||
94 | -ln -s $(TARGET) $(TARGET0) | ||
95 | -ln -s $(TARGET) $(TARGET1) | ||
96 | -ln -s $(TARGET) $(TARGET2) | ||
97 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET) | ||
98 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET0) | ||
99 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET1) | ||
100 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET2) | ||
101 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(READERDIR)/codecs/ | ||
102 | |||
103 | |||
104 | |||
105 | staticlib: $(TARGETA) | ||
106 | |||
107 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP) | ||
108 | -$(DEL_FILE) $(TARGETA) | ||
109 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
110 | |||
111 | mocables: $(SRCMOC) | ||
112 | uicables: $(UICDECLS) $(UICIMPLS) | ||
113 | |||
114 | $(MOC): | ||
115 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
116 | |||
117 | PluckerCodec.mak: PluckerCodec.pro /usr/lib/qt3/mkspecs/default/qmake.conf | ||
118 | $(QMAKE) -o PluckerCodec.mak PluckerCodec.pro | ||
119 | qmake: | ||
120 | @$(QMAKE) -o PluckerCodec.mak PluckerCodec.pro | ||
121 | |||
122 | dist: | ||
123 | @mkdir -p QREADEROBJS/Plucker && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) QREADEROBJS/Plucker/ && ( cd `dirname QREADEROBJS/Plucker` && $(TAR) Plucker.tar Plucker && $(GZIP) Plucker.tar ) && $(MOVE) `dirname QREADEROBJS/Plucker`/Plucker.tar.gz . && $(DEL_FILE) -r QREADEROBJS/Plucker | ||
124 | |||
125 | mocclean: | ||
126 | |||
127 | uiclean: | ||
128 | |||
129 | yaccclean: | ||
130 | lexclean: | ||
131 | clean: | ||
132 | -$(DEL_FILE) $(OBJECTS) | ||
133 | -$(DEL_FILE) *~ core *.core | ||
134 | |||
135 | |||
136 | ####### Sub-libraries | ||
137 | |||
138 | distclean: clean | ||
139 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET) $(TARGET) | ||
140 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET0) $(READERDIR)/codecs/$(TARGET1) $(READERDIR)/codecs/$(TARGET2) $(TARGETA) | ||
141 | |||
142 | |||
143 | FORCE: | ||
144 | |||
145 | ####### Compile | ||
146 | |||
147 | QREADEROBJS/plucker.o: plucker.cpp QREADERINC/useqpe.h \ | ||
148 | plucker.h \ | ||
149 | Aportis.h \ | ||
150 | Palm2QImage.h \ | ||
151 | QREADERINC/static.h \ | ||
152 | plucker_base.h \ | ||
153 | CExpander.h \ | ||
154 | ztxt.h \ | ||
155 | pdb.h \ | ||
156 | CBuffer.h \ | ||
157 | my_list.h \ | ||
158 | Navigation.h \ | ||
159 | hrule.h \ | ||
160 | config.h \ | ||
161 | StyleConsts.h \ | ||
162 | Markups.h \ | ||
163 | names.h \ | ||
164 | linktype.h \ | ||
165 | ustring.h | ||
166 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o QREADEROBJS/plucker.o plucker.cpp | ||
167 | |||
168 | QREADEROBJS/Palm2QImage.o: Palm2QImage.cpp QREADERINC/useqpe.h | ||
169 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o QREADEROBJS/Palm2QImage.o Palm2QImage.cpp | ||
170 | |||
171 | ####### Install | ||
172 | |||
173 | install: all | ||
174 | |||
175 | uninstall: | ||
176 | |||