d3d1x: fix parallel build
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 12:07:34 +0000 (14:07 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 12:11:12 +0000 (14:11 +0200)
src/gallium/state_trackers/d3d1x/d3d1xshader/Makefile
src/gallium/state_trackers/d3d1x/gd3d1x/Makefile

index 3754c23983ad7e8ba38f9cbe763eed218e57daa4..f132518ccc71993a55dec4c4c57b8ce2465b4d32 100644 (file)
@@ -2,7 +2,8 @@ LIBNAME=d3d1xshader
 CPP_SOURCES=$(wildcard src/*.cpp) src/sm4_text.cpp
 LIBRARY_INCLUDES=-Iinclude -I../d3dapi -I../w32api
 PROGS=tools/fxdis
-LIBS=libd3d1xshader.a
+PROGS_DEPS=libd3d1xshader.a
+LIBS=$(PROGS_DEPS)
 
 include ../Makefile.inc
 
index a1ab425f1a0c97f7940b080590dd5e0210c00a09..32d29563ecc502c43671ad7b10f4d85ba1b84fa2 100644 (file)
@@ -2,5 +2,6 @@ LIBNAME=gd3d1x
 CPP_SOURCES=$(wildcard *.cpp)
 LIBRARY_INCLUDES=-Iinclude -I../gd3dapi -I../d3dapi -I../w32api -I../d3d1xstutil/include -I../d3d1xshader/include -I../../../include -I../../../auxiliary -I../../../state_trackers/egl/common
 PROGS=tools/dxbc2tgsi
-LIBS=libgd3d1x.a ../d3d1xshader/libd3d1xshader.a ../d3d1xstutil/libd3d1xstutil.a ../../../auxiliary/libgallium.a -ldl
+PROGS_DEPS=libgd3d1x.a ../d3d1xshader/libd3d1xshader.a ../d3d1xstutil/libd3d1xstutil.a ../../../auxiliary/libgallium.a
+LIBS=$(PROGS_DEPS) -ldl
 include ../Makefile.inc