Diffstat (limited to 'noncore/apps/opie-reader/iSiloCodec.mak') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/iSiloCodec.mak | 162 |
1 files changed, 0 insertions, 162 deletions
diff --git a/noncore/apps/opie-reader/iSiloCodec.mak b/noncore/apps/opie-reader/iSiloCodec.mak deleted file mode 100644 index d0ef46e..0000000 --- a/noncore/apps/opie-reader/iSiloCodec.mak +++ b/dev/null | |||
@@ -1,162 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libiSilo.so.1.0.0 | ||
3 | # Generated by qmake (1.06c) (Qt 3.2.3) on: Sun Jul 25 08:39:31 2004 | ||
4 | # Project: iSiloCodec.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o iSiloCodec.mak iSiloCodec.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,libiSilo.so.1 | ||
22 | LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -L$(READERDIR)/lib -lreader_pdb -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 = | ||
47 | SOURCES = iSilo.cpp | ||
48 | OBJECTS = QREADEROBJS/iSilo.o | ||
49 | FORMS = | ||
50 | UICDECLS = | ||
51 | UICIMPLS = | ||
52 | SRCMOC = | ||
53 | OBJMOC = | ||
54 | DIST = iSiloCodec.pro | ||
55 | QMAKE_TARGET = iSilo | ||
56 | DESTDIR = $(READERDIR)/codecs/ | ||
57 | TARGET = libiSilo.so.1.0.0 | ||
58 | TARGETA= $(READERDIR)/codecs/libiSilo.a | ||
59 | TARGETD= libiSilo.so.1.0.0 | ||
60 | TARGET0= libiSilo.so | ||
61 | TARGET1= libiSilo.so.1 | ||
62 | TARGET2= libiSilo.so.1.0 | ||
63 | |||
64 | first: all | ||
65 | ####### Implicit rules | ||
66 | |||
67 | .SUFFIXES: .c .o .cpp .cc .cxx .C | ||
68 | |||
69 | .cpp.o: | ||
70 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
71 | |||
72 | .cc.o: | ||
73 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
74 | |||
75 | .cxx.o: | ||
76 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
77 | |||
78 | .C.o: | ||
79 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
80 | |||
81 | .c.o: | ||
82 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
83 | |||
84 | ####### Build rules | ||
85 | |||
86 | all: iSiloCodec.mak $(READERDIR)/codecs/$(TARGET) | ||
87 | |||
88 | $(READERDIR)/codecs/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) $(OBJCOMP) | ||
89 | test -d $(READERDIR)/codecs/ || mkdir -p $(READERDIR)/codecs/ | ||
90 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
91 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) $(OBJCOMP) | ||
92 | -ln -s $(TARGET) $(TARGET0) | ||
93 | -ln -s $(TARGET) $(TARGET1) | ||
94 | -ln -s $(TARGET) $(TARGET2) | ||
95 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET) | ||
96 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET0) | ||
97 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET1) | ||
98 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET2) | ||
99 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(READERDIR)/codecs/ | ||
100 | |||
101 | |||
102 | |||
103 | staticlib: $(TARGETA) | ||
104 | |||
105 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP) | ||
106 | -$(DEL_FILE) $(TARGETA) | ||
107 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
108 | |||
109 | mocables: $(SRCMOC) | ||
110 | uicables: $(UICDECLS) $(UICIMPLS) | ||
111 | |||
112 | $(MOC): | ||
113 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
114 | |||
115 | iSiloCodec.mak: iSiloCodec.pro /usr/lib/qt3/mkspecs/default/qmake.conf | ||
116 | $(QMAKE) -o iSiloCodec.mak iSiloCodec.pro | ||
117 | qmake: | ||
118 | @$(QMAKE) -o iSiloCodec.mak iSiloCodec.pro | ||
119 | |||
120 | dist: | ||
121 | @mkdir -p QREADEROBJS/iSilo && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) QREADEROBJS/iSilo/ && ( cd `dirname QREADEROBJS/iSilo` && $(TAR) iSilo.tar iSilo && $(GZIP) iSilo.tar ) && $(MOVE) `dirname QREADEROBJS/iSilo`/iSilo.tar.gz . && $(DEL_FILE) -r QREADEROBJS/iSilo | ||
122 | |||
123 | mocclean: | ||
124 | |||
125 | uiclean: | ||
126 | |||
127 | yaccclean: | ||
128 | lexclean: | ||
129 | clean: | ||
130 | -$(DEL_FILE) $(OBJECTS) | ||
131 | -$(DEL_FILE) *~ core *.core | ||
132 | |||
133 | |||
134 | ####### Sub-libraries | ||
135 | |||
136 | distclean: clean | ||
137 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET) $(TARGET) | ||
138 | -$(DEL_FILE) $(READERDIR)/codecs/$(TARGET0) $(READERDIR)/codecs/$(TARGET1) $(READERDIR)/codecs/$(TARGET2) $(TARGETA) | ||
139 | |||
140 | |||
141 | FORCE: | ||
142 | |||
143 | ####### Compile | ||
144 | |||
145 | QREADEROBJS/iSilo.o: iSilo.cpp iSilo.h \ | ||
146 | pdb.h \ | ||
147 | QREADERINC/useqpe.h \ | ||
148 | CExpander.h \ | ||
149 | config.h \ | ||
150 | StyleConsts.h \ | ||
151 | Markups.h \ | ||
152 | names.h \ | ||
153 | linktype.h \ | ||
154 | ustring.h | ||
155 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o QREADEROBJS/iSilo.o iSilo.cpp | ||
156 | |||
157 | ####### Install | ||
158 | |||
159 | install: all | ||
160 | |||
161 | uninstall: | ||
162 | |||