Blame thirdparty/glew/glew-1.9.0/config/Makefile.linux
|
kusano |
7d535a |
NAME = $(GLEW_NAME)
|
|
kusano |
7d535a |
CC = cc
|
|
kusano |
7d535a |
LD = cc
|
|
kusano |
7d535a |
PICFLAG = -fPIC
|
|
kusano |
7d535a |
M_ARCH ?= $(shell uname -m)
|
|
kusano |
7d535a |
ifeq (x86_64,${M_ARCH})
|
|
kusano |
7d535a |
LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
|
|
kusano |
7d535a |
LIBDIR = $(GLEW_DEST)/lib64
|
|
kusano |
7d535a |
else
|
|
kusano |
7d535a |
LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
|
|
kusano |
7d535a |
LIBDIR = $(GLEW_DEST)/lib
|
|
kusano |
7d535a |
endif
|
|
kusano |
7d535a |
LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
|
|
kusano |
7d535a |
LDFLAGS.STATIC = -Wl,-Bstatic
|
|
kusano |
7d535a |
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
|
kusano |
7d535a |
NAME = GLEW
|
|
kusano |
7d535a |
WARN = -Wall -W
|
|
kusano |
7d535a |
POPT = -O2
|
|
kusano |
7d535a |
BIN.SUFFIX =
|
|
kusano |
7d535a |
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
|
|
kusano |
7d535a |
LIB.DEVLNK = lib$(NAME).so
|
|
kusano |
7d535a |
LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
|
|
kusano |
7d535a |
LIB.STATIC = lib$(NAME).a
|
|
kusano |
7d535a |
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
|
kusano |
7d535a |
LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
|
|
kusano |
7d535a |
LIB.DEVLNK.MX = lib$(NAME)mx.so
|
|
kusano |
7d535a |
LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
|
|
kusano |
7d535a |
LIB.STATIC.MX = lib$(NAME)mx.a
|
|
kusano |
7d535a |
LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
|