1 TOP
= ..
/..
/..
/..
/..
/..
2 GALLIUMDIR
= ..
/..
/..
/..
3 include $(TOP
)/configs
/current
8 $(TOP
)/src
/gallium
/state_trackers
/egl
/libegldrm.a \
9 $(GALLIUMDIR
)/winsys
/drm
/radeon
/core
/libradeonwinsys.a \
10 $(TOP
)/src
/gallium
/drivers
/softpipe
/libsoftpipe.a \
11 $(TOP
)/src
/gallium
/drivers
/trace
/libtrace.a \
12 $(TOP
)/src
/gallium
/drivers
/r300
/libr300.a
14 DRIVER_EXTRAS
= -lm
-lpthread
-ldrm_radeon
18 default
: $(TOP
)/$(LIB_DIR
)/$(LIBNAME
)
20 $(TOP
)/$(LIB_DIR
)/$(LIBNAME
): $(LIBNAME
)
21 @mkdir
-p
$(TOP
)/$(LIB_DIR
)
22 $(INSTALL
) $(LIBNAME
) $(TOP
)/$(LIB_DIR
)
24 $(LIBNAME
): $(OBJECTS
) $(GALLIUM_AUXILIARIES
) $(PIPE_DRIVERS
) Makefile
25 $(MKLIB
) -noprefix
-o
$@
$(OBJECTS
) \
26 -Wl
,--whole-archive
$(PIPE_DRIVERS
) -Wl
,--no-whole-archive \
27 -Wl
,--start-group
$(GALLIUM_AUXILIARIES
) -Wl
,--end-group \
28 $(DRI_LIB_DEPS
) $(DRIVER_EXTRAS
)
38 $(MINSTALL
) -m
755 $(LIBNAME
) $(INSTALL_DIR
)/$(LIB_DIR
)