diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-04-28 20:15:51 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-04-28 20:15:51 +0000 |
commit | 3109c8906d1db37e0790b59c11bc8b91e95f9678 (patch) | |
tree | a1c272e3c48ff8455f00c64253f48b70d6aadc70 /include | |
parent | 3287938bcaf5d4ea5b49a53d91b2d307bf606803 (diff) | |
download | ATCD-3109c8906d1db37e0790b59c11bc8b91e95f9678.tar.gz |
ChangeLogTag:Fri Apr 28 13:11:20 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_linux_lxpthread.GNU | 84 |
1 files changed, 2 insertions, 82 deletions
diff --git a/include/makeinclude/platform_linux_lxpthread.GNU b/include/makeinclude/platform_linux_lxpthread.GNU index d246985f2b2..1ff537f1535 100644 --- a/include/makeinclude/platform_linux_lxpthread.GNU +++ b/include/makeinclude/platform_linux_lxpthread.GNU @@ -1,86 +1,6 @@ # $Id$ -# For pthreads support on Linux, you need -# -D_POSIX_THREADS -# -D_POSIX_THREAD_SAFE_FUNCTIONS -# in the CXX command line. Also, add -lpthreads to the LIBS. -# libpthreads.so comes with the sources of Linux libc-5.3.*, you need -# to compile it yourself (no binaries included) -- -# Jan Rychter <jwr@icm.edu.pl> +# This file is here for backward compatibility. -ifeq (,$(debug)) - debug = 1 -endif -ifeq (,$(optimize)) - optimize = 1 -endif - xt_reactor = 0 +include $(ACE_ROOT)/include/makeinclude/platform_linux_lxpthreads.GNU -PLATFORM_XT_CPPFLAGS= -PLATFORM_XT_LIBS=-lXt -PLATFORM_XT_LDFLAGS= - -fl_reactor = 0 - -PLATFORM_FL_CPPFLAGS= -PLATFORM_FL_LIBS=-lfltk -PLATFORM_FL_LDFLAGS= - -PLATFORM_X11_CPPFLAGS=-I/usr/X11R6/include -PLATFORM_X11_LIBS=-lX11 -PLATFORM_X11_LDFLAGS=-L/usr/X11R6/lib - -PLATFORM_GL_CPPFLAGS= -PLATFORM_GL_LIBS=-lGL -PLATFORM_GL_LDFLAGS= - -PLATFORM_AIO_SUPPORT := \ - $(shell test -e /usr/lib/librt.so && echo -DACE_HAS_AIO_CALLS) - -ifeq ($(NO_IMPLICIT_TEMPLATES),) - NO_IMPLICIT_TEMPLATES = -fno-implicit-templates -endif - -CC = gcc -CXX = g++ -CFLAGS += -W -Wall -pipe \ - -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT \ - $(PLATFORM_AIO_SUPPORT) -CCFLAGS += $(CFLAGS) $(NO_IMPLICIT_TEMPLATES) -DCFLAGS += -g -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) - LIBS += -lrt -endif -OCFLAGS += -O3 -PCFLAGS = -pg -PCCFLAGS = -pg -PIC = -fPIC -AR = ar -ARFLAGS = rsuv -RANLIB = @true -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \ - $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> -ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< -ifndef PRELIB - PRELIB = @true -endif # ! PRELIB - - -#### GNU gas has a string limit of 4096 characters. On Alphas, -#### builds will fail due to running over that limit. There are -#### at least two workarounds: -#### 1) Change the limit to 8192 characters and rebuild gas. See -#### ACE-INSTALL.html for more information. -#### 2) Don't use -g when compiling those files. -#### If you're building on an Alpha and you haven't hacked and -#### rebuilt gas, you might need to uncomment the following. -#### ifeq ($(debug),1) -#### SUPPRESS_DASH_G = 1 -#### endif # debug |