summaryrefslogtreecommitdiffstats
path: root/configs/default
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-07-02 07:38:40 +0000
committerIan Romanick <idr@us.ibm.com>2005-07-02 07:38:40 +0000
commit9204e87b2ea2e9b441ab6422ae58bfebb5cdffce (patch)
treebe328c011c71c6ae6763b69bc87afb35a13437f9 /configs/default
parent4f178c6e3a95848257edc4623c72fb0a8eebf282 (diff)
downloadexternal_mesa3d-9204e87b2ea2e9b441ab6422ae58bfebb5cdffce.zip
external_mesa3d-9204e87b2ea2e9b441ab6422ae58bfebb5cdffce.tar.gz
external_mesa3d-9204e87b2ea2e9b441ab6422ae58bfebb5cdffce.tar.bz2
Massive refactor of (most of) the Linux config files. This reduces
the length of each config and brings a lot of much needed uniformity to them.
Diffstat (limited to 'configs/default')
-rw-r--r--configs/default7
1 files changed, 4 insertions, 3 deletions
diff --git a/configs/default b/configs/default
index 7001411..27a03f1 100644
--- a/configs/default
+++ b/configs/default
@@ -66,9 +66,10 @@ PROGRAM_DIRS = demos redbook samples xdemos
# Library/program dependencies
-GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
+EXTRA_LIB_PATH ?=
+GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
-GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
+GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
+GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm