Ticket #21155: patch-ARB-makefile.diff
File patch-ARB-makefile.diff, 1.6 KB (added by matt.cottrell@…, 15 years ago) |
---|
-
Makefile
202 202 XINCLUDES:=-I$(XHOME)/include 203 203 204 204 ifdef DARWIN 205 XINCLUDES := -I /sw/include -I$(OSX_SDK)/usr/X11/include -I$(OSX_SDK)/usr/include/krb5 -I/usr/OpenMotif/include #Snow Leopard couldn't find OpenMotif205 XINCLUDES := -I$(OSX_FW)/OpenGL.framework/Headers -I$(OSX_SDK)/usr/X11/include -I$(OSX_SDK)/usr/include/krb5 -I$(OSX_FW)/GLUT.framework/Headers -I$(PREFIX)/include 206 206 endif 207 207 208 208 ifdef DARWIN 209 XLIBS := -L /usr/OpenMotif/lib -lXm -L$(XHOME)/lib -lpng -lXt -lX11 -lXext -lXp -lc -lXmu -lXi209 XLIBS := -L$(PREFIX)/lib -lXm -L$(XHOME)/lib -lpng -lXt -lX11 -lXext -lXp -lc -lXmu -lXi 210 210 XLIBS += -lGLU -lGL -Wl,-dylib_file,$(OSX_FW_OPENGL)/libGL.dylib:$(OSX_FW_OPENGL)/libGL.dylib 211 211 else 212 212 XLIBS:=-L$(XHOME)/$(CROSS_LIB) -lXm -lXpm -lXp -lXt -lXext -lX11 … … 225 225 226 226 GL_PNGLIBS := -L$(ARBHOME)/GL/glpng -lglpng_arb -lpng 227 227 228 ifdef DARWIN 229 GLEWLIB := -L/usr/lib -lGLEW -L$(OSX_SDK)/usr/X11/lib -lGLw 230 GLUTLIB := -L$(XHOME)/lib -lglut 231 else 232 GLEWLIB := -lGLEW -lGLw 233 GLUTLIB := -lglut 234 endif 235 228 GLEWLIB := -lGLEW -lGLw 229 GLUTLIB := -lglut 230 236 231 GL_LIBS := $(GL_LIB) $(GLEWLIB) $(GLUTLIB) $(GL_PNGLIBS) 237 232 238 233 #XLIBS += $(GL_LIB) … … 247 242 248 243 #---------------------- tiff lib: 249 244 250 ifdef DARWIN 251 TIFFLIBS := -L/usr/local/lib -ltiff -L$(OSX_FW_IMAGEIO) -lTIFF 252 else 253 TIFFLIBS := -ltiff 254 endif 245 TIFFLIBS := -ltiff 255 246 256 247 #---------------------- basic libs: 257 248 … … 318 309 319 310 CTAGS := etags 320 311 ifdef DARWIN 321 XMKMF := /usr/X11/bin/xmkmf312 XMKMF := $(PREFIX)/bin/xmkmf 322 313 else 323 314 XMKMF := /usr/bin/X11/xmkmf 324 315 endif