2011-04-01 16:12:59 +00:00
|
|
|
NAME = $(GLEW_NAME)
|
2014-02-20 00:38:55 +00:00
|
|
|
CC = gcc
|
|
|
|
LD = ld
|
2015-01-24 07:08:19 +00:00
|
|
|
CFLAGS.EXTRA = -I/usr/openwin/include -fPIC
|
2011-04-01 16:12:59 +00:00
|
|
|
LDFLAGS.SO = -G
|
|
|
|
LDFLAGS.EXTRA = -L/usr/openwin/lib
|
2014-02-20 00:21:33 +00:00
|
|
|
LDFLAGS.GL = -lGL -lX11
|
2011-04-01 16:12:59 +00:00
|
|
|
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)
|