Update of /cvsroot/sharedaemon/core/src
In directory sc8-pr-cvs1:/tmp/cvs-serv20044
Modified Files:
Makefile.cvs
Log Message:
Initial support for BeOS
Index: Makefile.cvs
===================================================================
RCS file: /cvsroot/sharedaemon/core/src/Makefile.cvs,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Makefile.cvs 16 Dec 2003 22:47:21 -0000 1.15
+++ Makefile.cvs 4 Jan 2004 18:25:53 -0000 1.16
@@ -26,17 +26,20 @@
# the hash signs ('#'). If you don't have a Linux system. Comment them
# out by prefixing them by a hash sign.
-# LINUX = true
+LINUX = true
# If you have a Win32 system, behave like for Linux, but with the following
# line
-WIN32 = true
+# WIN32 = true
# If you have a Mac OS X system, ...
# MACOSX = true
+# If you have a BeOS system ...
+
+# BEOS = true
# Do you want colored debug output? If yes, uncomment the following line.
@@ -49,7 +52,7 @@
ifdef WIN32
CXX = g++ -b i686-mingw32msvc
CC = gcc -b i686-mingw32msvc
-LDFLAGS += -lwsock32 -lmingwex
+LDFLAGS += -lwsock32 -lmingwex -lm
BINARY = test.exe
CPPFLAGS += -DWIN32
endif
@@ -58,21 +61,29 @@
BINARY = test
CPPFLAGS += -DLINUX
CFLAGS += -std=c99
+LDFLAGS += -lm
endif
ifdef MACOSX
BINARY = test
CPPFLAGS += -DMACOSX
CFLAGS += -std=c99
+LDFLAGS += -lm
endif
+ifdef BEOS
+BINARY = test
+CPPFLAGS += -DBEOS
+LDFLAGS += -lsocket -lbind
+endif
all: $(BINARY)
+ echo $(OSTYPE)
CFLAGS += -g -Wall -O3
CXXFLAGS += -g -Wall -O3
CPPFLAGS += -DXMULE2
-LDFLAGS += -g -lm
+LDFLAGS += -g
# -lstdc++
OBJS = ClientList.oo Client.oo test.oo ClientShadow.oo Socket.oo osdep.oo \
|