diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-01-26 17:42:06 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-01-26 17:42:06 +0000 |
commit | d2f892f86e86ace0ed58402f0f7100fc02c362b5 (patch) | |
tree | f16ac2b008016c729df861c2a8fb3e2530682ec9 /include/makeinclude/platform_linux_borland.GNU | |
parent | 779f1b282f9513c1c8c13a82af30600a3f0ce888 (diff) | |
download | ATCD-d2f892f86e86ace0ed58402f0f7100fc02c362b5.tar.gz |
ChangeLogTag: Sun Jan 26 17:38:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'include/makeinclude/platform_linux_borland.GNU')
-rw-r--r-- | include/makeinclude/platform_linux_borland.GNU | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/makeinclude/platform_linux_borland.GNU b/include/makeinclude/platform_linux_borland.GNU index e7757e50e7c..9515d5a2c38 100644 --- a/include/makeinclude/platform_linux_borland.GNU +++ b/include/makeinclude/platform_linux_borland.GNU @@ -23,8 +23,17 @@ ifeq (,$(threads)) threads = 1 endif +PLATFORM_AIO_SUPPORT := \ + $(shell test -e /usr/lib/librt.so && echo -DACE_HAS_AIO_CALLS) + ifeq ($(threads),0) CPPFLAGS += -DACE_MT_SAFE=0 +else + LIBS += libpthread + ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT)) + CPPFLAGS += -DACE_HAS_AIO_CALLS + LIBS += liblrt + endif endif # threads PLATFORM_XT_CPPFLAGS= @@ -51,9 +60,6 @@ PLATFORM_WX_CPPFLAGS= $(shell wx-config --cflags) $(PLATFORM_GTK_CPPFLAGS) PLATFORM_WX_LIBS = $(shell wx-config --libs) $(PLATFORM_GTK_LIBS) PLATFORM_WX_LDFLAGS = -PLATFORM_AIO_SUPPORT := \ - $(shell test -e /usr/lib/librt.so && echo -DACE_HAS_AIO_CALLS) - ifeq ($(insure),1) CC = insure CXX = insure @@ -98,8 +104,7 @@ CPPFLAGS += #$(CFLAGS) CCFLAGS += $(CFLAGS) BORLDFLAGS = -c -L$(LIBPATH):$(ACELIBPATH) -x -Gn -v -L$(LIBPATH):$(ACELIBPATH) BORINITOBJ = borinitso.o borinit.o crt1.o -BORSHAREDOBJ += libborcrtl.so libborstl.so libborunwind.so \ - libpthread.so libc.so libm.so libdl.so +BORSHAREDOBJ += libborcrtl.so libborstl.so libborunwind.so libc.so libm.so libdl.so PRELINK= SOFLAGS= $(BORSHAREDOBJ) borinitso.o -Tpd |