Makefile 12 KB
Newer Older
Lucio Zambon's avatar
Lucio Zambon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
#############################################################################
# Makefile for building: bin/okintck_vlv_pfe_f02_07
# Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Mar 2 14:10:48 2018
# Project:  okintck_vlv_pfe_f02_07.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile okintck_vlv_pfe_f02_07.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DQT_NO_DEBUG_OUTPUT -DQTANGO_PRINTINFO -DQTANGO_VERSION_STR="\"6.4.4\"" -DQTANGO_VERSION=0x060404 -DVER_MAJ=6 -DVER_MIN=4 -DVER_FIX=4 -D__x86__ -D__linux__ -D__OSVERSION__=2 -DQT_SHARED -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS        = -pipe -g -std=c++0x -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -std=c++0x -Wall -g -std=c++0x -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/usr/local/qt-4.8.4/mkspecs/linux-g++ -I. -I/usr/local/qt-4.8.4/include/QtCore -I/usr/local/qt-4.8.4/include/QtGui -I/usr/local/qt-4.8.4/include/QtDBus -I/usr/local/qt-4.8.4/include -I/usr/local/qwt-6.1.3/include -I/usr/include/qwt -I/usr/local/qtango/include/qtango6 -I/usr/local/qwt-6.1.3/include -I/usr/include/qwt -I/usr/local/tango-9.2.5a/include/tango -I/usr/local/omniorb-4.2.1/include -I/usr/local/zeromq-4.0.7/include -I/usr/local/qt-4.8.4/include -I/usr/local/qt-4.8.4/include/QtSvg -I/usr/local/qt-4.8.4/include/QtOpenGL -Imoc -Isrc
LINK          = g++
LFLAGS        = -Wl,-rpath,/usr/local/qt-4.8.4/lib
LIBS          = $(SUBLIBS)  -L/usr/local/qt-4.8.4/lib -L/usr/local/qtango/lib -lQTangoDBus6 -lQTango6 -lQTangoCore6 -lqtcontrols6 -L/usr/local/tango-9.2.5a/lib -L/usr/local/omniorb-4.2.1/lib -L/usr/local/zeromq-4.0.7/lib -ltango -lomniDynamic4 -lCOS4 -llog4tango -lzmq -lomniORB4 -lomnithread -lX11 -L/usr/local/qwt-6.1.3/lib -L/usr/local/qt-4.8.4/lib -lqwt -lQtSvg -L/usr/X11R6/lib -lQtOpenGL -lQtDBus -lQtXml -lQtGui -lQtCore -lpthread 
AR            = ar cqs
RANLIB        = 
QMAKE         = /usr/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -rf
SYMLINK       = ln -f -s
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = objects/

####### Files

SOURCES       = src/okintck_vlv_pfe_f02_07.cpp \
		src/main.cpp moc/moc_okintck_vlv_pfe_f02_07.cpp
OBJECTS       = objects/okintck_vlv_pfe_f02_07.o \
		objects/main.o \
		objects/moc_okintck_vlv_pfe_f02_07.o
DIST          = /usr/local/qtango/include/qtango6/messages.pri \
		/usr/local/qt-4.8.4/mkspecs/common/unix.conf \
		/usr/local/qt-4.8.4/mkspecs/common/linux.conf \
		/usr/local/qt-4.8.4/mkspecs/common/gcc-base.conf \
		/usr/local/qt-4.8.4/mkspecs/common/gcc-base-unix.conf \
		/usr/local/qt-4.8.4/mkspecs/common/g++-base.conf \
		/usr/local/qt-4.8.4/mkspecs/common/g++-unix.conf \
		/usr/local/qt-4.8.4/mkspecs/qconfig.pri \
		/usr/local/qt-4.8.4/mkspecs/modules/qt_webkit_version.pri \
		/usr/local/qt-4.8.4/mkspecs/features/qt_functions.prf \
		/usr/local/qt-4.8.4/mkspecs/features/qt_config.prf \
		/usr/local/qt-4.8.4/mkspecs/features/exclusive_builds.prf \
		/usr/local/qt-4.8.4/mkspecs/features/default_pre.prf \
		/usr/local/qtango/include/qtango6/qtango.pri \
		/usr/local/qt-4.8.4/mkspecs/features/debug.prf \
		/usr/local/qt-4.8.4/mkspecs/features/default_post.prf \
		/usr/local/qt-4.8.4/mkspecs/features/link_pkgconfig.prf \
		/usr/local/qt-4.8.4/mkspecs/features/unix/gdb_dwarf_index.prf \
		/usr/local/qt-4.8.4/mkspecs/features/warn_on.prf \
		/usr/local/qt-4.8.4/mkspecs/features/qt.prf \
		/usr/local/qt-4.8.4/mkspecs/features/moc.prf \
		/usr/local/qt-4.8.4/mkspecs/features/dbusinterfaces.prf \
		/usr/local/qt-4.8.4/mkspecs/features/dbusadaptors.prf \
		/usr/local/qt-4.8.4/mkspecs/features/unix/thread.prf \
		/usr/local/qt-4.8.4/mkspecs/features/resources.prf \
		/usr/local/qt-4.8.4/mkspecs/features/uic.prf \
		/usr/local/qt-4.8.4/mkspecs/features/yacc.prf \
		/usr/local/qt-4.8.4/mkspecs/features/lex.prf \
		okintck_vlv_pfe_f02_07.pro
QMAKE_TARGET  = okintck_vlv_pfe_f02_07
DESTDIR       = bin/
TARGET        = bin/okintck_vlv_pfe_f02_07

first: all
####### Implicit rules

.SUFFIXES: .o .c .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

$(TARGET): src/ui_okintck_vlv_pfe_f02_07.h $(OBJECTS)  
	@$(CHK_DIR_EXISTS) bin/ || $(MKDIR) bin/ 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
	{ test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -rf $(TARGET).gdb-index || true

Makefile: okintck_vlv_pfe_f02_07.pro  /usr/local/qt-4.8.4/mkspecs/linux-g++/qmake.conf /usr/local/qt-4.8.4/mkspecs/common/unix.conf \
		/usr/local/qt-4.8.4/mkspecs/common/linux.conf \
		/usr/local/qt-4.8.4/mkspecs/common/gcc-base.conf \
		/usr/local/qt-4.8.4/mkspecs/common/gcc-base-unix.conf \
		/usr/local/qt-4.8.4/mkspecs/common/g++-base.conf \
		/usr/local/qt-4.8.4/mkspecs/common/g++-unix.conf \
		/usr/local/qt-4.8.4/mkspecs/qconfig.pri \
		/usr/local/qt-4.8.4/mkspecs/modules/qt_webkit_version.pri \
		/usr/local/qt-4.8.4/mkspecs/features/qt_functions.prf \
		/usr/local/qt-4.8.4/mkspecs/features/qt_config.prf \
		/usr/local/qt-4.8.4/mkspecs/features/exclusive_builds.prf \
		/usr/local/qt-4.8.4/mkspecs/features/default_pre.prf \
		/usr/local/qtango/include/qtango6/qtango.pri \
		/usr/local/qt-4.8.4/mkspecs/features/debug.prf \
		/usr/local/qt-4.8.4/mkspecs/features/default_post.prf \
		/usr/local/qt-4.8.4/mkspecs/features/link_pkgconfig.prf \
		/usr/local/qt-4.8.4/mkspecs/features/unix/gdb_dwarf_index.prf \
		/usr/local/qt-4.8.4/mkspecs/features/warn_on.prf \
		/usr/local/qt-4.8.4/mkspecs/features/qt.prf \
		/usr/local/qt-4.8.4/mkspecs/features/moc.prf \
		/usr/local/qt-4.8.4/mkspecs/features/dbusinterfaces.prf \
		/usr/local/qt-4.8.4/mkspecs/features/dbusadaptors.prf \
		/usr/local/qt-4.8.4/mkspecs/features/unix/thread.prf \
		/usr/local/qt-4.8.4/mkspecs/features/resources.prf \
		/usr/local/qt-4.8.4/mkspecs/features/uic.prf \
		/usr/local/qt-4.8.4/mkspecs/features/yacc.prf \
		/usr/local/qt-4.8.4/mkspecs/features/lex.prf \
		/usr/local/qt-4.8.4/lib/libQtSvg.prl \
		/usr/local/qt-4.8.4/lib/libQtGui.prl \
		/usr/local/qt-4.8.4/lib/libQtCore.prl \
		/usr/local/qt-4.8.4/lib/libQtOpenGL.prl \
		/usr/local/qt-4.8.4/lib/libQtDBus.prl \
		/usr/local/qt-4.8.4/lib/libQtXml.prl
	$(QMAKE) -o Makefile okintck_vlv_pfe_f02_07.pro
/usr/local/qt-4.8.4/mkspecs/common/unix.conf:
/usr/local/qt-4.8.4/mkspecs/common/linux.conf:
/usr/local/qt-4.8.4/mkspecs/common/gcc-base.conf:
/usr/local/qt-4.8.4/mkspecs/common/gcc-base-unix.conf:
/usr/local/qt-4.8.4/mkspecs/common/g++-base.conf:
/usr/local/qt-4.8.4/mkspecs/common/g++-unix.conf:
/usr/local/qt-4.8.4/mkspecs/qconfig.pri:
/usr/local/qt-4.8.4/mkspecs/modules/qt_webkit_version.pri:
/usr/local/qt-4.8.4/mkspecs/features/qt_functions.prf:
/usr/local/qt-4.8.4/mkspecs/features/qt_config.prf:
/usr/local/qt-4.8.4/mkspecs/features/exclusive_builds.prf:
/usr/local/qt-4.8.4/mkspecs/features/default_pre.prf:
/usr/local/qtango/include/qtango6/qtango.pri:
/usr/local/qt-4.8.4/mkspecs/features/debug.prf:
/usr/local/qt-4.8.4/mkspecs/features/default_post.prf:
/usr/local/qt-4.8.4/mkspecs/features/link_pkgconfig.prf:
/usr/local/qt-4.8.4/mkspecs/features/unix/gdb_dwarf_index.prf:
/usr/local/qt-4.8.4/mkspecs/features/warn_on.prf:
/usr/local/qt-4.8.4/mkspecs/features/qt.prf:
/usr/local/qt-4.8.4/mkspecs/features/moc.prf:
/usr/local/qt-4.8.4/mkspecs/features/dbusinterfaces.prf:
/usr/local/qt-4.8.4/mkspecs/features/dbusadaptors.prf:
/usr/local/qt-4.8.4/mkspecs/features/unix/thread.prf:
/usr/local/qt-4.8.4/mkspecs/features/resources.prf:
/usr/local/qt-4.8.4/mkspecs/features/uic.prf:
/usr/local/qt-4.8.4/mkspecs/features/yacc.prf:
/usr/local/qt-4.8.4/mkspecs/features/lex.prf:
/usr/local/qt-4.8.4/lib/libQtSvg.prl:
/usr/local/qt-4.8.4/lib/libQtGui.prl:
/usr/local/qt-4.8.4/lib/libQtCore.prl:
/usr/local/qt-4.8.4/lib/libQtOpenGL.prl:
/usr/local/qt-4.8.4/lib/libQtDBus.prl:
/usr/local/qt-4.8.4/lib/libQtXml.prl:
qmake:  FORCE
	@$(QMAKE) -o Makefile okintck_vlv_pfe_f02_07.pro

dist: 
	@$(CHK_DIR_EXISTS) objects/okintck_vlv_pfe_f02_076.4.4 || $(MKDIR) objects/okintck_vlv_pfe_f02_076.4.4 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) objects/okintck_vlv_pfe_f02_076.4.4/ && $(COPY_FILE) --parents src/okintck_vlv_pfe_f02_07.h objects/okintck_vlv_pfe_f02_076.4.4/ && $(COPY_FILE) --parents src/okintck_vlv_pfe_f02_07.cpp src/main.cpp objects/okintck_vlv_pfe_f02_076.4.4/ && $(COPY_FILE) --parents src/okintck_vlv_pfe_f02_07.ui objects/okintck_vlv_pfe_f02_076.4.4/ && (cd `dirname objects/okintck_vlv_pfe_f02_076.4.4` && $(TAR) okintck_vlv_pfe_f02_076.4.4.tar okintck_vlv_pfe_f02_076.4.4 && $(COMPRESS) okintck_vlv_pfe_f02_076.4.4.tar) && $(MOVE) `dirname objects/okintck_vlv_pfe_f02_076.4.4`/okintck_vlv_pfe_f02_076.4.4.tar.gz . && $(DEL_FILE) -r objects/okintck_vlv_pfe_f02_076.4.4


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) moc obj Makefile *.tag
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


docs:
	doxygen Doxyfile;

check: first

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all

compiler_moc_header_make_all: moc/moc_okintck_vlv_pfe_f02_07.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc/moc_okintck_vlv_pfe_f02_07.cpp
moc/moc_okintck_vlv_pfe_f02_07.cpp: src/ui_okintck_vlv_pfe_f02_07.h \
		src/okintck_vlv_pfe_f02_07.h
	/usr/local/qt-4.8.4/bin/moc $(DEFINES) $(INCPATH) src/okintck_vlv_pfe_f02_07.h -o moc/moc_okintck_vlv_pfe_f02_07.cpp

compiler_dbus_interface_source_make_all:
compiler_dbus_interface_source_clean:
compiler_dbus_adaptor_source_make_all:
compiler_dbus_adaptor_source_clean:
compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: src/qmake_image_collection.cpp
compiler_image_collection_clean:
	-$(DEL_FILE) src/qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_dbus_interface_header_make_all:
compiler_dbus_interface_header_clean:
compiler_dbus_interface_moc_make_all:
compiler_dbus_interface_moc_clean:
compiler_dbus_adaptor_header_make_all:
compiler_dbus_adaptor_header_clean:
compiler_dbus_adaptor_moc_make_all:
compiler_dbus_adaptor_moc_clean:
compiler_uic_make_all: src/ui_okintck_vlv_pfe_f02_07.h
compiler_uic_clean:
	-$(DEL_FILE) src/ui_okintck_vlv_pfe_f02_07.h
src/ui_okintck_vlv_pfe_f02_07.h: src/okintck_vlv_pfe_f02_07.ui
	/usr/local/qt-4.8.4/bin/uic src/okintck_vlv_pfe_f02_07.ui -o src/ui_okintck_vlv_pfe_f02_07.h

compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_uic_clean 

####### Compile

objects/okintck_vlv_pfe_f02_07.o: src/okintck_vlv_pfe_f02_07.cpp src/okintck_vlv_pfe_f02_07.h \
		src/ui_okintck_vlv_pfe_f02_07.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects/okintck_vlv_pfe_f02_07.o src/okintck_vlv_pfe_f02_07.cpp

objects/main.o: src/main.cpp src/okintck_vlv_pfe_f02_07.h \
		src/ui_okintck_vlv_pfe_f02_07.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects/main.o src/main.cpp

objects/moc_okintck_vlv_pfe_f02_07.o: moc/moc_okintck_vlv_pfe_f02_07.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o objects/moc_okintck_vlv_pfe_f02_07.o moc/moc_okintck_vlv_pfe_f02_07.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE: