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