winsys/amdgpu: pass PIPE_CONFIG to addrlib on texture import
[mesa.git] / src / gallium / drivers / rbug / Makefile.am
index 3c1a8b5f875cd0d938e92b85388362e4b5d027a7..3e3cb86d6196f645ca3a6e849261ddc1601034e5 100644 (file)
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
+include Makefile.sources
 include $(top_srcdir)/src/gallium/Automake.inc
 
+AM_CFLAGS = \
+       $(GALLIUM_DRIVER_CFLAGS)
+
 noinst_LTLIBRARIES = librbug.la
 
-# GALLIUM_CFLAGS must appear before src/gallium/drivers
-# because there are stupidly two rbug_context.h files in
-# different directories, and which one is included by the
-# preprocessor is determined by the ordering of the -I flags.
-AM_CFLAGS = \
-       $(GALLIUM_CFLAGS) \
-       $(VISIBILITY_CFLAGS) \
-       -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/include
+librbug_la_SOURCES = $(C_SOURCES)
 
-librbug_la_SOURCES = \
-       rbug_core.c \
-       rbug_context.c \
-       rbug_objects.c \
-       rbug_screen.c
+EXTRA_DIST = SConscript README