|
From: <mik...@us...> - 2003-12-24 13:04:01
|
Update of /cvsroot/sharedaemon/sharedaemon-ui-web
In directory sc8-pr-cvs1:/tmp/cvs-serv659
Modified Files:
.cdtbuild Makefile.lin Makefile.bsd Makefile.osx Makefile.win
ChangeLog
Log Message:
24/12/2003 Barbeaux
* Added simple test programs for Exceptions and Threads.
* Implemented Semaphore and Thread.
Index: .cdtbuild
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/.cdtbuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cdtbuild 24 Dec 2003 11:04:46 -0000 1.1
+++ .cdtbuild 24 Dec 2003 13:03:56 -0000 1.2
@@ -21,6 +21,11 @@
<optionReference defaultValue="Optimize most (-O3)" id="linux.gnu.c.compiler.general.optimization.level"/>
<optionReference defaultValue="None" id="linux.c.compiler.debugging.level"/>
</toolReference>
+ <toolReference id="cdt.build.tool.linux.gnu.link">
+ <optionReference id="linux.gnu.linker.libs.libs">
+ <listOptionValue builtIn="false" value="pthread"/>
+ </optionReference>
+ </toolReference>
</configuration>
<configuration id="linux.gnu.exec.debug.872073189" name="Debug" parent="linux.gnu.exec.debug">
<toolReference id="cdt.build.tool.linux.gnu.compiler">
Index: Makefile.lin
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/Makefile.lin,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.lin 24 Dec 2003 10:49:48 -0000 1.1
+++ Makefile.lin 24 Dec 2003 13:03:56 -0000 1.2
@@ -1,51 +1,51 @@
-# Simple Makefile
-# Author : Mikael Barbeaux
-
-
-# Edit thoses variables for suiting to your computer
-
-
-# Your flags from the C++ compiler
-CCFLAGS = -O3 -march=athlon-xp
-
-# Do you want debugging ?
-#CCFLAGS += -D_DEBUG_INFO_
-
-# Name of the binary
-BIN = ui-web-std
-
-
-
-# !!!!!
-# DO NOT CHANGE ANYTHING FROM THIS POINT
-# !!!!!
-
-CCFLAGS += -D_LINUX_ -g -Wall -pedantic
-MAKE = make
-CC = g++
-RM = rm
-STRIP = strip
-LIBS = -lpthread
-
-OBJECTS = src/exceptions/Exception.o \
- src/exceptions/ThreadException.o \
- src/test/TestHandler.o \
- src/test/TestException.o \
- src/Main.o
-
-$(BIN) : $(OBJECTS)
- $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
-
-%.o : %.cpp
- $(CC) $(CCFLAGS) -o $@ -c $<
-
-all : $(BIN)
-
-strip:
- $(STRIP) $(BIN)
-
-.PHONY : clean
-
-clean :
- $(RM) -f $(BIN) $(OBJECTS)
-
+# Simple Makefile
+# Author : Mikael Barbeaux
+
+
+# Edit thoses variables for suiting to your computer
+
+
+# Your flags from the C++ compiler
+CCFLAGS = -O3 -march=athlon-xp
+
+# Do you want debugging ?
+#CCFLAGS += -D_DEBUG_INFO_
+
+# Name of the binary
+BIN = ui-web
+
+
+
+# !!!!!
+# DO NOT CHANGE ANYTHING FROM THIS POINT
+# !!!!!
+
+CCFLAGS += -D_LINUX_ -g -Wall -pedantic
+MAKE = make
+CC = g++
+RM = rm
+STRIP = strip
+LIBS = -lpthread
+
+OBJECTS = src/exceptions/Exception.o \
+ src/exceptions/ThreadException.o \
+ src/test/TestHandler.o \
+ src/test/TestException.o \
+ src/Main.o
+
+$(BIN) : $(OBJECTS)
+ $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
+
+%.o : %.cpp
+ $(CC) $(CCFLAGS) -o $@ -c $<
+
+all : $(BIN)
+
+strip:
+ $(STRIP) $(BIN)
+
+.PHONY : clean
+
+clean :
+ $(RM) -f $(BIN) $(OBJECTS)
+
Index: Makefile.bsd
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/Makefile.bsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.bsd 24 Dec 2003 10:49:48 -0000 1.1
+++ Makefile.bsd 24 Dec 2003 13:03:56 -0000 1.2
@@ -1,53 +1,53 @@
-# Simple Makefile
-# Author : Mikael Barbeaux
-
-######################################################
-# Edit thoses variables for suiting to your computer #
-######################################################
-
-# Your flags from the C++ compiler
-CCFLAGS = -O3 -march=athlon-xp
-
-# Do you want debugging ?
-#CCFLAGS += -D_DEBUG_INFO_
-
-# Name of the binary
-BIN = ui-web-std
-
-
-#############################################
-# #
-# DO NOT CHANGE ANYTHING FROM THIS POINT #
-# #
-#############################################
-
-CCFLAGS += -D_LINUX_ -g -Wall
-MAKE = make
-CC = g++
-RM = rm
-STRIP = strip
-LIBS = -pthread
-
-
-OBJECTS = src/exceptions/Exception.o \
- src/exceptions/ThreadException.o \
- src/test/TestHandler.o \
- src/test/TestException.o \
- src/Main.o
-
-$(BIN) : $(OBJECTS)
- $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
-
-%.o : %.cpp
- $(CC) $(CCFLAGS) -o $@ -c $<
-
-all : $(BIN)
-
-strip:
- $(STRIP) $(BIN)
-
-.PHONY : clean
-
-clean :
- $(RM) -f $(BIN) $(OBJECTS)
-
+# Simple Makefile
+# Author : Mikael Barbeaux
+
+######################################################
+# Edit thoses variables for suiting to your computer #
+######################################################
+
+# Your flags from the C++ compiler
+CCFLAGS = -O3 -march=athlon-xp
+
+# Do you want debugging ?
+#CCFLAGS += -D_DEBUG_INFO_
+
+# Name of the binary
+BIN = ui-web
+
+
+#############################################
+# #
+# DO NOT CHANGE ANYTHING FROM THIS POINT #
+# #
+#############################################
+
+CCFLAGS += -D_LINUX_ -g -Wall
+MAKE = make
+CC = g++
+RM = rm
+STRIP = strip
+LIBS = -pthread
+
+
+OBJECTS = src/exceptions/Exception.o \
+ src/exceptions/ThreadException.o \
+ src/test/TestHandler.o \
+ src/test/TestException.o \
+ src/Main.o
+
+$(BIN) : $(OBJECTS)
+ $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
+
+%.o : %.cpp
+ $(CC) $(CCFLAGS) -o $@ -c $<
+
+all : $(BIN)
+
+strip:
+ $(STRIP) $(BIN)
+
+.PHONY : clean
+
+clean :
+ $(RM) -f $(BIN) $(OBJECTS)
+
Index: Makefile.osx
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/Makefile.osx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.osx 24 Dec 2003 10:49:48 -0000 1.1
+++ Makefile.osx 24 Dec 2003 13:03:56 -0000 1.2
@@ -1,53 +1,53 @@
-# Simple Makefile
-# Author : Mikael Barbeaux
-
-######################################################
-# Edit thoses variables for suiting to your computer #
-######################################################
-
-# Your flags from the C++ compiler
-CCFLAGS = -O3 -march=athlon-xp
-
-# Do you want debugging ?
-#CCFLAGS += -D_DEBUG_INFO_
-
-# Name of the binary
-BIN = ui-web-std
-
-
-#############################################
-# #
-# DO NOT CHANGE ANYTHING FROM THIS POINT #
-# #
-#############################################
-
-CCFLAGS += -D_MACOSX_ -g -Wall
-MAKE = make
-CC = g++
-RM = rm
-STRIP = strip
-LIBS = -lpthread
-
-
-OBJECTS = src/exceptions/Exception.o \
- src/exceptions/ThreadException.o \
- src/test/TestHandler.o \
- src/test/TestException.o \
- src/Main.o
-
-$(BIN) : $(OBJECTS)
- $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
-
-%.o : %.cpp
- $(CC) $(CCFLAGS) -o $@ -c $<
-
-all : $(BIN)
-
-strip:
- $(STRIP) $(BIN)
-
-.PHONY : clean
-
-clean :
- $(RM) -f $(BIN) $(OBJECTS)
-
+# Simple Makefile
+# Author : Mikael Barbeaux
+
+######################################################
+# Edit thoses variables for suiting to your computer #
+######################################################
+
+# Your flags from the C++ compiler
+CCFLAGS = -O3 -march=athlon-xp
+
+# Do you want debugging ?
+#CCFLAGS += -D_DEBUG_INFO_
+
+# Name of the binary
+BIN = ui-web
+
+
+#############################################
+# #
+# DO NOT CHANGE ANYTHING FROM THIS POINT #
+# #
+#############################################
+
+CCFLAGS += -D_MACOSX_ -g -Wall
+MAKE = make
+CC = g++
+RM = rm
+STRIP = strip
+LIBS = -lpthread
+
+
+OBJECTS = src/exceptions/Exception.o \
+ src/exceptions/ThreadException.o \
+ src/test/TestHandler.o \
+ src/test/TestException.o \
+ src/Main.o
+
+$(BIN) : $(OBJECTS)
+ $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBS)
+
+%.o : %.cpp
+ $(CC) $(CCFLAGS) -o $@ -c $<
+
+all : $(BIN)
+
+strip:
+ $(STRIP) $(BIN)
+
+.PHONY : clean
+
+clean :
+ $(RM) -f $(BIN) $(OBJECTS)
+
Index: Makefile.win
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/Makefile.win,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.win 24 Dec 2003 10:49:48 -0000 1.1
+++ Makefile.win 24 Dec 2003 13:03:56 -0000 1.2
@@ -1,60 +1,60 @@
-# Simple Makefile
-# Author : Mikael Barbeaux
-
-######################################################
-# Edit thoses variables for suiting to your computer #
-######################################################
-
-# MinGW direcoty
-MINGW_DIR = G:/Dev-Cpp
-
-# Your flags from the C++ compiler
-CCFLAGS = -O3 -march=athlon-xp
-
-# Do you want debugging ?
-#CCFLAGS += -D_DEBUG_INFO_
-
-# Name of the binary
-BIN = ui-web-std.exe
-
-
-#############################################
-# #
-# DO NOT CHANGE ANYTHING FROM THIS POINT #
-# #
-#############################################
-
-CCFLAGS += -D_WIN32_ -g -Wall
-MAKE = $(MINGW_DIR)/bin/make.exe
-CC = $(MINGW_DIR)/bin/g++.exe
-RM = $(MINGW_DIR)/bin/rm.exe
-STRIP = $(MINGW_DIR)/bin/strip.exe
-INCLUDE_DIRS = -I"$(MINGW_DIR)/include/c++" -I"$(MINGW_DIR)/include/c++/mingw32"
-INLUCDE_DIRS += -I"$(MINGW_DIR)/include/c++/backward" -I"$(MINGW_DIR)/include"
-LIBRARIES_DIR = -L"$(MINGW_DIR)/lib"
-LIBS = -L"$(MINGW_DIR)/lib" $(MINGW_DIR)/lib/libws2_32.a
-# $(MINGW_DIR)/lib/libpthreadGCE.a
-
-
-OBJECTS = src/exceptions/Exception.o \
- src/exceptions/ThreadException.o \
- src/test/TestHandler.o \
- src/test/TestException.o \
- src/Main.o
-
-$(BIN) : $(OBJECTS)
- $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBRARIES_DIR) $(LIBS)
-
-%.o : %.cpp
- $(CC) $(CCFLAGS) $(INCLUDE_DIRS) -o $@ -c $<
-
-all : $(BIN)
-
-strip:
- $(STRIP) $(BIN)
-
-.PHONY : clean
-
-clean :
- $(RM) -f $(BIN) $(OBJECTS)
-
+# Simple Makefile
+# Author : Mikael Barbeaux
+
+######################################################
+# Edit thoses variables for suiting to your computer #
+######################################################
+
+# MinGW direcoty
+MINGW_DIR = G:/Dev-Cpp
+
+# Your flags from the C++ compiler
+CCFLAGS = -O3 -march=athlon-xp
+
+# Do you want debugging ?
+#CCFLAGS += -D_DEBUG_INFO_
+
+# Name of the binary
+BIN = ui-web.exe
+
+
+#############################################
+# #
+# DO NOT CHANGE ANYTHING FROM THIS POINT #
+# #
+#############################################
+
+CCFLAGS += -D_WIN32_ -g -Wall
+MAKE = $(MINGW_DIR)/bin/make.exe
+CC = $(MINGW_DIR)/bin/g++.exe
+RM = $(MINGW_DIR)/bin/rm.exe
+STRIP = $(MINGW_DIR)/bin/strip.exe
+INCLUDE_DIRS = -I"$(MINGW_DIR)/include/c++" -I"$(MINGW_DIR)/include/c++/mingw32"
+INLUCDE_DIRS += -I"$(MINGW_DIR)/include/c++/backward" -I"$(MINGW_DIR)/include"
+LIBRARIES_DIR = -L"$(MINGW_DIR)/lib"
+LIBS = -L"$(MINGW_DIR)/lib" $(MINGW_DIR)/lib/libws2_32.a
+# $(MINGW_DIR)/lib/libpthreadGCE.a
+
+
+OBJECTS = src/exceptions/Exception.o \
+ src/exceptions/ThreadException.o \
+ src/test/TestHandler.o \
+ src/test/TestException.o \
+ src/Main.o
+
+$(BIN) : $(OBJECTS)
+ $(CC) $(CCFLAGS) -o $(BIN) $(OBJECTS) $(LIBRARIES_DIR) $(LIBS)
+
+%.o : %.cpp
+ $(CC) $(CCFLAGS) $(INCLUDE_DIRS) -o $@ -c $<
+
+all : $(BIN)
+
+strip:
+ $(STRIP) $(BIN)
+
+.PHONY : clean
+
+clean :
+ $(RM) -f $(BIN) $(OBJECTS)
+
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog 24 Dec 2003 11:52:49 -0000 1.2
+++ ChangeLog 24 Dec 2003 13:03:56 -0000 1.3
@@ -24,6 +24,8 @@
-----------------------------------------------------------
24/12/2003 Barbeaux
+ * Added simple test programs for Exceptions and Threads.
+ * Implemented Semaphore and Thread.
* Implemented Mutex and Condition.
* Implemented a ThreadException.
* Added origin message into Exception handler.
|