summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /include/makeinclude/platform_linux.GNU
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'include/makeinclude/platform_linux.GNU')
-rw-r--r--include/makeinclude/platform_linux.GNU18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU
new file mode 100644
index 00000000000..cde3987019c
--- /dev/null
+++ b/include/makeinclude/platform_linux.GNU
@@ -0,0 +1,18 @@
+# According to Bryon G. Rigg <bgrigg@opus.bcbnet.com>, this file
+# should allow ACE to be built on Linux.
+
+CC = gcc -w
+CXX = gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__
+DLD = $(CXX)
+LIBS = -lstdc++
+PIC = -fPIC
+AR = ar
+ARFLAGS = ruv
+RANLIB = ranlib
+
+SOFLAGS = $(CPPFLAGS) -shared
+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)