1 | ############################################################################# |
---|
2 | # Makefile for building: qshare |
---|
3 | # Generated by qmake (2.01a) (Qt 4.7.2) on: czw. sty 26 13:58:09 2012 |
---|
4 | # Project: qshare.pro |
---|
5 | # Template: app |
---|
6 | # Command: /usr/bin/qmake -o Makefile qshare.pro |
---|
7 | ############################################################################# |
---|
8 | |
---|
9 | ####### Compiler, tools and options |
---|
10 | |
---|
11 | CC = gcc |
---|
12 | CXX = g++ |
---|
13 | DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
---|
14 | CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
---|
15 | CXXFLAGS = -pipe -DDXT_INTR -O2 -Wall -W -D_REENTRANT $(DEFINES) |
---|
16 | INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IFastDXT -I../../include -I. -I. |
---|
17 | LINK = g++ |
---|
18 | LFLAGS = -Wl,-O1 |
---|
19 | LIBS = $(SUBLIBS) -L/usr/lib -L../../lib -lsail -lquanta -lQtGui -lQtCore -lpthread |
---|
20 | AR = ar cqs |
---|
21 | RANLIB = |
---|
22 | QMAKE = /usr/bin/qmake |
---|
23 | TAR = tar -cf |
---|
24 | COMPRESS = gzip -9f |
---|
25 | COPY = cp -f |
---|
26 | SED = sed |
---|
27 | COPY_FILE = $(COPY) |
---|
28 | COPY_DIR = $(COPY) -r |
---|
29 | STRIP = strip |
---|
30 | INSTALL_FILE = install -m 644 -p |
---|
31 | INSTALL_DIR = $(COPY_DIR) |
---|
32 | INSTALL_PROGRAM = install -m 755 -p |
---|
33 | DEL_FILE = rm -f |
---|
34 | SYMLINK = ln -f -s |
---|
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 = ./ |
---|
43 | |
---|
44 | ####### Files |
---|
45 | |
---|
46 | SOURCES = main.cpp \ |
---|
47 | capturewindow.cpp \ |
---|
48 | FastDXT/libdxt.cpp \ |
---|
49 | FastDXT/dxt.cpp \ |
---|
50 | FastDXT/util.cpp \ |
---|
51 | FastDXT/intrinsic.cpp moc_capturewindow.cpp |
---|
52 | OBJECTS = main.o \ |
---|
53 | capturewindow.o \ |
---|
54 | libdxt.o \ |
---|
55 | dxt.o \ |
---|
56 | util.o \ |
---|
57 | intrinsic.o \ |
---|
58 | moc_capturewindow.o |
---|
59 | DIST = /usr/share/qt4/mkspecs/common/g++.conf \ |
---|
60 | /usr/share/qt4/mkspecs/common/unix.conf \ |
---|
61 | /usr/share/qt4/mkspecs/common/linux.conf \ |
---|
62 | /usr/share/qt4/mkspecs/qconfig.pri \ |
---|
63 | /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
---|
64 | /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
---|
65 | /usr/share/qt4/mkspecs/features/qt_config.prf \ |
---|
66 | /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
---|
67 | /usr/share/qt4/mkspecs/features/default_pre.prf \ |
---|
68 | /usr/share/qt4/mkspecs/features/release.prf \ |
---|
69 | /usr/share/qt4/mkspecs/features/default_post.prf \ |
---|
70 | /usr/share/qt4/mkspecs/features/warn_on.prf \ |
---|
71 | /usr/share/qt4/mkspecs/features/qt.prf \ |
---|
72 | /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
---|
73 | /usr/share/qt4/mkspecs/features/moc.prf \ |
---|
74 | /usr/share/qt4/mkspecs/features/resources.prf \ |
---|
75 | /usr/share/qt4/mkspecs/features/uic.prf \ |
---|
76 | /usr/share/qt4/mkspecs/features/yacc.prf \ |
---|
77 | /usr/share/qt4/mkspecs/features/lex.prf \ |
---|
78 | /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
---|
79 | qshare.pro |
---|
80 | QMAKE_TARGET = qshare |
---|
81 | DESTDIR = |
---|
82 | TARGET = qshare |
---|
83 | |
---|
84 | first: all |
---|
85 | ####### Implicit rules |
---|
86 | |
---|
87 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
---|
88 | |
---|
89 | .cpp.o: |
---|
90 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
91 | |
---|
92 | .cc.o: |
---|
93 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
94 | |
---|
95 | .cxx.o: |
---|
96 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
97 | |
---|
98 | .C.o: |
---|
99 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
---|
100 | |
---|
101 | .c.o: |
---|
102 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
---|
103 | |
---|
104 | ####### Build rules |
---|
105 | |
---|
106 | all: Makefile $(TARGET) |
---|
107 | |
---|
108 | $(TARGET): ui_capturewindow.h $(OBJECTS) |
---|
109 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
---|
110 | |
---|
111 | Makefile: qshare.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ |
---|
112 | /usr/share/qt4/mkspecs/common/unix.conf \ |
---|
113 | /usr/share/qt4/mkspecs/common/linux.conf \ |
---|
114 | /usr/share/qt4/mkspecs/qconfig.pri \ |
---|
115 | /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ |
---|
116 | /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
---|
117 | /usr/share/qt4/mkspecs/features/qt_config.prf \ |
---|
118 | /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
---|
119 | /usr/share/qt4/mkspecs/features/default_pre.prf \ |
---|
120 | /usr/share/qt4/mkspecs/features/release.prf \ |
---|
121 | /usr/share/qt4/mkspecs/features/default_post.prf \ |
---|
122 | /usr/share/qt4/mkspecs/features/warn_on.prf \ |
---|
123 | /usr/share/qt4/mkspecs/features/qt.prf \ |
---|
124 | /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
---|
125 | /usr/share/qt4/mkspecs/features/moc.prf \ |
---|
126 | /usr/share/qt4/mkspecs/features/resources.prf \ |
---|
127 | /usr/share/qt4/mkspecs/features/uic.prf \ |
---|
128 | /usr/share/qt4/mkspecs/features/yacc.prf \ |
---|
129 | /usr/share/qt4/mkspecs/features/lex.prf \ |
---|
130 | /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
---|
131 | /usr/lib/libQtGui.prl \ |
---|
132 | /usr/lib/libQtCore.prl |
---|
133 | $(QMAKE) -o Makefile qshare.pro |
---|
134 | /usr/share/qt4/mkspecs/common/g++.conf: |
---|
135 | /usr/share/qt4/mkspecs/common/unix.conf: |
---|
136 | /usr/share/qt4/mkspecs/common/linux.conf: |
---|
137 | /usr/share/qt4/mkspecs/qconfig.pri: |
---|
138 | /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: |
---|
139 | /usr/share/qt4/mkspecs/features/qt_functions.prf: |
---|
140 | /usr/share/qt4/mkspecs/features/qt_config.prf: |
---|
141 | /usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
---|
142 | /usr/share/qt4/mkspecs/features/default_pre.prf: |
---|
143 | /usr/share/qt4/mkspecs/features/release.prf: |
---|
144 | /usr/share/qt4/mkspecs/features/default_post.prf: |
---|
145 | /usr/share/qt4/mkspecs/features/warn_on.prf: |
---|
146 | /usr/share/qt4/mkspecs/features/qt.prf: |
---|
147 | /usr/share/qt4/mkspecs/features/unix/thread.prf: |
---|
148 | /usr/share/qt4/mkspecs/features/moc.prf: |
---|
149 | /usr/share/qt4/mkspecs/features/resources.prf: |
---|
150 | /usr/share/qt4/mkspecs/features/uic.prf: |
---|
151 | /usr/share/qt4/mkspecs/features/yacc.prf: |
---|
152 | /usr/share/qt4/mkspecs/features/lex.prf: |
---|
153 | /usr/share/qt4/mkspecs/features/include_source_dir.prf: |
---|
154 | /usr/lib/libQtGui.prl: |
---|
155 | /usr/lib/libQtCore.prl: |
---|
156 | qmake: FORCE |
---|
157 | @$(QMAKE) -o Makefile qshare.pro |
---|
158 | |
---|
159 | dist: |
---|
160 | @$(CHK_DIR_EXISTS) .tmp/qshare1.0.0 || $(MKDIR) .tmp/qshare1.0.0 |
---|
161 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qshare1.0.0/ && $(COPY_FILE) --parents capturewindow.h .tmp/qshare1.0.0/ && $(COPY_FILE) --parents main.cpp capturewindow.cpp FastDXT/libdxt.cpp FastDXT/dxt.cpp FastDXT/util.cpp FastDXT/intrinsic.cpp .tmp/qshare1.0.0/ && $(COPY_FILE) --parents capturewindow.ui .tmp/qshare1.0.0/ && (cd `dirname .tmp/qshare1.0.0` && $(TAR) qshare1.0.0.tar qshare1.0.0 && $(COMPRESS) qshare1.0.0.tar) && $(MOVE) `dirname .tmp/qshare1.0.0`/qshare1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qshare1.0.0 |
---|
162 | |
---|
163 | |
---|
164 | clean:compiler_clean |
---|
165 | -$(DEL_FILE) $(OBJECTS) |
---|
166 | -$(DEL_FILE) *~ core *.core |
---|
167 | |
---|
168 | |
---|
169 | ####### Sub-libraries |
---|
170 | |
---|
171 | distclean: clean |
---|
172 | -$(DEL_FILE) $(TARGET) |
---|
173 | -$(DEL_FILE) Makefile |
---|
174 | |
---|
175 | |
---|
176 | check: first |
---|
177 | |
---|
178 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
---|
179 | |
---|
180 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
---|
181 | |
---|
182 | compiler_moc_header_make_all: moc_capturewindow.cpp |
---|
183 | compiler_moc_header_clean: |
---|
184 | -$(DEL_FILE) moc_capturewindow.cpp |
---|
185 | moc_capturewindow.cpp: ui_capturewindow.h \ |
---|
186 | capturewindow.h |
---|
187 | /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) capturewindow.h -o moc_capturewindow.cpp |
---|
188 | |
---|
189 | compiler_rcc_make_all: |
---|
190 | compiler_rcc_clean: |
---|
191 | compiler_image_collection_make_all: qmake_image_collection.cpp |
---|
192 | compiler_image_collection_clean: |
---|
193 | -$(DEL_FILE) qmake_image_collection.cpp |
---|
194 | compiler_moc_source_make_all: |
---|
195 | compiler_moc_source_clean: |
---|
196 | compiler_uic_make_all: ui_capturewindow.h |
---|
197 | compiler_uic_clean: |
---|
198 | -$(DEL_FILE) ui_capturewindow.h |
---|
199 | ui_capturewindow.h: capturewindow.ui |
---|
200 | /usr/bin/uic-qt4 capturewindow.ui -o ui_capturewindow.h |
---|
201 | |
---|
202 | compiler_yacc_decl_make_all: |
---|
203 | compiler_yacc_decl_clean: |
---|
204 | compiler_yacc_impl_make_all: |
---|
205 | compiler_yacc_impl_clean: |
---|
206 | compiler_lex_make_all: |
---|
207 | compiler_lex_clean: |
---|
208 | compiler_clean: compiler_moc_header_clean compiler_uic_clean |
---|
209 | |
---|
210 | ####### Compile |
---|
211 | |
---|
212 | main.o: main.cpp capturewindow.h \ |
---|
213 | ui_capturewindow.h |
---|
214 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
---|
215 | |
---|
216 | capturewindow.o: capturewindow.cpp capturewindow.h \ |
---|
217 | ui_capturewindow.h |
---|
218 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o capturewindow.o capturewindow.cpp |
---|
219 | |
---|
220 | libdxt.o: FastDXT/libdxt.cpp FastDXT/libdxt.h \ |
---|
221 | FastDXT/dxt.h \ |
---|
222 | FastDXT/util.h |
---|
223 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o libdxt.o FastDXT/libdxt.cpp |
---|
224 | |
---|
225 | dxt.o: FastDXT/dxt.cpp FastDXT/dxt.h \ |
---|
226 | FastDXT/util.h |
---|
227 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dxt.o FastDXT/dxt.cpp |
---|
228 | |
---|
229 | util.o: FastDXT/util.cpp FastDXT/util.h |
---|
230 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o util.o FastDXT/util.cpp |
---|
231 | |
---|
232 | intrinsic.o: FastDXT/intrinsic.cpp FastDXT/dxt.h |
---|
233 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o intrinsic.o FastDXT/intrinsic.cpp |
---|
234 | |
---|
235 | moc_capturewindow.o: moc_capturewindow.cpp |
---|
236 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_capturewindow.o moc_capturewindow.cpp |
---|
237 | |
---|
238 | ####### Install |
---|
239 | |
---|
240 | install_target: first FORCE |
---|
241 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/jawora/SAGE/experimental/app/qshare/../../bin/ || $(MKDIR) $(INSTALL_ROOT)/home/jawora/SAGE/experimental/app/qshare/../../bin/ |
---|
242 | -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/home/jawora/SAGE/experimental/bin/$(QMAKE_TARGET)" |
---|
243 | -$(STRIP) "$(INSTALL_ROOT)/home/jawora/SAGE/experimental/bin/$(QMAKE_TARGET)" |
---|
244 | |
---|
245 | uninstall_target: FORCE |
---|
246 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/jawora/SAGE/experimental/bin/$(QMAKE_TARGET)" |
---|
247 | -$(DEL_DIR) $(INSTALL_ROOT)/home/jawora/SAGE/experimental/app/qshare/../../bin/ |
---|
248 | |
---|
249 | |
---|
250 | install: install_target FORCE |
---|
251 | |
---|
252 | uninstall: uninstall_target FORCE |
---|
253 | |
---|
254 | FORCE: |
---|
255 | |
---|