1 TARGET
= libXvMCg3dvl.so
2 SONAME
= libXvMCg3dvl.so
.1
3 GALLIUMDIR
= ..
/gallium
4 OBJECTS
= block.o surface.o context.o subpicture.o attributes.o
${GALLIUMDIR}/winsys
/g3dvl
/xsp_winsys.o
6 CFLAGS
+= -g
-fPIC
-Wall
-Werror \
7 -I
${GALLIUMDIR}/state_trackers
/g3dvl \
8 -I
${GALLIUMDIR}/winsys
/g3dvl \
9 -I
${GALLIUMDIR}/include \
10 -I
${GALLIUMDIR}/auxiliary \
11 -I
${GALLIUMDIR}/drivers
12 LDFLAGS
+= -L
${GALLIUMDIR}/state_trackers
/g3dvl \
13 -L
${GALLIUMDIR}/drivers
/softpipe \
14 -L
${GALLIUMDIR}/auxiliary
/tgsi \
15 -L
${GALLIUMDIR}/auxiliary
/draw \
16 -L
${GALLIUMDIR}/auxiliary
/translate \
17 -L
${GALLIUMDIR}/auxiliary
/cso_cache \
18 -L
${GALLIUMDIR}/auxiliary
/util \
19 -L
${GALLIUMDIR}/auxiliary
/rtasm
20 LIBS
+= -lg3dvl
-lsoftpipe
-ldraw
-ltgsi
-ltranslate
-lrtasm
-lcso_cache
-lutil
22 #############################################
29 $(CC
) ${LDFLAGS} -shared
-Wl
,-soname
,${SONAME} -o
$@
$^
${LIBS}
32 rm -rf
${OBJECTS} ${TARGET}