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