source: tools/ddd/Makefile@ 32

Last change on this file since 32 was 30, checked in by ogrimm, 16 years ago
Added local ignore for QT-generated compiler files
File size: 8.9 KB
Line 
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
11CC = gcc
12CXX = g++
13DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16INCPATH = -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.
17LINK = g++
18LFLAGS = -Wl,-rpath,/usr/local/Trolltech/Qt-4.4.3/lib
19LIBS = $(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
20AR = ar cqs
21RANLIB =
22QMAKE = /usr/local/Trolltech/Qt-4.4.3/bin/qmake
23TAR = tar -cf
24COMPRESS = gzip -9f
25COPY = cp -f
26SED = sed
27COPY_FILE = $(COPY)
28COPY_DIR = $(COPY) -r
29INSTALL_FILE = install -m 644 -p
30INSTALL_DIR = $(COPY_DIR)
31INSTALL_PROGRAM = install -m 755 -p
32DEL_FILE = rm -f
33SYMLINK = ln -sf
34DEL_DIR = rmdir
35MOVE = mv -f
36CHK_DIR_EXISTS= test -d
37MKDIR = mkdir -p
38
39####### Output directory
40
41OBJECTS_DIR = ./
42
43####### Files
44
45SOURCES = Functions.cpp \
46 GUI.cpp \
47 ../../pixelmap\Pixel.cc \
48 ../../pixelmap\PixelMap.cc \
49 ../../drsdaq/RawDataCTX.cc \
50 moc_GUI.cpp
51OBJECTS = Functions.o \
52 GUI.o \
53 ../../pixelmap/Pixel.o \
54 ../../pixelmap/PixelMap.o \
55 ../../drsdaq/RawDataCTX.o \
56 moc_GUI.o
57DIST = /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
76QMAKE_TARGET = ddd
77DESTDIR =
78TARGET = ddd
79
80first: 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
102all: Makefile $(TARGET)
103
104$(TARGET): $(OBJECTS)
105 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
106
107Makefile: 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:
150qmake: FORCE
151 @$(QMAKE) -unix -o Makefile ddd.pro
152
153dist:
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
158clean:compiler_clean
159 -$(DEL_FILE) $(OBJECTS)
160 -$(DEL_FILE) *~ core *.core
161
162
163####### Sub-libraries
164
165distclean: clean
166 -$(DEL_FILE) $(TARGET)
167 -$(DEL_FILE) Makefile
168
169
170mocclean: compiler_moc_header_clean compiler_moc_source_clean
171
172mocables: compiler_moc_header_make_all compiler_moc_source_make_all
173
174compiler_moc_header_make_all: moc_GUI.cpp
175compiler_moc_header_clean:
176 -$(DEL_FILE) moc_GUI.cpp
177moc_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
183compiler_rcc_make_all:
184compiler_rcc_clean:
185compiler_image_collection_make_all: qmake_image_collection.cpp
186compiler_image_collection_clean:
187 -$(DEL_FILE) qmake_image_collection.cpp
188compiler_moc_source_make_all:
189compiler_moc_source_clean:
190compiler_uic_make_all:
191compiler_uic_clean:
192compiler_yacc_decl_make_all:
193compiler_yacc_decl_clean:
194compiler_yacc_impl_make_all:
195compiler_yacc_impl_clean:
196compiler_lex_make_all:
197compiler_lex_clean:
198compiler_clean: compiler_moc_header_clean
199
200####### Compile
201
202Functions.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
208GUI.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
214Pixel.o: ../../Pixel.cc ../../PixelMap.h \
215 ../../Pixel.h
216 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Pixel.o Pixel.cc
217
218PixelMap.o: ../../pixelmap/PixelMap.cc ../../PixelMap.h \
219 ../../Pixel.h
220 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o PixelMap.o PixelMap.cc
221
222RawDataCTX.o: ../../drsdaq/RawDataCTX.cc ../../drsdaq/RawDataCTX.h
223 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o RawDataCTX.o RawDataCTX.cc
224
225moc_GUI.o: moc_GUI.cpp
226 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_GUI.o moc_GUI.cpp
227
228####### Install
229
230install: FORCE
231
232uninstall: FORCE
233
234FORCE:
235
Note: See TracBrowser for help on using the repository browser.