diff options
Diffstat (limited to 'include/makeinclude/platform_sco-nothread.GNU')
-rw-r--r-- | include/makeinclude/platform_sco-nothread.GNU | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/makeinclude/platform_sco-nothread.GNU b/include/makeinclude/platform_sco-nothread.GNU new file mode 100644 index 00000000000..e6bb5c810dc --- /dev/null +++ b/include/makeinclude/platform_sco-nothread.GNU @@ -0,0 +1,20 @@ +# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file +# should allow ACE to be built on Linux. + +CC = gcc -w +# for threads +# for no threads +CXX = gcc -fno-implicit-templates -w -I. -fno-strict-prototypes -D__ACE_INLINE__ +DLD = $(CXX) +LIBS = -lstdc++ -lsocket +PIC = +AR = ar +ARFLAGS = ruv +RANLIB = /bin/true + +SOFLAGS = $(CPPFLAGS) +SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< +PRELIB = (echo "main() { }" > gcctemp.c && \ + $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ + $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ + status=$$?; exit $$status) |