1 # src/mesa/drivers/dri/tdfx/Makefile
4 include $(TOP
)/configs
/current
16 -DGLX_DIRECT_RENDERING
19 # MINIGLX_SOURCES = server/tdfx_dri.c
22 ..
/..
/common
/driverfuncs.c \
54 -I
$(TOP
)/src
/glx
/mini \
56 -I
$(DRM_SOURCE_PATH
)/shared \
58 -I
$(TOP
)/src
/mesa
/main \
59 -I
$(TOP
)/src
/mesa
/glapi \
60 -I
$(TOP
)/src
/mesa
/math \
61 -I
$(TOP
)/src
/mesa
/transform \
62 -I
$(TOP
)/src
/mesa
/shader \
63 -I
$(TOP
)/src
/mesa
/swrast \
64 -I
$(TOP
)/src
/mesa
/swrast_setup
67 MESA_MODULES
= $(TOP
)/src
/mesa
/mesa.a
69 # Libraries that the driver shared lib depends on
70 LIB_DEPS
= -L
/usr
/X11R6
/lib
-lX11
-lXext
-lm
-lpthread
-lexpat
-ldl
-lc
73 ifeq ($(WINDOW_SYSTEM
),dri
)
74 WINOBJ
=$(MESABUILDDIR
)/dri
/dri.a
78 WINLIB
=-L
$(MESA
)/src
/glx
/mini
83 OBJECTS
= $(C_SOURCES
:.c
=.o
) \
90 $(CC
) -c
$(INCLUDE_DIRS
) $(CFLAGS
) $(DEFINES
) $< -o
$@
93 $(CC
) -c
$(INCLUDE_DIRS
) $(CFLAGS
) $(DEFINES
) $< -o
$@
98 default
: depend
$(LIB_DIR
)/$(LIBNAME
)
101 $(LIB_DIR
)/$(LIBNAME
): $(OBJECTS
) $(MESA_MODULES
) $(WINOBJ
) Makefile
102 $(TOP
)/bin
/mklib
-o
$(LIBNAME
) -noprefix
-install $(LIB_DIR
) \
103 $(WINLIB
) $(LIB_DEPS
) $(WINOBJ
) $(MESA_MODULES
) $(OBJECTS
)
106 depend
: $(C_SOURCES
) $(ASM_SOURCES
)
108 $(MKDEP
) $(MKDEP_OPTIONS
) $(INCLUDE_DIRS
) $(C_SOURCES
) $(ASM_SOURCES
) \
114 etags
`find . -name \*.[ch]` `find ../include`
118 -rm -f
*.o server
/*.o