source: tools/FAD/ddd_for_fad/Makefile@ 254

Last change on this file since 254 was 248, checked in by dneise, 14 years ago
initial check in of FAD tools simple daq - simple command line interface to FAD will produce binary socket_x.dat files ddd_for_fad - simple GUI able to plot FAD raw data.
File size: 6.7 KB
Line 
1#############################################################################
2# Makefile for building: fad
3# Generated by qmake (2.01a) (Qt 4.5.2) on: Mo. Jun 21 13:49:18 2010
4# Project: fad.pro
5# Template: app
6# Command: /usr/bin/qmake -unix -o Makefile fad.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/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/usr/local/qwt-5.2.1-svn/include -I.
17LINK = g++
18LFLAGS = -Wl,-O1
19LIBS = $(SUBLIBS) -L/usr/lib -L/usr/local/qwt-5.2.1-svn/lib -lqwt -lQtGui -lQtNetwork -lQtCore -lpthread
20AR = ar cqs
21RANLIB =
22QMAKE = /usr/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 moc_GUI.cpp
47OBJECTS = Functions.o \
48 GUI.o \
49 moc_GUI.o
50DIST = /usr/share/qt4/mkspecs/common/g++.conf \
51 /usr/share/qt4/mkspecs/common/unix.conf \
52 /usr/share/qt4/mkspecs/common/linux.conf \
53 /usr/share/qt4/mkspecs/qconfig.pri \
54 /usr/share/qt4/mkspecs/features/qt_functions.prf \
55 /usr/share/qt4/mkspecs/features/qt_config.prf \
56 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
57 /usr/share/qt4/mkspecs/features/default_pre.prf \
58 /usr/share/qt4/mkspecs/features/release.prf \
59 /usr/share/qt4/mkspecs/features/default_post.prf \
60 /usr/share/qt4/mkspecs/features/warn_on.prf \
61 /usr/share/qt4/mkspecs/features/qt.prf \
62 /usr/share/qt4/mkspecs/features/unix/thread.prf \
63 /usr/share/qt4/mkspecs/features/moc.prf \
64 /usr/share/qt4/mkspecs/features/resources.prf \
65 /usr/share/qt4/mkspecs/features/uic.prf \
66 /usr/share/qt4/mkspecs/features/yacc.prf \
67 /usr/share/qt4/mkspecs/features/lex.prf \
68 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
69 fad.pro
70QMAKE_TARGET = fad
71DESTDIR =
72TARGET = fad
73
74first: all
75####### Implicit rules
76
77.SUFFIXES: .o .c .cpp .cc .cxx .C
78
79.cpp.o:
80 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
81
82.cc.o:
83 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
84
85.cxx.o:
86 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
87
88.C.o:
89 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
90
91.c.o:
92 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
93
94####### Build rules
95
96all: Makefile $(TARGET)
97
98$(TARGET): $(OBJECTS)
99 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
100
101Makefile: fad.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
102 /usr/share/qt4/mkspecs/common/unix.conf \
103 /usr/share/qt4/mkspecs/common/linux.conf \
104 /usr/share/qt4/mkspecs/qconfig.pri \
105 /usr/share/qt4/mkspecs/features/qt_functions.prf \
106 /usr/share/qt4/mkspecs/features/qt_config.prf \
107 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
108 /usr/share/qt4/mkspecs/features/default_pre.prf \
109 /usr/share/qt4/mkspecs/features/release.prf \
110 /usr/share/qt4/mkspecs/features/default_post.prf \
111 /usr/share/qt4/mkspecs/features/warn_on.prf \
112 /usr/share/qt4/mkspecs/features/qt.prf \
113 /usr/share/qt4/mkspecs/features/unix/thread.prf \
114 /usr/share/qt4/mkspecs/features/moc.prf \
115 /usr/share/qt4/mkspecs/features/resources.prf \
116 /usr/share/qt4/mkspecs/features/uic.prf \
117 /usr/share/qt4/mkspecs/features/yacc.prf \
118 /usr/share/qt4/mkspecs/features/lex.prf \
119 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
120 /usr/lib/libQtGui.prl \
121 /usr/lib/libQtNetwork.prl \
122 /usr/lib/libQtCore.prl
123 $(QMAKE) -unix -o Makefile fad.pro
124/usr/share/qt4/mkspecs/common/g++.conf:
125/usr/share/qt4/mkspecs/common/unix.conf:
126/usr/share/qt4/mkspecs/common/linux.conf:
127/usr/share/qt4/mkspecs/qconfig.pri:
128/usr/share/qt4/mkspecs/features/qt_functions.prf:
129/usr/share/qt4/mkspecs/features/qt_config.prf:
130/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
131/usr/share/qt4/mkspecs/features/default_pre.prf:
132/usr/share/qt4/mkspecs/features/release.prf:
133/usr/share/qt4/mkspecs/features/default_post.prf:
134/usr/share/qt4/mkspecs/features/warn_on.prf:
135/usr/share/qt4/mkspecs/features/qt.prf:
136/usr/share/qt4/mkspecs/features/unix/thread.prf:
137/usr/share/qt4/mkspecs/features/moc.prf:
138/usr/share/qt4/mkspecs/features/resources.prf:
139/usr/share/qt4/mkspecs/features/uic.prf:
140/usr/share/qt4/mkspecs/features/yacc.prf:
141/usr/share/qt4/mkspecs/features/lex.prf:
142/usr/share/qt4/mkspecs/features/include_source_dir.prf:
143/usr/lib/libQtGui.prl:
144/usr/lib/libQtNetwork.prl:
145/usr/lib/libQtCore.prl:
146qmake: FORCE
147 @$(QMAKE) -unix -o Makefile fad.pro
148
149dist:
150 @$(CHK_DIR_EXISTS) .tmp/fad1.0.0 || $(MKDIR) .tmp/fad1.0.0
151 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/fad1.0.0/ && $(COPY_FILE) --parents GUI.h .tmp/fad1.0.0/ && $(COPY_FILE) --parents Functions.cpp GUI.cpp .tmp/fad1.0.0/ && (cd `dirname .tmp/fad1.0.0` && $(TAR) fad1.0.0.tar fad1.0.0 && $(COMPRESS) fad1.0.0.tar) && $(MOVE) `dirname .tmp/fad1.0.0`/fad1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/fad1.0.0
152
153
154clean:compiler_clean
155 -$(DEL_FILE) $(OBJECTS)
156 -$(DEL_FILE) *~ core *.core
157
158
159####### Sub-libraries
160
161distclean: clean
162 -$(DEL_FILE) $(TARGET)
163 -$(DEL_FILE) Makefile
164
165
166mocclean: compiler_moc_header_clean compiler_moc_source_clean
167
168mocables: compiler_moc_header_make_all compiler_moc_source_make_all
169
170compiler_moc_header_make_all: moc_GUI.cpp
171compiler_moc_header_clean:
172 -$(DEL_FILE) moc_GUI.cpp
173moc_GUI.cpp: GUI.h
174 /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) GUI.h -o moc_GUI.cpp
175
176compiler_rcc_make_all:
177compiler_rcc_clean:
178compiler_image_collection_make_all: qmake_image_collection.cpp
179compiler_image_collection_clean:
180 -$(DEL_FILE) qmake_image_collection.cpp
181compiler_moc_source_make_all:
182compiler_moc_source_clean:
183compiler_uic_make_all:
184compiler_uic_clean:
185compiler_yacc_decl_make_all:
186compiler_yacc_decl_clean:
187compiler_yacc_impl_make_all:
188compiler_yacc_impl_clean:
189compiler_lex_make_all:
190compiler_lex_clean:
191compiler_clean: compiler_moc_header_clean
192
193####### Compile
194
195Functions.o: Functions.cpp GUI.h \
196 SocketClient.h \
197 ViewEvent.h
198 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Functions.o Functions.cpp
199
200GUI.o: GUI.cpp GUI.h
201 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o GUI.o GUI.cpp
202
203moc_GUI.o: moc_GUI.cpp
204 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_GUI.o moc_GUI.cpp
205
206####### Install
207
208install: FORCE
209
210uninstall: FORCE
211
212FORCE:
213
Note: See TracBrowser for help on using the repository browser.