1 | #############################################################################
|
---|
2 | # Makefile for building: ddd
|
---|
3 | # Generated by qmake (2.01a) (Qt 4.4.3) on: Tue Mar 24 08:02:04 2009
|
---|
4 | # Project: ddd.pro
|
---|
5 | # Template: app
|
---|
6 | # Command: /usr/local/Trolltech/Qt-4.4.3/bin/qmake -unix -o Makefile ddd.pro
|
---|
7 | #############################################################################
|
---|
8 |
|
---|
9 | ####### Compiler, tools and options
|
---|
10 |
|
---|
11 | CC = gcc
|
---|
12 | CXX = g++
|
---|
13 | DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
---|
14 | CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
---|
15 | CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
---|
16 | INCPATH = -I/usr/local/Trolltech/Qt-4.4.3/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.4.3/include/QtCore -I/usr/local/Trolltech/Qt-4.4.3/include/QtCore -I/usr/local/Trolltech/Qt-4.4.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.3/include/QtGui -I/usr/local/Trolltech/Qt-4.4.3/include/QtGui -I/usr/local/Trolltech/Qt-4.4.3/include -I. -I/usr/local/qwt-5.2.0/include -I. -I.
|
---|
17 | LINK = g++
|
---|
18 | LFLAGS = -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.3/lib
|
---|
19 | LIBS = $(SUBLIBS) -L/usr/local/qwt-5.2.0/lib -lqwt -L/usr/local/Trolltech/Qt-4.4.3/lib -lQtGui -L/usr/local/Trolltech/Qt-4.4.3/lib -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
|
---|
20 | AR = ar cqs
|
---|
21 | RANLIB =
|
---|
22 | QMAKE = /usr/local/Trolltech/Qt-4.4.3/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 | INSTALL_FILE = install -m 644 -p
|
---|
30 | INSTALL_DIR = $(COPY_DIR)
|
---|
31 | INSTALL_PROGRAM = install -m 755 -p
|
---|
32 | DEL_FILE = rm -f
|
---|
33 | SYMLINK = ln -sf
|
---|
34 | DEL_DIR = rmdir
|
---|
35 | MOVE = mv -f
|
---|
36 | CHK_DIR_EXISTS= test -d
|
---|
37 | MKDIR = mkdir -p
|
---|
38 |
|
---|
39 | ####### Output directory
|
---|
40 |
|
---|
41 | OBJECTS_DIR = ./
|
---|
42 |
|
---|
43 | ####### Files
|
---|
44 |
|
---|
45 | SOURCES = Functions.cpp \
|
---|
46 | GUI.cpp \
|
---|
47 | ../../pixelmap\Pixel.cc \
|
---|
48 | ../../pixelmap\PixelMap.cc \
|
---|
49 | ../../drsdaq/RawDataCTX.cc \
|
---|
50 | moc_GUI.cpp
|
---|
51 | OBJECTS = Functions.o \
|
---|
52 | GUI.o \
|
---|
53 | ../../pixelmap/Pixel.o \
|
---|
54 | ../../pixelmap/PixelMap.o \
|
---|
55 | ../../drsdaq/RawDataCTX.o \
|
---|
56 | moc_GUI.o
|
---|
57 | DIST = /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf \
|
---|
58 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf \
|
---|
59 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf \
|
---|
60 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri \
|
---|
61 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf \
|
---|
62 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf \
|
---|
63 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf \
|
---|
64 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf \
|
---|
65 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf \
|
---|
66 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf \
|
---|
67 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf \
|
---|
68 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf \
|
---|
69 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf \
|
---|
70 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf \
|
---|
71 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf \
|
---|
72 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf \
|
---|
73 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf \
|
---|
74 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf \
|
---|
75 | ddd.pro
|
---|
76 | QMAKE_TARGET = ddd
|
---|
77 | DESTDIR =
|
---|
78 | TARGET = ddd
|
---|
79 |
|
---|
80 | first: all
|
---|
81 | ####### Implicit rules
|
---|
82 |
|
---|
83 | .SUFFIXES: .o .c .cpp .cc .cxx .C
|
---|
84 |
|
---|
85 | .cpp.o:
|
---|
86 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
87 |
|
---|
88 | .cc.o:
|
---|
89 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
90 |
|
---|
91 | .cxx.o:
|
---|
92 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
93 |
|
---|
94 | .C.o:
|
---|
95 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
96 |
|
---|
97 | .c.o:
|
---|
98 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
---|
99 |
|
---|
100 | ####### Build rules
|
---|
101 |
|
---|
102 | all: Makefile $(TARGET)
|
---|
103 |
|
---|
104 | $(TARGET): $(OBJECTS)
|
---|
105 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
---|
106 |
|
---|
107 | Makefile: ddd.pro /usr/local/Trolltech/Qt-4.4.3/mkspecs/linux-g++/qmake.conf /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf \
|
---|
108 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf \
|
---|
109 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf \
|
---|
110 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri \
|
---|
111 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf \
|
---|
112 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf \
|
---|
113 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf \
|
---|
114 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf \
|
---|
115 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf \
|
---|
116 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf \
|
---|
117 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf \
|
---|
118 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf \
|
---|
119 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf \
|
---|
120 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf \
|
---|
121 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf \
|
---|
122 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf \
|
---|
123 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf \
|
---|
124 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf \
|
---|
125 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtGui.prl \
|
---|
126 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtCore.prl \
|
---|
127 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtNetwork.prl
|
---|
128 | $(QMAKE) -unix -o Makefile ddd.pro
|
---|
129 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/g++.conf:
|
---|
130 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/unix.conf:
|
---|
131 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/common/linux.conf:
|
---|
132 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/qconfig.pri:
|
---|
133 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_functions.prf:
|
---|
134 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt_config.prf:
|
---|
135 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/exclusive_builds.prf:
|
---|
136 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_pre.prf:
|
---|
137 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/release.prf:
|
---|
138 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/default_post.prf:
|
---|
139 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/warn_on.prf:
|
---|
140 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/qt.prf:
|
---|
141 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/unix/thread.prf:
|
---|
142 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/moc.prf:
|
---|
143 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/resources.prf:
|
---|
144 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/uic.prf:
|
---|
145 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/yacc.prf:
|
---|
146 | /usr/local/Trolltech/Qt-4.4.3/mkspecs/features/lex.prf:
|
---|
147 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtGui.prl:
|
---|
148 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtCore.prl:
|
---|
149 | /usr/local/Trolltech/Qt-4.4.3/lib/libQtNetwork.prl:
|
---|
150 | qmake: FORCE
|
---|
151 | @$(QMAKE) -unix -o Makefile ddd.pro
|
---|
152 |
|
---|
153 | dist:
|
---|
154 | @$(CHK_DIR_EXISTS) .tmp/ddd1.0.0 || $(MKDIR) .tmp/ddd1.0.0
|
---|
155 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ddd1.0.0/ && $(COPY_FILE) --parents GUI.h Pixel.h PixelMap.h RawDataCTX.h .tmp/ddd1.0.0/ && $(COPY_FILE) --parents Functions.cpp GUI.cpp Pixel.cc PixelMap.cc RawDataCTX.cc .tmp/ddd1.0.0/ && (cd `dirname .tmp/ddd1.0.0` && $(TAR) ddd1.0.0.tar ddd1.0.0 && $(COMPRESS) ddd1.0.0.tar) && $(MOVE) `dirname .tmp/ddd1.0.0`/ddd1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/ddd1.0.0
|
---|
156 |
|
---|
157 |
|
---|
158 | clean:compiler_clean
|
---|
159 | -$(DEL_FILE) $(OBJECTS)
|
---|
160 | -$(DEL_FILE) *~ core *.core
|
---|
161 |
|
---|
162 |
|
---|
163 | ####### Sub-libraries
|
---|
164 |
|
---|
165 | distclean: clean
|
---|
166 | -$(DEL_FILE) $(TARGET)
|
---|
167 | -$(DEL_FILE) Makefile
|
---|
168 |
|
---|
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_GUI.cpp
|
---|
175 | compiler_moc_header_clean:
|
---|
176 | -$(DEL_FILE) moc_GUI.cpp
|
---|
177 | moc_GUI.cpp: ../../drsdaq/RawDataCTX.h \
|
---|
178 | ../../pixelmap/PixelMap.h \
|
---|
179 | ../../pixelmap/Pixel.h \
|
---|
180 | GUI.h
|
---|
181 | /usr/local/Trolltech/Qt-4.4.3/bin/moc $(DEFINES) $(INCPATH) GUI.h -o moc_GUI.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 | Functions.o: Functions.cpp GUI.h \
|
---|
203 | ../../drsdaq/RawDataCTX.h \
|
---|
204 | ../../pixelmap/PixelMap.h \
|
---|
205 | ../../pixelmap/Pixel.h
|
---|
206 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Functions.o Functions.cpp
|
---|
207 |
|
---|
208 | GUI.o: GUI.cpp GUI.h \
|
---|
209 | ../../drsdaq/RawDataCTX.h \
|
---|
210 | ../../pixelmap/PixelMap.h \
|
---|
211 | ../../pixelmap/Pixel.h
|
---|
212 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o GUI.o GUI.cpp
|
---|
213 |
|
---|
214 | Pixel.o: ../../Pixel.cc ../../PixelMap.h \
|
---|
215 | ../../Pixel.h
|
---|
216 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Pixel.o Pixel.cc
|
---|
217 |
|
---|
218 | PixelMap.o: ../../pixelmap/PixelMap.cc ../../PixelMap.h \
|
---|
219 | ../../Pixel.h
|
---|
220 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o PixelMap.o PixelMap.cc
|
---|
221 |
|
---|
222 | RawDataCTX.o: ../../drsdaq/RawDataCTX.cc ../../drsdaq/RawDataCTX.h
|
---|
223 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o RawDataCTX.o RawDataCTX.cc
|
---|
224 |
|
---|
225 | moc_GUI.o: moc_GUI.cpp
|
---|
226 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_GUI.o moc_GUI.cpp
|
---|
227 |
|
---|
228 | ####### Install
|
---|
229 |
|
---|
230 | install: FORCE
|
---|
231 |
|
---|
232 | uninstall: FORCE
|
---|
233 |
|
---|
234 | FORCE:
|
---|
235 |
|
---|