kusano 7d535a
NAME = $(GLEW_NAME)
kusano 7d535a
CC = cc
kusano 7d535a
LD = cc
kusano 7d535a
CFLAGS.EXTRA = -dynamic -fno-common
kusano 7d535a
#CFLAGS.EXTRA += -no-cpp-precomp
kusano 7d535a
PICFLAG = -fPIC
kusano 7d535a
LDFLAGS.EXTRA =
kusano 7d535a
ifneq (undefined, $(origin GLEW_APPLE_GLX))
kusano 7d535a
CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
kusano 7d535a
LDFLAGS.GL = -L/usr/X11R6/lib -lXmu -lXi -lGL -lXext -lX11
kusano 7d535a
else
kusano 7d535a
LDFLAGS.GL = -framework AGL -framework OpenGL
kusano 7d535a
endif
kusano 7d535a
LDFLAGS.STATIC =
kusano 7d535a
LDFLAGS.DYNAMIC =
kusano 7d535a
WARN = -Wall -W
kusano 7d535a
POPT = -O2
kusano 7d535a
BIN.SUFFIX =
kusano 7d535a
LIB.SONAME    = lib$(NAME).$(SO_MAJOR).dylib
kusano 7d535a
LIB.DEVLNK    = lib$(NAME).dylib
kusano 7d535a
LIB.SHARED    = lib$(NAME).$(SO_VERSION).dylib
kusano 7d535a
LIB.STATIC    = lib$(NAME).a
kusano 7d535a
LDFLAGS.SO    = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
kusano 7d535a
LIB.SONAME.MX = lib$(NAME)mx.$(SO_MAJOR).dylib
kusano 7d535a
LIB.DEVLNK.MX = lib$(NAME)mx.dylib
kusano 7d535a
LIB.SHARED.MX = lib$(NAME)mx.$(SO_VERSION).dylib
kusano 7d535a
LIB.STATIC.MX = lib$(NAME)mx.a
kusano 7d535a
LDFLAGS.SO.MX = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED.MX) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)