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