X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FAutomake.inc;h=329c8839e17a5e5e6aad9047ddfe2abd7ad05faf;hb=3a8550ad06ecac6f4aac53807e416fc045cd871d;hp=6aadcb919836cb08ea82a22dd9167f6fb15ce397;hpb=848b49b288fc2fa942418d12829db2e559ad4916;p=mesa.git diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 6aadcb91983..329c8839e17 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -39,6 +39,8 @@ GALLIUM_TARGET_CFLAGS = \ -I$(top_srcdir)/src/gallium/auxiliary \ -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/src/gallium/winsys \ + -I$(top_builddir)/src/util/ \ + -I$(top_builddir)/src/gallium/drivers/ \ $(DEFINES) \ $(PTHREAD_CFLAGS) \ $(LIBDRM_CFLAGS) \ @@ -46,6 +48,8 @@ GALLIUM_TARGET_CFLAGS = \ GALLIUM_COMMON_LIB_DEPS = \ -lm \ + $(LIBUNWIND_LIBS) \ + $(LIBSENSORS_LIBS) \ $(CLOCK_LIB) \ $(PTHREAD_LIBS) \ $(DLOPEN_LIBS) @@ -55,6 +59,12 @@ GALLIUM_COMMON_LIB_DEPS += \ $(LIBDRM_LIBS) endif +if HAVE_PLATFORM_ANDROID +GALLIUM_COMMON_LIB_DEPS += \ + $(ANDROID_LIBS) \ + $(BACKTRACE_LIBS) +endif + GALLIUM_WINSYS_CFLAGS = \ -I$(top_srcdir)/src \ -I$(top_srcdir)/include \