summaryrefslogtreecommitdiff
path: root/config/Makefile.solaris-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'config/Makefile.solaris-gcc')
-rw-r--r--config/Makefile.solaris-gcc20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/Makefile.solaris-gcc b/config/Makefile.solaris-gcc
new file mode 100644
index 0000000..d66395b
--- /dev/null
+++ b/config/Makefile.solaris-gcc
@@ -0,0 +1,20 @@
+NAME = $(GLEW_NAME)
+CC = gcc
+LD = ld
+CFLAGS.EXTRA = -I/usr/openwin/include -fPIC
+LDFLAGS.SO = -G
+LDFLAGS.EXTRA = -L/usr/openwin/lib
+LDFLAGS.GL = -lGL -lX11
+NAME = GLEW
+BIN.SUFFIX =
+POPT = -O2
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
+LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
+LIB.DEVLNK.MX = lib$(NAME)mx.so
+LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
+LIB.STATIC.MX = lib$(NAME)mx.a
+LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)