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 |
|
---|
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/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.
|
---|
17 | LINK = g++
|
---|
18 | LFLAGS = -Wl,-O1
|
---|
19 | LIBS = $(SUBLIBS) -L/usr/lib -L/usr/local/qwt-5.2.1-svn/lib -lqwt -lQtGui -lQtNetwork -lQtCore -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 | 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 moc_GUI.cpp
|
---|
47 | OBJECTS = Functions.o \
|
---|
48 | GUI.o \
|
---|
49 | moc_GUI.o
|
---|
50 | DIST = /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
|
---|
70 | QMAKE_TARGET = fad
|
---|
71 | DESTDIR =
|
---|
72 | TARGET = fad
|
---|
73 |
|
---|
74 | first: 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 |
|
---|
96 | all: Makefile $(TARGET)
|
---|
97 |
|
---|
98 | $(TARGET): $(OBJECTS)
|
---|
99 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
---|
100 |
|
---|
101 | Makefile: 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:
|
---|
146 | qmake: FORCE
|
---|
147 | @$(QMAKE) -unix -o Makefile fad.pro
|
---|
148 |
|
---|
149 | dist:
|
---|
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 |
|
---|
154 | clean:compiler_clean
|
---|
155 | -$(DEL_FILE) $(OBJECTS)
|
---|
156 | -$(DEL_FILE) *~ core *.core
|
---|
157 |
|
---|
158 |
|
---|
159 | ####### Sub-libraries
|
---|
160 |
|
---|
161 | distclean: clean
|
---|
162 | -$(DEL_FILE) $(TARGET)
|
---|
163 | -$(DEL_FILE) Makefile
|
---|
164 |
|
---|
165 |
|
---|
166 | mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
---|
167 |
|
---|
168 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
---|
169 |
|
---|
170 | compiler_moc_header_make_all: moc_GUI.cpp
|
---|
171 | compiler_moc_header_clean:
|
---|
172 | -$(DEL_FILE) moc_GUI.cpp
|
---|
173 | moc_GUI.cpp: GUI.h
|
---|
174 | /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) GUI.h -o moc_GUI.cpp
|
---|
175 |
|
---|
176 | compiler_rcc_make_all:
|
---|
177 | compiler_rcc_clean:
|
---|
178 | compiler_image_collection_make_all: qmake_image_collection.cpp
|
---|
179 | compiler_image_collection_clean:
|
---|
180 | -$(DEL_FILE) qmake_image_collection.cpp
|
---|
181 | compiler_moc_source_make_all:
|
---|
182 | compiler_moc_source_clean:
|
---|
183 | compiler_uic_make_all:
|
---|
184 | compiler_uic_clean:
|
---|
185 | compiler_yacc_decl_make_all:
|
---|
186 | compiler_yacc_decl_clean:
|
---|
187 | compiler_yacc_impl_make_all:
|
---|
188 | compiler_yacc_impl_clean:
|
---|
189 | compiler_lex_make_all:
|
---|
190 | compiler_lex_clean:
|
---|
191 | compiler_clean: compiler_moc_header_clean
|
---|
192 |
|
---|
193 | ####### Compile
|
---|
194 |
|
---|
195 | Functions.o: Functions.cpp GUI.h \
|
---|
196 | SocketClient.h \
|
---|
197 | ViewEvent.h
|
---|
198 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o Functions.o Functions.cpp
|
---|
199 |
|
---|
200 | GUI.o: GUI.cpp GUI.h
|
---|
201 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o GUI.o GUI.cpp
|
---|
202 |
|
---|
203 | moc_GUI.o: moc_GUI.cpp
|
---|
204 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_GUI.o moc_GUI.cpp
|
---|
205 |
|
---|
206 | ####### Install
|
---|
207 |
|
---|
208 | install: FORCE
|
---|
209 |
|
---|
210 | uninstall: FORCE
|
---|
211 |
|
---|
212 | FORCE:
|
---|
213 |
|
---|