diff options
author | Jon Smirl <[email protected]> | 2003-08-23 04:58:24 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2003-08-23 04:58:24 +0000 |
commit | 1da1f1e4baf9899cf85e69ad133863bd7621d8bd (patch) | |
tree | f380bce4f61cc0bfa195270f74bc05b58b80beb0 /src/mesa/drivers | |
parent | 7c819439bac396a8f37e38a3acb137626946c6c5 (diff) |
update fb makefile for new directory structure, add depends
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/fb/Makefile.X11 | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/fb/Makefile.X11 b/src/mesa/drivers/dri/fb/Makefile.X11 index feca4e957ac..4a3c7a3fd79 100644 --- a/src/mesa/drivers/dri/fb/Makefile.X11 +++ b/src/mesa/drivers/dri/fb/Makefile.X11 @@ -1,4 +1,4 @@ -# $Id: Makefile.X11,v 1.1 2003/08/06 18:11:57 keithw Exp $ +# $Id: Makefile.X11,v 1.2 2003/08/23 04:58:24 jonsmirl Exp $ # Mesa 3-D graphics library # Version: 5.0 @@ -7,7 +7,7 @@ TOP = ../../../../.. SHARED_INCLUDES = $(INCLUDE_DIRS) -I. -I../common -Iserver -MINIGLX_INCLUDES = -I$(TOP)/src/miniglx +MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini MESA_MODULES = $(TOP)/src/mesa/mesa.a @@ -23,11 +23,7 @@ OBJECTS = $(C_SOURCES:.c=.o) \ $(ASM_SOURCES:.S=.o) -ifeq ($(WINDOW_SYSTEM),dri) -default2: clean -else -default2: fb_dri.so -endif +default: linux-solo ### Include directories @@ -54,7 +50,7 @@ INCLUDE_DIRS = \ ##### TARGETS ##### -targets: fb_dri.so +targets: depend fb_dri.so fb_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11 rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(WINLIB) -lc -lm @@ -63,7 +59,7 @@ fb_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11 # Run 'make -f Makefile.X11 dep' to update the dependencies if you change # what's included by any source file. -dep: $(C_SOURCES) $(ASM_SOURCES) +depend: $(C_SOURCES) $(ASM_SOURCES) makedepend -fdepend -Y $(SHARED_INCLUDES) \ $(C_SOURCES) $(ASM_SOURCES) |