Rev 2294 Rev 3500
1 ############################################################################# 1 #############################################################################
2 # Makefile for building: qscope 2 # Makefile for building: qscope
3 # Generated by qmake (2.01a) (Qt 4.7.4) on: so 11 12 19:21:14 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_WEBKIT -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 = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) 14 CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) 15 CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
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. 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 = -m64 -Wl,-O1 18 LFLAGS = -m64 -Wl,-O1
19 LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -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_webkit_version.pri \ 55 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
56 /usr/share/qt4/mkspecs/features/qt_functions.prf \ 56 /usr/share/qt4/mkspecs/features/qt_functions.prf \
57 /usr/share/qt4/mkspecs/features/qt_config.prf \ 57 /usr/share/qt4/mkspecs/features/qt_config.prf \
58 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ 58 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
59 /usr/share/qt4/mkspecs/features/default_pre.prf \ 59 /usr/share/qt4/mkspecs/features/default_pre.prf \
60 /usr/share/qt4/mkspecs/features/release.prf \ 60 /usr/share/qt4/mkspecs/features/release.prf \
61 /usr/share/qt4/mkspecs/features/default_post.prf \ 61 /usr/share/qt4/mkspecs/features/default_post.prf \
62 /usr/share/qt4/mkspecs/features/warn_on.prf \ 62 /usr/share/qt4/mkspecs/features/warn_on.prf \
63 /usr/share/qt4/mkspecs/features/qt.prf \ 63 /usr/share/qt4/mkspecs/features/qt.prf \
64 /usr/share/qt4/mkspecs/features/unix/thread.prf \ 64 /usr/share/qt4/mkspecs/features/unix/thread.prf \
65 /usr/share/qt4/mkspecs/features/moc.prf \ 65 /usr/share/qt4/mkspecs/features/moc.prf \
66 /usr/share/qt4/mkspecs/features/resources.prf \ 66 /usr/share/qt4/mkspecs/features/resources.prf \
67 /usr/share/qt4/mkspecs/features/uic.prf \ 67 /usr/share/qt4/mkspecs/features/uic.prf \
68 /usr/share/qt4/mkspecs/features/yacc.prf \ 68 /usr/share/qt4/mkspecs/features/yacc.prf \
69 /usr/share/qt4/mkspecs/features/lex.prf \ 69 /usr/share/qt4/mkspecs/features/lex.prf \
70 /usr/share/qt4/mkspecs/features/include_source_dir.prf \ 70 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
71 qscope.pro 71 qscope.pro
72 QMAKE_TARGET = qscope 72 QMAKE_TARGET = qscope
73 DESTDIR = 73 DESTDIR =
74 TARGET = qscope 74 TARGET = qscope
75   75  
76 first: all 76 first: all
77 ####### Implicit rules 77 ####### Implicit rules
78   78  
79 .SUFFIXES: .o .c .cpp .cc .cxx .C 79 .SUFFIXES: .o .c .cpp .cc .cxx .C
80   80  
81 .cpp.o: 81 .cpp.o:
82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" 82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83   83  
84 .cc.o: 84 .cc.o:
85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" 85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86   86  
87 .cxx.o: 87 .cxx.o:
88 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" 88 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89   89  
90 .C.o: 90 .C.o:
91 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" 91 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92   92  
93 .c.o: 93 .c.o:
94 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" 94 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
95   95  
96 ####### Build rules 96 ####### Build rules
97   97  
98 all: Makefile $(TARGET) 98 all: Makefile $(TARGET)
99   99  
100 $(TARGET): $(OBJECTS) 100 $(TARGET): $(OBJECTS)
101 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) 101 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
102   102  
103 Makefile: qscope.pro /usr/share/qt4/mkspecs/linux-g++-64/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 \
104 /usr/share/qt4/mkspecs/common/unix.conf \ 104 /usr/share/qt4/mkspecs/common/unix.conf \
105 /usr/share/qt4/mkspecs/common/linux.conf \ 105 /usr/share/qt4/mkspecs/common/linux.conf \
106 /usr/share/qt4/mkspecs/qconfig.pri \ 106 /usr/share/qt4/mkspecs/qconfig.pri \
107 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \ 107 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
108 /usr/share/qt4/mkspecs/features/qt_functions.prf \ 108 /usr/share/qt4/mkspecs/features/qt_functions.prf \
109 /usr/share/qt4/mkspecs/features/qt_config.prf \ 109 /usr/share/qt4/mkspecs/features/qt_config.prf \
110 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ 110 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
111 /usr/share/qt4/mkspecs/features/default_pre.prf \ 111 /usr/share/qt4/mkspecs/features/default_pre.prf \
112 /usr/share/qt4/mkspecs/features/release.prf \ 112 /usr/share/qt4/mkspecs/features/release.prf \
113 /usr/share/qt4/mkspecs/features/default_post.prf \ 113 /usr/share/qt4/mkspecs/features/default_post.prf \
114 /usr/share/qt4/mkspecs/features/warn_on.prf \ 114 /usr/share/qt4/mkspecs/features/warn_on.prf \
115 /usr/share/qt4/mkspecs/features/qt.prf \ 115 /usr/share/qt4/mkspecs/features/qt.prf \
116 /usr/share/qt4/mkspecs/features/unix/thread.prf \ 116 /usr/share/qt4/mkspecs/features/unix/thread.prf \
117 /usr/share/qt4/mkspecs/features/moc.prf \ 117 /usr/share/qt4/mkspecs/features/moc.prf \
118 /usr/share/qt4/mkspecs/features/resources.prf \ 118 /usr/share/qt4/mkspecs/features/resources.prf \
119 /usr/share/qt4/mkspecs/features/uic.prf \ 119 /usr/share/qt4/mkspecs/features/uic.prf \
120 /usr/share/qt4/mkspecs/features/yacc.prf \ 120 /usr/share/qt4/mkspecs/features/yacc.prf \
121 /usr/share/qt4/mkspecs/features/lex.prf \ 121 /usr/share/qt4/mkspecs/features/lex.prf \
122 /usr/share/qt4/mkspecs/features/include_source_dir.prf \ 122 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
123 /usr/lib/x86_64-linux-gnu/libQtGui.prl \ 123 /usr/lib/x86_64-linux-gnu/libQtGui.prl \
124 /usr/lib/x86_64-linux-gnu/libQtCore.prl 124 /usr/lib/x86_64-linux-gnu/libQtCore.prl
125 $(QMAKE) -o Makefile qscope.pro 125 $(QMAKE) -o Makefile qscope.pro
126 /usr/share/qt4/mkspecs/common/g++.conf: 126 /usr/share/qt4/mkspecs/common/g++.conf:
127 /usr/share/qt4/mkspecs/common/unix.conf: 127 /usr/share/qt4/mkspecs/common/unix.conf:
128 /usr/share/qt4/mkspecs/common/linux.conf: 128 /usr/share/qt4/mkspecs/common/linux.conf:
129 /usr/share/qt4/mkspecs/qconfig.pri: 129 /usr/share/qt4/mkspecs/qconfig.pri:
130 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri: 130 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
131 /usr/share/qt4/mkspecs/features/qt_functions.prf: 131 /usr/share/qt4/mkspecs/features/qt_functions.prf:
132 /usr/share/qt4/mkspecs/features/qt_config.prf: 132 /usr/share/qt4/mkspecs/features/qt_config.prf:
133 /usr/share/qt4/mkspecs/features/exclusive_builds.prf: 133 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
134 /usr/share/qt4/mkspecs/features/default_pre.prf: 134 /usr/share/qt4/mkspecs/features/default_pre.prf:
135 /usr/share/qt4/mkspecs/features/release.prf: 135 /usr/share/qt4/mkspecs/features/release.prf:
136 /usr/share/qt4/mkspecs/features/default_post.prf: 136 /usr/share/qt4/mkspecs/features/default_post.prf:
137 /usr/share/qt4/mkspecs/features/warn_on.prf: 137 /usr/share/qt4/mkspecs/features/warn_on.prf:
138 /usr/share/qt4/mkspecs/features/qt.prf: 138 /usr/share/qt4/mkspecs/features/qt.prf:
139 /usr/share/qt4/mkspecs/features/unix/thread.prf: 139 /usr/share/qt4/mkspecs/features/unix/thread.prf:
140 /usr/share/qt4/mkspecs/features/moc.prf: 140 /usr/share/qt4/mkspecs/features/moc.prf:
141 /usr/share/qt4/mkspecs/features/resources.prf: 141 /usr/share/qt4/mkspecs/features/resources.prf:
142 /usr/share/qt4/mkspecs/features/uic.prf: 142 /usr/share/qt4/mkspecs/features/uic.prf:
143 /usr/share/qt4/mkspecs/features/yacc.prf: 143 /usr/share/qt4/mkspecs/features/yacc.prf:
144 /usr/share/qt4/mkspecs/features/lex.prf: 144 /usr/share/qt4/mkspecs/features/lex.prf:
145 /usr/share/qt4/mkspecs/features/include_source_dir.prf: 145 /usr/share/qt4/mkspecs/features/include_source_dir.prf:
146 /usr/lib/x86_64-linux-gnu/libQtGui.prl: 146 /usr/lib/x86_64-linux-gnu/libQtGui.prl:
147 /usr/lib/x86_64-linux-gnu/libQtCore.prl: 147 /usr/lib/x86_64-linux-gnu/libQtCore.prl:
148 qmake: FORCE 148 qmake: FORCE
149 @$(QMAKE) -o Makefile qscope.pro 149 @$(QMAKE) -o Makefile qscope.pro
150   150  
151 dist: 151 dist:
152 @$(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
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 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
154   154  
155   155  
156 clean:compiler_clean 156 clean:compiler_clean
157 -$(DEL_FILE) $(OBJECTS) 157 -$(DEL_FILE) $(OBJECTS)
158 -$(DEL_FILE) *~ core *.core 158 -$(DEL_FILE) *~ core *.core
159   159  
160   160  
161 ####### Sub-libraries 161 ####### Sub-libraries
162   162  
163 distclean: clean 163 distclean: clean
164 -$(DEL_FILE) $(TARGET) 164 -$(DEL_FILE) $(TARGET)
165 -$(DEL_FILE) Makefile 165 -$(DEL_FILE) Makefile
166   166  
167   167  
168 check: first 168 check: first
169   169  
170 mocclean: compiler_moc_header_clean compiler_moc_source_clean 170 mocclean: compiler_moc_header_clean compiler_moc_source_clean
171   171  
172 mocables: compiler_moc_header_make_all compiler_moc_source_make_all 172 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
173   173  
174 compiler_moc_header_make_all: moc_scope.cpp 174 compiler_moc_header_make_all: moc_scope.cpp
175 compiler_moc_header_clean: 175 compiler_moc_header_clean:
176 -$(DEL_FILE) moc_scope.cpp 176 -$(DEL_FILE) moc_scope.cpp
177 moc_scope.cpp: scope.h 177 moc_scope.cpp: scope.h
178 /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) scope.h -o moc_scope.cpp 178 /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) scope.h -o moc_scope.cpp
179   179  
180 compiler_rcc_make_all: 180 compiler_rcc_make_all:
181 compiler_rcc_clean: 181 compiler_rcc_clean:
182 compiler_image_collection_make_all: qmake_image_collection.cpp 182 compiler_image_collection_make_all: qmake_image_collection.cpp
183 compiler_image_collection_clean: 183 compiler_image_collection_clean:
184 -$(DEL_FILE) qmake_image_collection.cpp 184 -$(DEL_FILE) qmake_image_collection.cpp
185 compiler_moc_source_make_all: 185 compiler_moc_source_make_all:
186 compiler_moc_source_clean: 186 compiler_moc_source_clean:
187 compiler_uic_make_all: 187 compiler_uic_make_all:
188 compiler_uic_clean: 188 compiler_uic_clean:
189 compiler_yacc_decl_make_all: 189 compiler_yacc_decl_make_all:
190 compiler_yacc_decl_clean: 190 compiler_yacc_decl_clean:
191 compiler_yacc_impl_make_all: 191 compiler_yacc_impl_make_all:
192 compiler_yacc_impl_clean: 192 compiler_yacc_impl_clean:
193 compiler_lex_make_all: 193 compiler_lex_make_all:
194 compiler_lex_clean: 194 compiler_lex_clean:
195 compiler_clean: compiler_moc_header_clean 195 compiler_clean: compiler_moc_header_clean
196   196  
197 ####### Compile 197 ####### Compile
198   198  
199 main.o: main.cpp scope.h 199 main.o: main.cpp scope.h
200 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp 200 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
201   201  
202 scope.o: scope.cpp scope.h 202 scope.o: scope.cpp scope.h
203 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o scope.o scope.cpp 203 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o scope.o scope.cpp
204   204  
205 moc_scope.o: moc_scope.cpp 205 moc_scope.o: moc_scope.cpp
206 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_scope.o moc_scope.cpp 206 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_scope.o moc_scope.cpp
207   207  
208 ####### Install 208 ####### Install
209   209  
210 install: FORCE 210 install: FORCE
211   211  
212 uninstall: FORCE 212 uninstall: FORCE
213   213  
214 FORCE: 214 FORCE:
215   215