2 include $(TOP
)/configs
/current
6 XA_CFLAGS
= -Wall
-pedantic
8 XA_INCLUDES
= -I
$(TOP
)/src
/gallium
/ \
9 -I
$(TOP
)/src
/gallium
/auxiliary \
10 -I
$(TOP
)/src
/gallium
/include \
11 -I
$(TOP
)/src
/gallium
/winsys \
12 -I
$(TOP
)/src
/gallium
/drivers
15 XA_LIB_NAME
= lib
$(XA_LIB
).o
18 COMMON_GALLIUM_SOURCES
=
27 OBJECTS
= $(SOURCES
:.c
=.o
)
32 $(CC
) -c
$(XA_CFLAGS
) $(CFLAGS
) $(XA_INCLUDES
) $<
37 default
: $(XA_LIB_NAME
)
41 $(XA_LIB_NAME
): depend
$(OBJECTS
)
42 $(CC
) -Wl
,-r
-nostdlib
-o
$(XA_LIB_NAME
) $(OBJECTS
) $(CFLAGS
)
52 -rm -f depend depend.bak
56 @ echo
"running $(MKDEP)"
59 @
$(MKDEP
) $(MKDEP_OPTIONS
) -I
$(TOP
)/include $(XA_INCLUDES
) $(SOURCES
) \