Explorar el Código

gitignore

master
Robin Thoni hace 9 años
padre
commit
fb8b858737
Se han modificado 4 ficheros con 37 adiciones y 733 borrados
  1. 37
    0
      .gitignore
  2. 0
    155
      Makefile
  3. 0
    314
      ptsocket/Makefile
  4. 0
    264
      tests/Makefile

+ 37
- 0
.gitignore Ver fichero

@@ -0,0 +1,37 @@
1
+tests/tests
2
+
3
+# C++ objects and libs
4
+
5
+*.slo
6
+*.lo
7
+*.o
8
+*.a
9
+*.la
10
+*.lai
11
+*.so
12
+*.so.*
13
+*.dll
14
+*.dylib
15
+
16
+# Qt-es
17
+
18
+/.qmake.cache
19
+/.qmake.stash
20
+*.pro.user
21
+*.pro.user.*
22
+*.qbs.user
23
+*.qbs.user.*
24
+*.moc
25
+moc_*.cpp
26
+qrc_*.cpp
27
+ui_*.h
28
+Makefile*
29
+*-build-*
30
+
31
+# QtCreator
32
+
33
+*.autosave
34
+
35
+#QtCtreator Qml
36
+*.qmlproject.user
37
+*.qmlproject.user.*

+ 0
- 155
Makefile Ver fichero

@@ -1,155 +0,0 @@
1
-#############################################################################
2
-# Makefile for building: libptsocket
3
-# Generated by qmake (2.01a) (Qt 4.8.2) on: jeu. janv. 2 17:22:49 2014
4
-# Project:  libptsocket.pro
5
-# Template: subdirs
6
-# Command: /usr/bin/qmake -o Makefile libptsocket.pro
7
-#############################################################################
8
-
9
-first: make_default
10
-MAKEFILE      = Makefile
11
-QMAKE         = /usr/bin/qmake
12
-DEL_FILE      = rm -f
13
-CHK_DIR_EXISTS= test -d
14
-MKDIR         = mkdir -p
15
-COPY          = cp -f
16
-COPY_FILE     = $(COPY)
17
-COPY_DIR      = $(COPY) -r
18
-INSTALL_FILE  = install -m 644 -p
19
-INSTALL_PROGRAM = install -m 755 -p
20
-INSTALL_DIR   = $(COPY_DIR)
21
-DEL_FILE      = rm -f
22
-SYMLINK       = ln -f -s
23
-DEL_DIR       = rmdir
24
-MOVE          = mv -f
25
-CHK_DIR_EXISTS= test -d
26
-MKDIR         = mkdir -p
27
-SUBTARGETS    =  \
28
-		sub-ptsocket \
29
-		sub-tests
30
-
31
-ptsocket//$(MAKEFILE): 
32
-	@$(CHK_DIR_EXISTS) ptsocket/ || $(MKDIR) ptsocket/ 
33
-	cd ptsocket/ && $(QMAKE) /home/robin/libptsocket/ptsocket/ptsocket.pro -o $(MAKEFILE)
34
-sub-ptsocket-qmake_all:  FORCE
35
-	@$(CHK_DIR_EXISTS) ptsocket/ || $(MKDIR) ptsocket/ 
36
-	cd ptsocket/ && $(QMAKE) /home/robin/libptsocket/ptsocket/ptsocket.pro -o $(MAKEFILE)
37
-sub-ptsocket: ptsocket//$(MAKEFILE) FORCE
38
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE)
39
-sub-ptsocket-make_default: ptsocket//$(MAKEFILE) FORCE
40
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) 
41
-sub-ptsocket-make_first: ptsocket//$(MAKEFILE) FORCE
42
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) first
43
-sub-ptsocket-all: ptsocket//$(MAKEFILE) FORCE
44
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) all
45
-sub-ptsocket-clean: ptsocket//$(MAKEFILE) FORCE
46
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) clean
47
-sub-ptsocket-distclean: ptsocket//$(MAKEFILE) FORCE
48
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) distclean
49
-sub-ptsocket-install_subtargets: ptsocket//$(MAKEFILE) FORCE
50
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) install
51
-sub-ptsocket-uninstall_subtargets: ptsocket//$(MAKEFILE) FORCE
52
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) uninstall
53
-tests//$(MAKEFILE): 
54
-	@$(CHK_DIR_EXISTS) tests/ || $(MKDIR) tests/ 
55
-	cd tests/ && $(QMAKE) /home/robin/libptsocket/tests/tests.pro -o $(MAKEFILE)
56
-sub-tests-qmake_all:  FORCE
57
-	@$(CHK_DIR_EXISTS) tests/ || $(MKDIR) tests/ 
58
-	cd tests/ && $(QMAKE) /home/robin/libptsocket/tests/tests.pro -o $(MAKEFILE)
59
-sub-tests: tests//$(MAKEFILE) FORCE
60
-	cd tests/ && $(MAKE) -f $(MAKEFILE)
61
-sub-tests-make_default: tests//$(MAKEFILE) FORCE
62
-	cd tests/ && $(MAKE) -f $(MAKEFILE) 
63
-sub-tests-make_first: tests//$(MAKEFILE) FORCE
64
-	cd tests/ && $(MAKE) -f $(MAKEFILE) first
65
-sub-tests-all: tests//$(MAKEFILE) FORCE
66
-	cd tests/ && $(MAKE) -f $(MAKEFILE) all
67
-sub-tests-clean: tests//$(MAKEFILE) FORCE
68
-	cd tests/ && $(MAKE) -f $(MAKEFILE) clean
69
-sub-tests-distclean: tests//$(MAKEFILE) FORCE
70
-	cd tests/ && $(MAKE) -f $(MAKEFILE) distclean
71
-sub-tests-install_subtargets: tests//$(MAKEFILE) FORCE
72
-	cd tests/ && $(MAKE) -f $(MAKEFILE) install
73
-sub-tests-uninstall_subtargets: tests//$(MAKEFILE) FORCE
74
-	cd tests/ && $(MAKE) -f $(MAKEFILE) uninstall
75
-
76
-Makefile: libptsocket.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
77
-		/usr/share/qt4/mkspecs/common/linux.conf \
78
-		/usr/share/qt4/mkspecs/common/gcc-base.conf \
79
-		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
80
-		/usr/share/qt4/mkspecs/common/g++-base.conf \
81
-		/usr/share/qt4/mkspecs/common/g++-unix.conf \
82
-		/usr/share/qt4/mkspecs/qconfig.pri \
83
-		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
84
-		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
85
-		/usr/share/qt4/mkspecs/features/qt_functions.prf \
86
-		/usr/share/qt4/mkspecs/features/qt_config.prf \
87
-		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
88
-		/usr/share/qt4/mkspecs/features/default_pre.prf \
89
-		/usr/share/qt4/mkspecs/features/release.prf \
90
-		/usr/share/qt4/mkspecs/features/default_post.prf \
91
-		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
92
-		/usr/share/qt4/mkspecs/features/warn_on.prf \
93
-		/usr/share/qt4/mkspecs/features/qt.prf \
94
-		/usr/share/qt4/mkspecs/features/unix/thread.prf \
95
-		/usr/share/qt4/mkspecs/features/moc.prf \
96
-		/usr/share/qt4/mkspecs/features/resources.prf \
97
-		/usr/share/qt4/mkspecs/features/uic.prf \
98
-		/usr/share/qt4/mkspecs/features/yacc.prf \
99
-		/usr/share/qt4/mkspecs/features/lex.prf \
100
-		/usr/share/qt4/mkspecs/features/include_source_dir.prf
101
-	$(QMAKE) -o Makefile libptsocket.pro
102
-/usr/share/qt4/mkspecs/common/unix.conf:
103
-/usr/share/qt4/mkspecs/common/linux.conf:
104
-/usr/share/qt4/mkspecs/common/gcc-base.conf:
105
-/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
106
-/usr/share/qt4/mkspecs/common/g++-base.conf:
107
-/usr/share/qt4/mkspecs/common/g++-unix.conf:
108
-/usr/share/qt4/mkspecs/qconfig.pri:
109
-/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
110
-/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
111
-/usr/share/qt4/mkspecs/features/qt_functions.prf:
112
-/usr/share/qt4/mkspecs/features/qt_config.prf:
113
-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
114
-/usr/share/qt4/mkspecs/features/default_pre.prf:
115
-/usr/share/qt4/mkspecs/features/release.prf:
116
-/usr/share/qt4/mkspecs/features/default_post.prf:
117
-/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
118
-/usr/share/qt4/mkspecs/features/warn_on.prf:
119
-/usr/share/qt4/mkspecs/features/qt.prf:
120
-/usr/share/qt4/mkspecs/features/unix/thread.prf:
121
-/usr/share/qt4/mkspecs/features/moc.prf:
122
-/usr/share/qt4/mkspecs/features/resources.prf:
123
-/usr/share/qt4/mkspecs/features/uic.prf:
124
-/usr/share/qt4/mkspecs/features/yacc.prf:
125
-/usr/share/qt4/mkspecs/features/lex.prf:
126
-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
127
-qmake: qmake_all FORCE
128
-	@$(QMAKE) -o Makefile libptsocket.pro
129
-
130
-qmake_all: sub-ptsocket-qmake_all sub-tests-qmake_all FORCE
131
-
132
-make_default: sub-ptsocket-make_default sub-tests-make_default FORCE
133
-make_first: sub-ptsocket-make_first sub-tests-make_first FORCE
134
-all: sub-ptsocket-all sub-tests-all FORCE
135
-clean: sub-ptsocket-clean sub-tests-clean FORCE
136
-distclean: sub-ptsocket-distclean sub-tests-distclean FORCE
137
-	-$(DEL_FILE) Makefile
138
-install_subtargets: sub-ptsocket-install_subtargets sub-tests-install_subtargets FORCE
139
-uninstall_subtargets: sub-ptsocket-uninstall_subtargets sub-tests-uninstall_subtargets FORCE
140
-
141
-sub-ptsocket-check: ptsocket/$(MAKEFILE)
142
-	cd ptsocket/ && $(MAKE) -f $(MAKEFILE) check
143
-sub-tests-check: tests/$(MAKEFILE)
144
-	cd tests/ && $(MAKE) -f $(MAKEFILE) check
145
-check: sub-ptsocket-check sub-tests-check
146
-
147
-mocclean: compiler_moc_header_clean compiler_moc_source_clean
148
-
149
-mocables: compiler_moc_header_make_all compiler_moc_source_make_all
150
-install: install_subtargets  FORCE
151
-
152
-uninstall:  uninstall_subtargets FORCE
153
-
154
-FORCE:
155
-

+ 0
- 314
ptsocket/Makefile Ver fichero

@@ -1,314 +0,0 @@
1
-#############################################################################
2
-# Makefile for building: libptsocket.so.1.5.0
3
-# Generated by qmake (2.01a) (Qt 4.8.2) on: jeu. janv. 2 17:22:55 2014
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 \
48
-		broadcast.cpp moc_ptsocket.cpp \
49
-		moc_ptserver.cpp \
50
-		moc_broadcast.cpp
51
-OBJECTS       = ptsocket.o \
52
-		ptserver.o \
53
-		broadcast.o \
54
-		moc_ptsocket.o \
55
-		moc_ptserver.o \
56
-		moc_broadcast.o
57
-DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
58
-		/usr/share/qt4/mkspecs/common/linux.conf \
59
-		/usr/share/qt4/mkspecs/common/gcc-base.conf \
60
-		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
61
-		/usr/share/qt4/mkspecs/common/g++-base.conf \
62
-		/usr/share/qt4/mkspecs/common/g++-unix.conf \
63
-		/usr/share/qt4/mkspecs/qconfig.pri \
64
-		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
65
-		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
66
-		/usr/share/qt4/mkspecs/features/qt_functions.prf \
67
-		/usr/share/qt4/mkspecs/features/qt_config.prf \
68
-		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
69
-		/usr/share/qt4/mkspecs/features/default_pre.prf \
70
-		../commons.pri \
71
-		/usr/share/qt4/mkspecs/features/release.prf \
72
-		/usr/share/qt4/mkspecs/features/default_post.prf \
73
-		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
74
-		/usr/share/qt4/mkspecs/features/warn_on.prf \
75
-		/usr/share/qt4/mkspecs/features/qt.prf \
76
-		/usr/share/qt4/mkspecs/features/unix/thread.prf \
77
-		/usr/share/qt4/mkspecs/features/moc.prf \
78
-		/usr/share/qt4/mkspecs/features/resources.prf \
79
-		/usr/share/qt4/mkspecs/features/uic.prf \
80
-		/usr/share/qt4/mkspecs/features/yacc.prf \
81
-		/usr/share/qt4/mkspecs/features/lex.prf \
82
-		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
83
-		ptsocket.pro
84
-QMAKE_TARGET  = ptsocket
85
-DESTDIR       = 
86
-TARGET        = libptsocket.so.1.5.0
87
-TARGETA       = libptsocket.a
88
-TARGETD       = libptsocket.so.1.5.0
89
-TARGET0       = libptsocket.so
90
-TARGET1       = libptsocket.so.1
91
-TARGET2       = libptsocket.so.1.5
92
-
93
-first: all
94
-####### Implicit rules
95
-
96
-.SUFFIXES: .o .c .cpp .cc .cxx .C
97
-
98
-.cpp.o:
99
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100
-
101
-.cc.o:
102
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
103
-
104
-.cxx.o:
105
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
106
-
107
-.C.o:
108
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
109
-
110
-.c.o:
111
-	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
112
-
113
-####### Build rules
114
-
115
-all: Makefile  $(TARGET)
116
-
117
-$(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
118
-	-$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
119
-	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
120
-	-ln -s $(TARGET) $(TARGET0)
121
-	-ln -s $(TARGET) $(TARGET1)
122
-	-ln -s $(TARGET) $(TARGET2)
123
-
124
-
125
-
126
-staticlib: $(TARGETA)
127
-
128
-$(TARGETA):  $(OBJECTS) $(OBJCOMP) 
129
-	-$(DEL_FILE) $(TARGETA) 
130
-	$(AR) $(TARGETA) $(OBJECTS)
131
-
132
-Makefile: ptsocket.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
133
-		/usr/share/qt4/mkspecs/common/linux.conf \
134
-		/usr/share/qt4/mkspecs/common/gcc-base.conf \
135
-		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
136
-		/usr/share/qt4/mkspecs/common/g++-base.conf \
137
-		/usr/share/qt4/mkspecs/common/g++-unix.conf \
138
-		/usr/share/qt4/mkspecs/qconfig.pri \
139
-		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
140
-		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
141
-		/usr/share/qt4/mkspecs/features/qt_functions.prf \
142
-		/usr/share/qt4/mkspecs/features/qt_config.prf \
143
-		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
144
-		/usr/share/qt4/mkspecs/features/default_pre.prf \
145
-		../commons.pri \
146
-		/usr/share/qt4/mkspecs/features/release.prf \
147
-		/usr/share/qt4/mkspecs/features/default_post.prf \
148
-		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
149
-		/usr/share/qt4/mkspecs/features/warn_on.prf \
150
-		/usr/share/qt4/mkspecs/features/qt.prf \
151
-		/usr/share/qt4/mkspecs/features/unix/thread.prf \
152
-		/usr/share/qt4/mkspecs/features/moc.prf \
153
-		/usr/share/qt4/mkspecs/features/resources.prf \
154
-		/usr/share/qt4/mkspecs/features/uic.prf \
155
-		/usr/share/qt4/mkspecs/features/yacc.prf \
156
-		/usr/share/qt4/mkspecs/features/lex.prf \
157
-		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
158
-		/usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
159
-		/usr/lib/x86_64-linux-gnu/libQtCore.prl
160
-	$(QMAKE) -o Makefile ptsocket.pro
161
-/usr/share/qt4/mkspecs/common/unix.conf:
162
-/usr/share/qt4/mkspecs/common/linux.conf:
163
-/usr/share/qt4/mkspecs/common/gcc-base.conf:
164
-/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
165
-/usr/share/qt4/mkspecs/common/g++-base.conf:
166
-/usr/share/qt4/mkspecs/common/g++-unix.conf:
167
-/usr/share/qt4/mkspecs/qconfig.pri:
168
-/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
169
-/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
170
-/usr/share/qt4/mkspecs/features/qt_functions.prf:
171
-/usr/share/qt4/mkspecs/features/qt_config.prf:
172
-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
173
-/usr/share/qt4/mkspecs/features/default_pre.prf:
174
-../commons.pri:
175
-/usr/share/qt4/mkspecs/features/release.prf:
176
-/usr/share/qt4/mkspecs/features/default_post.prf:
177
-/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
178
-/usr/share/qt4/mkspecs/features/warn_on.prf:
179
-/usr/share/qt4/mkspecs/features/qt.prf:
180
-/usr/share/qt4/mkspecs/features/unix/thread.prf:
181
-/usr/share/qt4/mkspecs/features/moc.prf:
182
-/usr/share/qt4/mkspecs/features/resources.prf:
183
-/usr/share/qt4/mkspecs/features/uic.prf:
184
-/usr/share/qt4/mkspecs/features/yacc.prf:
185
-/usr/share/qt4/mkspecs/features/lex.prf:
186
-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
187
-/usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
188
-/usr/lib/x86_64-linux-gnu/libQtCore.prl:
189
-qmake:  FORCE
190
-	@$(QMAKE) -o Makefile ptsocket.pro
191
-
192
-dist: 
193
-	@$(CHK_DIR_EXISTS) .tmp/ptsocket1.5.0 || $(MKDIR) .tmp/ptsocket1.5.0 
194
-	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/ptsocket1.5.0/ && $(COPY_FILE) --parents ptsocket.h libptsocket_global.h ptserver.h broadcast.h .tmp/ptsocket1.5.0/ && $(COPY_FILE) --parents ptsocket.cpp ptserver.cpp broadcast.cpp .tmp/ptsocket1.5.0/ && (cd `dirname .tmp/ptsocket1.5.0` && $(TAR) ptsocket1.5.0.tar ptsocket1.5.0 && $(COMPRESS) ptsocket1.5.0.tar) && $(MOVE) `dirname .tmp/ptsocket1.5.0`/ptsocket1.5.0.tar.gz . && $(DEL_FILE) -r .tmp/ptsocket1.5.0
195
-
196
-
197
-clean:compiler_clean 
198
-	-$(DEL_FILE) $(OBJECTS)
199
-	-$(DEL_FILE) *~ core *.core
200
-
201
-
202
-####### Sub-libraries
203
-
204
-distclean: clean
205
-	-$(DEL_FILE) $(TARGET) 
206
-	-$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
207
-	-$(DEL_FILE) Makefile
208
-
209
-
210
-check: first
211
-
212
-mocclean: compiler_moc_header_clean compiler_moc_source_clean
213
-
214
-mocables: compiler_moc_header_make_all compiler_moc_source_make_all
215
-
216
-compiler_moc_header_make_all: moc_ptsocket.cpp moc_ptserver.cpp moc_broadcast.cpp
217
-compiler_moc_header_clean:
218
-	-$(DEL_FILE) moc_ptsocket.cpp moc_ptserver.cpp moc_broadcast.cpp
219
-moc_ptsocket.cpp: libptsocket_global.h \
220
-		ptsocket.h
221
-	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptsocket.h -o moc_ptsocket.cpp
222
-
223
-moc_ptserver.cpp: libptsocket_global.h \
224
-		ptsocket.h \
225
-		ptserver.h
226
-	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ptserver.h -o moc_ptserver.cpp
227
-
228
-moc_broadcast.cpp: ptsocket.h \
229
-		libptsocket_global.h \
230
-		broadcast.h
231
-	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) broadcast.h -o moc_broadcast.cpp
232
-
233
-compiler_rcc_make_all:
234
-compiler_rcc_clean:
235
-compiler_image_collection_make_all: qmake_image_collection.cpp
236
-compiler_image_collection_clean:
237
-	-$(DEL_FILE) qmake_image_collection.cpp
238
-compiler_moc_source_make_all:
239
-compiler_moc_source_clean:
240
-compiler_uic_make_all:
241
-compiler_uic_clean:
242
-compiler_yacc_decl_make_all:
243
-compiler_yacc_decl_clean:
244
-compiler_yacc_impl_make_all:
245
-compiler_yacc_impl_clean:
246
-compiler_lex_make_all:
247
-compiler_lex_clean:
248
-compiler_clean: compiler_moc_header_clean 
249
-
250
-####### Compile
251
-
252
-ptsocket.o: ptsocket.cpp ptsocket.h \
253
-		libptsocket_global.h
254
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptsocket.o ptsocket.cpp
255
-
256
-ptserver.o: ptserver.cpp ptserver.h \
257
-		libptsocket_global.h \
258
-		ptsocket.h
259
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ptserver.o ptserver.cpp
260
-
261
-broadcast.o: broadcast.cpp broadcast.h \
262
-		ptsocket.h \
263
-		libptsocket_global.h
264
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o broadcast.o broadcast.cpp
265
-
266
-moc_ptsocket.o: moc_ptsocket.cpp 
267
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptsocket.o moc_ptsocket.cpp
268
-
269
-moc_ptserver.o: moc_ptserver.cpp 
270
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ptserver.o moc_ptserver.cpp
271
-
272
-moc_broadcast.o: moc_broadcast.cpp 
273
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_broadcast.o moc_broadcast.cpp
274
-
275
-####### Install
276
-
277
-install_headers: first FORCE
278
-	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/ptsocket/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/ptsocket/ 
279
-	-$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/ptsocket.h $(INSTALL_ROOT)/usr/include/ptsocket/
280
-	-$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/libptsocket_global.h $(INSTALL_ROOT)/usr/include/ptsocket/
281
-	-$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/ptserver.h $(INSTALL_ROOT)/usr/include/ptsocket/
282
-	-$(INSTALL_FILE) /home/robin/libptsocket/ptsocket/broadcast.h $(INSTALL_ROOT)/usr/include/ptsocket/
283
-
284
-
285
-uninstall_headers:  FORCE
286
-	-$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptsocket.h 
287
-	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/libptsocket_global.h 
288
-	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/ptserver.h 
289
-	 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/ptsocket/broadcast.h
290
-	-$(DEL_DIR) $(INSTALL_ROOT)/usr/include/ptsocket/ 
291
-
292
-
293
-install_target: first FORCE
294
-	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/ 
295
-	-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
296
-	-$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib/$(TARGET)"
297
-	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET0)"
298
-	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET1)"
299
-	-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
300
-
301
-uninstall_target:  FORCE
302
-	-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)" 
303
-	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET0)" 
304
-	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET1)" 
305
-	 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET2)"
306
-	-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/ 
307
-
308
-
309
-install:  install_headers install_target  FORCE
310
-
311
-uninstall: uninstall_headers uninstall_target   FORCE
312
-
313
-FORCE:
314
-

+ 0
- 264
tests/Makefile Ver fichero

@@ -1,264 +0,0 @@
1
-#############################################################################
2
-# Makefile for building: tests
3
-# Generated by qmake (2.01a) (Qt 4.8.2) on: jeu. janv. 2 17:25:09 2014
4
-# Project:  tests.pro
5
-# Template: app
6
-# Command: /usr/bin/qmake -o Makefile tests.pro
7
-#############################################################################
8
-
9
-####### Compiler, tools and options
10
-
11
-CC            = gcc
12
-CXX           = g++
13
-DEFINES       = -DQT_WEBKIT -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14
-CFLAGS        = -m64 -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15
-CXXFLAGS      = -m64 -pipe -g -Wall -W -D_REENTRANT $(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../ptsocket -I.
17
-LINK          = g++
18
-LFLAGS        = -m64
19
-LIBS          = $(SUBLIBS)  -L/usr/lib/x86_64-linux-gnu -L/home/robin/libptsocket/tests/../ptsocket/ -lptsocket -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       = main.cpp \
47
-		test.cpp \
48
-		bctest.cpp moc_test.cpp \
49
-		moc_bctest.cpp
50
-OBJECTS       = main.o \
51
-		test.o \
52
-		bctest.o \
53
-		moc_test.o \
54
-		moc_bctest.o
55
-DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
56
-		/usr/share/qt4/mkspecs/common/linux.conf \
57
-		/usr/share/qt4/mkspecs/common/gcc-base.conf \
58
-		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
59
-		/usr/share/qt4/mkspecs/common/g++-base.conf \
60
-		/usr/share/qt4/mkspecs/common/g++-unix.conf \
61
-		/usr/share/qt4/mkspecs/qconfig.pri \
62
-		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
63
-		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
64
-		/usr/share/qt4/mkspecs/features/qt_functions.prf \
65
-		/usr/share/qt4/mkspecs/features/qt_config.prf \
66
-		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
67
-		/usr/share/qt4/mkspecs/features/default_pre.prf \
68
-		../commons.pri \
69
-		/usr/share/qt4/mkspecs/features/debug.prf \
70
-		/usr/share/qt4/mkspecs/features/default_post.prf \
71
-		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
72
-		/usr/share/qt4/mkspecs/features/warn_on.prf \
73
-		/usr/share/qt4/mkspecs/features/qt.prf \
74
-		/usr/share/qt4/mkspecs/features/unix/thread.prf \
75
-		/usr/share/qt4/mkspecs/features/moc.prf \
76
-		/usr/share/qt4/mkspecs/features/resources.prf \
77
-		/usr/share/qt4/mkspecs/features/uic.prf \
78
-		/usr/share/qt4/mkspecs/features/yacc.prf \
79
-		/usr/share/qt4/mkspecs/features/lex.prf \
80
-		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
81
-		tests.pro
82
-QMAKE_TARGET  = tests
83
-DESTDIR       = 
84
-TARGET        = tests
85
-
86
-first: all
87
-####### Implicit rules
88
-
89
-.SUFFIXES: .o .c .cpp .cc .cxx .C
90
-
91
-.cpp.o:
92
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
93
-
94
-.cc.o:
95
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
96
-
97
-.cxx.o:
98
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
99
-
100
-.C.o:
101
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102
-
103
-.c.o:
104
-	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
105
-
106
-####### Build rules
107
-
108
-all: Makefile $(TARGET)
109
-
110
-$(TARGET):  $(OBJECTS)  
111
-	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
-	{ 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 -f $(TARGET).gdb-index || true
113
-
114
-Makefile: tests.pro  /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
115
-		/usr/share/qt4/mkspecs/common/linux.conf \
116
-		/usr/share/qt4/mkspecs/common/gcc-base.conf \
117
-		/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
118
-		/usr/share/qt4/mkspecs/common/g++-base.conf \
119
-		/usr/share/qt4/mkspecs/common/g++-unix.conf \
120
-		/usr/share/qt4/mkspecs/qconfig.pri \
121
-		/usr/share/qt4/mkspecs/modules/qt_phonon.pri \
122
-		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
123
-		/usr/share/qt4/mkspecs/features/qt_functions.prf \
124
-		/usr/share/qt4/mkspecs/features/qt_config.prf \
125
-		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
126
-		/usr/share/qt4/mkspecs/features/default_pre.prf \
127
-		../commons.pri \
128
-		/usr/share/qt4/mkspecs/features/debug.prf \
129
-		/usr/share/qt4/mkspecs/features/default_post.prf \
130
-		/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
131
-		/usr/share/qt4/mkspecs/features/warn_on.prf \
132
-		/usr/share/qt4/mkspecs/features/qt.prf \
133
-		/usr/share/qt4/mkspecs/features/unix/thread.prf \
134
-		/usr/share/qt4/mkspecs/features/moc.prf \
135
-		/usr/share/qt4/mkspecs/features/resources.prf \
136
-		/usr/share/qt4/mkspecs/features/uic.prf \
137
-		/usr/share/qt4/mkspecs/features/yacc.prf \
138
-		/usr/share/qt4/mkspecs/features/lex.prf \
139
-		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
140
-		/usr/lib/x86_64-linux-gnu/libQtNetwork.prl \
141
-		/usr/lib/x86_64-linux-gnu/libQtCore.prl
142
-	$(QMAKE) -o Makefile tests.pro
143
-/usr/share/qt4/mkspecs/common/unix.conf:
144
-/usr/share/qt4/mkspecs/common/linux.conf:
145
-/usr/share/qt4/mkspecs/common/gcc-base.conf:
146
-/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
147
-/usr/share/qt4/mkspecs/common/g++-base.conf:
148
-/usr/share/qt4/mkspecs/common/g++-unix.conf:
149
-/usr/share/qt4/mkspecs/qconfig.pri:
150
-/usr/share/qt4/mkspecs/modules/qt_phonon.pri:
151
-/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
152
-/usr/share/qt4/mkspecs/features/qt_functions.prf:
153
-/usr/share/qt4/mkspecs/features/qt_config.prf:
154
-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
155
-/usr/share/qt4/mkspecs/features/default_pre.prf:
156
-../commons.pri:
157
-/usr/share/qt4/mkspecs/features/debug.prf:
158
-/usr/share/qt4/mkspecs/features/default_post.prf:
159
-/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
160
-/usr/share/qt4/mkspecs/features/warn_on.prf:
161
-/usr/share/qt4/mkspecs/features/qt.prf:
162
-/usr/share/qt4/mkspecs/features/unix/thread.prf:
163
-/usr/share/qt4/mkspecs/features/moc.prf:
164
-/usr/share/qt4/mkspecs/features/resources.prf:
165
-/usr/share/qt4/mkspecs/features/uic.prf:
166
-/usr/share/qt4/mkspecs/features/yacc.prf:
167
-/usr/share/qt4/mkspecs/features/lex.prf:
168
-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
169
-/usr/lib/x86_64-linux-gnu/libQtNetwork.prl:
170
-/usr/lib/x86_64-linux-gnu/libQtCore.prl:
171
-qmake:  FORCE
172
-	@$(QMAKE) -o Makefile tests.pro
173
-
174
-dist: 
175
-	@$(CHK_DIR_EXISTS) .tmp/tests1.0.0 || $(MKDIR) .tmp/tests1.0.0 
176
-	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/tests1.0.0/ && $(COPY_FILE) --parents test.h bctest.h .tmp/tests1.0.0/ && $(COPY_FILE) --parents main.cpp test.cpp bctest.cpp .tmp/tests1.0.0/ && (cd `dirname .tmp/tests1.0.0` && $(TAR) tests1.0.0.tar tests1.0.0 && $(COMPRESS) tests1.0.0.tar) && $(MOVE) `dirname .tmp/tests1.0.0`/tests1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/tests1.0.0
177
-
178
-
179
-clean:compiler_clean 
180
-	-$(DEL_FILE) $(OBJECTS)
181
-	-$(DEL_FILE) *~ core *.core
182
-
183
-
184
-####### Sub-libraries
185
-
186
-distclean: clean
187
-	-$(DEL_FILE) $(TARGET) 
188
-	-$(DEL_FILE) Makefile
189
-
190
-
191
-check: first
192
-
193
-mocclean: compiler_moc_header_clean compiler_moc_source_clean
194
-
195
-mocables: compiler_moc_header_make_all compiler_moc_source_make_all
196
-
197
-compiler_moc_header_make_all: moc_test.cpp moc_bctest.cpp
198
-compiler_moc_header_clean:
199
-	-$(DEL_FILE) moc_test.cpp moc_bctest.cpp
200
-moc_test.cpp: ../ptsocket/ptserver.h \
201
-		../ptsocket/libptsocket_global.h \
202
-		../ptsocket/ptsocket.h \
203
-		test.h
204
-	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) test.h -o moc_test.cpp
205
-
206
-moc_bctest.cpp: ../ptsocket/broadcast.h \
207
-		../ptsocket/ptsocket.h \
208
-		../ptsocket/libptsocket_global.h \
209
-		bctest.h
210
-	/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) bctest.h -o moc_bctest.cpp
211
-
212
-compiler_rcc_make_all:
213
-compiler_rcc_clean:
214
-compiler_image_collection_make_all: qmake_image_collection.cpp
215
-compiler_image_collection_clean:
216
-	-$(DEL_FILE) qmake_image_collection.cpp
217
-compiler_moc_source_make_all:
218
-compiler_moc_source_clean:
219
-compiler_uic_make_all:
220
-compiler_uic_clean:
221
-compiler_yacc_decl_make_all:
222
-compiler_yacc_decl_clean:
223
-compiler_yacc_impl_make_all:
224
-compiler_yacc_impl_clean:
225
-compiler_lex_make_all:
226
-compiler_lex_clean:
227
-compiler_clean: compiler_moc_header_clean 
228
-
229
-####### Compile
230
-
231
-main.o: main.cpp test.h \
232
-		../ptsocket/ptserver.h \
233
-		../ptsocket/libptsocket_global.h \
234
-		../ptsocket/ptsocket.h \
235
-		bctest.h \
236
-		../ptsocket/broadcast.h
237
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
238
-
239
-test.o: test.cpp test.h \
240
-		../ptsocket/ptserver.h \
241
-		../ptsocket/libptsocket_global.h \
242
-		../ptsocket/ptsocket.h
243
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o test.o test.cpp
244
-
245
-bctest.o: bctest.cpp bctest.h \
246
-		../ptsocket/broadcast.h \
247
-		../ptsocket/ptsocket.h \
248
-		../ptsocket/libptsocket_global.h
249
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o bctest.o bctest.cpp
250
-
251
-moc_test.o: moc_test.cpp 
252
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_test.o moc_test.cpp
253
-
254
-moc_bctest.o: moc_bctest.cpp 
255
-	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_bctest.o moc_bctest.cpp
256
-
257
-####### Install
258
-
259
-install:   FORCE
260
-
261
-uninstall:   FORCE
262
-
263
-FORCE:
264
-

Loading…
Cancelar
Guardar