|
@@ -0,0 +1,295 @@
|
|
1
|
+#############################################################################
|
|
2
|
+# Makefile for building: libptsocket.so.1.0.0
|
|
3
|
+# Generated by qmake (2.01a) (Qt 4.8.2) on: mar. déc. 31 16:37:00 2013
|
|
4
|
+# Project: ptsocket.pro
|
|
5
|
+# Template: lib
|
|
6
|
+# Command: /usr/bin/qmake -o Makefile ptsocket.pro
|
|
7
|
+#############################################################################
|
|
8
|
+
|
|
9
|
+####### Compiler, tools and options
|
|
10
|
+
|
|
11
|
+CC = gcc
|
|
12
|
+CXX = g++
|
|
13
|
+DEFINES = -DQT_WEBKIT -DLIBPTSOCKET_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
|
14
|
+CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
|
|
15
|
+CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
|
|
16
|
+INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I.
|
|
17
|
+LINK = g++
|
|
18
|
+LFLAGS = -m64 -Wl,-O1 -shared -Wl,-soname,libptsocket.so.1
|
|
19
|
+LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -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
|
+STRIP = strip
|
|
30
|
+INSTALL_FILE = install -m 644 -p
|
|
31
|
+INSTALL_DIR = $(COPY_DIR)
|
|
32
|
+INSTALL_PROGRAM = install -m 755 -p
|
|
33
|
+DEL_FILE = rm -f
|
|
34
|
+SYMLINK = ln -f -s
|
|
35
|
+DEL_DIR = rmdir
|
|
36
|
+MOVE = mv -f
|
|
37
|
+CHK_DIR_EXISTS= test -d
|
|
38
|
+MKDIR = mkdir -p
|
|
39
|
+
|
|
40
|
+####### Output directory
|
|
41
|
+
|
|
42
|
+OBJECTS_DIR = ./
|
|
43
|
+
|
|
44
|
+####### Files
|
|
45
|
+
|
|
46
|
+SOURCES = ptsocket.cpp \
|
|
47
|
+ ptserver.cpp moc_ptsocket.cpp \
|
|
48
|
+ moc_ptserver.cpp
|
|
49
|
+OBJECTS = ptsocket.o \
|
|
50
|
+ ptserver.o \
|
|
51
|
+ moc_ptsocket.o \
|
|
52
|
+ moc_ptserver.o
|
|
53
|
+DIST = /usr/share/qt4/mkspecs/common/unix.conf \
|
|
54
|
+ /usr/share/qt4/mkspecs/common/linux.conf \
|
|
55
|
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \
|
|
56
|
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
|
57
|
+ /usr/share/qt4/mkspecs/common/g++-base.conf \
|
|
58
|
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \
|
|
59
|
+ /usr/share/qt4/mkspecs/qconfig.pri \
|
|
60
|
+ /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
|
|
61
|
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
|
62
|
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
63
|
+ /usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
64
|
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
65
|
+ /usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
66
|
+ ../commons.pri \
|
|
67
|
+ /usr/share/qt4/mkspecs/features/release.prf \
|
|
68
|
+ /usr/share/qt4/mkspecs/features/default_post.prf \
|
|
69
|
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
|
70
|
+ /usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
71
|
+ /usr/share/qt4/mkspecs/features/qt.prf \
|
|
72
|
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
73
|
+ /usr/share/qt4/mkspecs/features/moc.prf \
|
|
74
|
+ /usr/share/qt4/mkspecs/features/resources.prf \
|
|
75
|
+ /usr/share/qt4/mkspecs/features/uic.prf \
|
|
76
|
+ /usr/share/qt4/mkspecs/features/yacc.prf \
|
|
77
|
+ /usr/share/qt4/mkspecs/features/lex.prf \
|
|
78
|
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
|
79
|
+ ptsocket.pro
|
|
80
|
+QMAKE_TARGET = ptsocket
|
|
81
|
+DESTDIR =
|
|
82
|
+TARGET = libptsocket.so.1.0.0
|
|
83
|
+TARGETA = libptsocket.a
|
|
84
|
+TARGETD = libptsocket.so.1.0.0
|
|
85
|
+TARGET0 = libptsocket.so
|
|
86
|
+TARGET1 = libptsocket.so.1
|
|
87
|
+TARGET2 = libptsocket.so.1.0
|
|
88
|
+
|
|
89
|
+first: all
|
|
90
|
+####### Implicit rules
|
|
91
|
+
|
|
92
|
+.SUFFIXES: .o .c .cpp .cc .cxx .C
|
|
93
|
+
|
|
94
|
+.cpp.o:
|
|
95
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
96
|
+
|
|
97
|
+.cc.o:
|
|
98
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
99
|
+
|
|
100
|
+.cxx.o:
|
|
101
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
102
|
+
|
|
103
|
+.C.o:
|
|
104
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
105
|
+
|
|
106
|
+.c.o:
|
|
107
|
+ $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
|
108
|
+
|
|
109
|
+####### Build rules
|
|
110
|
+
|
|
111
|
+all: Makefile $(TARGET)
|
|
112
|
+
|
|
113
|
+$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
|
|
114
|
+ -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
|
|
115
|
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
|
|
116
|
+ -ln -s $(TARGET) $(TARGET0)
|
|
117
|
+ -ln -s $(TARGET) $(TARGET1)
|
|
118
|
+ -ln -s $(TARGET) $(TARGET2)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+staticlib: $(TARGETA)
|
|
123
|
+
|
|
124
|
+$(TARGETA): $(OBJECTS) $(OBJCOMP)
|
|
125
|
+ -$(DEL_FILE) $(TARGETA)
|
|
126
|
+ $(AR) $(TARGETA) $(OBJECTS)
|
|
127
|
+
|
|
128
|
+Makefile: ptsocket.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
|
|
129
|
+ /usr/share/qt4/mkspecs/common/linux.conf \
|
|
130
|
+ /usr/share/qt4/mkspecs/common/gcc-base.conf \
|
|
131
|
+ /usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
|
132
|
+ /usr/share/qt4/mkspecs/common/g++-base.conf \
|
|
133
|
+ /usr/share/qt4/mkspecs/common/g++-unix.conf \
|
|
134
|
+ /usr/share/qt4/mkspecs/qconfig.pri \
|
|
135
|
+ /usr/share/qt4/mkspecs/modules/qt_phonon.pri \
|
|
136
|
+ /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
|
137
|
+ /usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
138
|
+ /usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
139
|
+ /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
140
|
+ /usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
141
|
+ ../commons.pri \
|
|
142
|
+ /usr/share/qt4/mkspecs/features/release.prf \
|
|
143
|
+ /usr/share/qt4/mkspecs/features/default_post.prf \
|
|
144
|
+ /usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
|
145
|
+ /usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
146
|
+ /usr/share/qt4/mkspecs/features/qt.prf \
|
|
147
|
+ /usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
148
|
+ /usr/share/qt4/mkspecs/features/moc.prf \
|
|
149
|
+ /usr/share/qt4/mkspecs/features/resources.prf \
|
|
150
|
+ /usr/share/qt4/mkspecs/features/uic.prf \
|
|
151
|
+ /usr/share/qt4/mkspecs/features/yacc.prf \
|
|
152
|
+ /usr/share/qt4/mkspecs/features/lex.prf \
|
|
153
|
+ /usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
|
154
|
+ /usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
|
|
155
|
+ /usr/lib/x86_64-linux-gnu/libQtCore.prl
|
|
156
|
+ $(QMAKE) -o Makefile ptsocket.pro
|
|
157
|
+/usr/share/qt4/mkspecs/common/unix.conf:
|
|
158
|
+/usr/share/qt4/mkspecs/common/linux.conf:
|
|
159
|
+/usr/share/qt4/mkspecs/common/gcc-base.conf:
|
|
160
|
+/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
|
|
161
|
+/usr/share/qt4/mkspecs/common/g++-base.conf:
|
|
162
|
+/usr/share/qt4/mkspecs/common/g++-unix.conf:
|
|
163
|
+/usr/share/qt4/mkspecs/qconfig.pri:
|
|
164
|
+/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
|
|
165
|
+/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
|
|
166
|
+/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
|
167
|
+/usr/share/qt4/mkspecs/features/qt_config.prf:
|
|
168
|
+/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
|
169
|
+/usr/share/qt4/mkspecs/features/default_pre.prf:
|
|
170
|
+../commons.pri:
|
|
171
|
+/usr/share/qt4/mkspecs/features/release.prf:
|
|
172
|
+/usr/share/qt4/mkspecs/features/default_post.prf:
|
|
173
|
+/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
|
|
174
|
+/usr/share/qt4/mkspecs/features/warn_on.prf:
|
|
175
|
+/usr/share/qt4/mkspecs/features/qt.prf:
|
|
176
|
+/usr/share/qt4/mkspecs/features/unix/thread.prf:
|
|
177
|
+/usr/share/qt4/mkspecs/features/moc.prf:
|
|
178
|
+/usr/share/qt4/mkspecs/features/resources.prf:
|
|
179
|
+/usr/share/qt4/mkspecs/features/uic.prf:
|
|
180
|
+/usr/share/qt4/mkspecs/features/yacc.prf:
|
|
181
|
+/usr/share/qt4/mkspecs/features/lex.prf:
|
|
182
|
+/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
|
183
|
+/usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
|
|
184
|
+/usr/lib/x86_64-linux-gnu/libQtCore.prl:
|
|
185
|
+qmake: FORCE
|
|
186
|
+ @$(QMAKE) -o Makefile ptsocket.pro
|
|
187
|
+
|
|
188
|
+dist:
|
|
189
|
+ @$(CHK_DIR_EXISTS) .tmp/ptsocket1.0.0 || $(MKDIR) .tmp/ptsocket1.0.0
|
|
190
|
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ptsocket1.0.0/ && $(COPY_FILE) --parents ptsocket.h libptsocket_global.h ptserver.h .tmp/ptsocket1.0.0/ && $(COPY_FILE) --parents ptsocket.cpp ptserver.cpp .tmp/ptsocket1.0.0/ && (cd `dirname .tmp/ptsocket1.0.0` && $(TAR) ptsocket1.0.0.tar ptsocket1.0.0 && $(COMPRESS) ptsocket1.0.0.tar) && $(MOVE) `dirname .tmp/ptsocket1.0.0`/ptsocket1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/ptsocket1.0.0
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+clean:compiler_clean
|
|
194
|
+ -$(DEL_FILE) $(OBJECTS)
|
|
195
|
+ -$(DEL_FILE) *~ core *.core
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+####### Sub-libraries
|
|
199
|
+
|
|
200
|
+distclean: clean
|
|
201
|
+ -$(DEL_FILE) $(TARGET)
|
|
202
|
+ -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
|
|
203
|
+ -$(DEL_FILE) Makefile
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+check: first
|
|
207
|
+
|
|
208
|
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
209
|
+
|
|
210
|
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
211
|
+
|
|
212
|
+compiler_moc_header_make_all: moc_ptsocket.cpp moc_ptserver.cpp
|
|
213
|
+compiler_moc_header_clean:
|
|
214
|
+ -$(DEL_FILE) moc_ptsocket.cpp moc_ptserver.cpp
|
|
215
|
+moc_ptsocket.cpp: libptsocket_global.h \
|
|
216
|
+ ptsocket.h
|
|
217
|
+ /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptsocket.h -o moc_ptsocket.cpp
|
|
218
|
+
|
|
219
|
+moc_ptserver.cpp: libptsocket_global.h \
|
|
220
|
+ ptsocket.h \
|
|
221
|
+ ptserver.h
|
|
222
|
+ /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptserver.h -o moc_ptserver.cpp
|
|
223
|
+
|
|
224
|
+compiler_rcc_make_all:
|
|
225
|
+compiler_rcc_clean:
|
|
226
|
+compiler_image_collection_make_all: qmake_image_collection.cpp
|
|
227
|
+compiler_image_collection_clean:
|
|
228
|
+ -$(DEL_FILE) qmake_image_collection.cpp
|
|
229
|
+compiler_moc_source_make_all:
|
|
230
|
+compiler_moc_source_clean:
|
|
231
|
+compiler_uic_make_all:
|
|
232
|
+compiler_uic_clean:
|
|
233
|
+compiler_yacc_decl_make_all:
|
|
234
|
+compiler_yacc_decl_clean:
|
|
235
|
+compiler_yacc_impl_make_all:
|
|
236
|
+compiler_yacc_impl_clean:
|
|
237
|
+compiler_lex_make_all:
|
|
238
|
+compiler_lex_clean:
|
|
239
|
+compiler_clean: compiler_moc_header_clean
|
|
240
|
+
|
|
241
|
+####### Compile
|
|
242
|
+
|
|
243
|
+ptsocket.o: ptsocket.cpp ptsocket.h \
|
|
244
|
+ libptsocket_global.h
|
|
245
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptsocket.o ptsocket.cpp
|
|
246
|
+
|
|
247
|
+ptserver.o: ptserver.cpp ptserver.h \
|
|
248
|
+ libptsocket_global.h \
|
|
249
|
+ ptsocket.h
|
|
250
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptserver.o ptserver.cpp
|
|
251
|
+
|
|
252
|
+moc_ptsocket.o: moc_ptsocket.cpp
|
|
253
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptsocket.o moc_ptsocket.cpp
|
|
254
|
+
|
|
255
|
+moc_ptserver.o: moc_ptserver.cpp
|
|
256
|
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptserver.o moc_ptserver.cpp
|
|
257
|
+
|
|
258
|
+####### Install
|
|
259
|
+
|
|
260
|
+install_headers: first FORCE
|
|
261
|
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/ptsocket/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/ptsocket/
|
|
262
|
+ -$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/ptsocket.h $(INSTALL_ROOT)/usr/include/ptsocket/
|
|
263
|
+ -$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/libptsocket_global.h $(INSTALL_ROOT)/usr/include/ptsocket/
|
|
264
|
+ -$(INSTALL_FILE) /pxeroot/root/share/libptsocket/ptsocket/ptserver.h $(INSTALL_ROOT)/usr/include/ptsocket/
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+uninstall_headers: FORCE
|
|
268
|
+ -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptsocket.h
|
|
269
|
+ -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/libptsocket_global.h
|
|
270
|
+ -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptserver.h
|
|
271
|
+ -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/ptsocket/
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+install_target: first FORCE
|
|
275
|
+ @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/
|
|
276
|
+ -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
|
|
277
|
+ -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
|
|
278
|
+ -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
|
|
279
|
+ -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
|
|
280
|
+ -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
|
|
281
|
+
|
|
282
|
+uninstall_target: FORCE
|
|
283
|
+ -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
|
|
284
|
+ -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
|
|
285
|
+ -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
|
|
286
|
+ -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
|
|
287
|
+ -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+install: install_headers install_target FORCE
|
|
291
|
+
|
|
292
|
+uninstall: uninstall_headers uninstall_target FORCE
|
|
293
|
+
|
|
294
|
+FORCE:
|
|
295
|
+
|