X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2FMakefile.am;h=f8baa3cf92c4a23249827603eefbef32a426d74b;hb=a8890494001c9bac6a4ce67247d71383dde835f8;hp=dc808f47d9b7b0b4b8fef9847a3f9fcdf5adb4c3;hpb=443954d161dc3db0605926e4e759080e299710ce;p=mesa.git diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am index dc808f47d9b..f8baa3cf92c 100644 --- a/src/gallium/drivers/Makefile.am +++ b/src/gallium/drivers/Makefile.am @@ -1,71 +1,100 @@ AUTOMAKE_OPTIONS = subdir-objects -AM_CPPFLAGS = \ - -I$(top_srcdir)/src/gallium/include \ - -I$(top_srcdir)/src/gallium/auxiliary \ - -I$(top_srcdir)/src/gallium/drivers \ - $(DEFINES) \ - $(PIC_FLAGS) -AM_CFLAGS = $(VISIBILITY_CFLAGS) +SUBDIRS = . galahad identity noop trace rbug -noinst_LIBRARIES = +################################################################################ + +if HAVE_GALLIUM_R600 + +SUBDIRS += radeon + +else + +if HAVE_GALLIUM_RADEONSI + +SUBDIRS += radeon + +endif + +endif + +################################################################################ + +if HAVE_GALLIUM_FREEDRENO + +SUBDIRS += freedreno + +endif + +################################################################################ -SUBDIRS = +if HAVE_GALLIUM_I915 + +SUBDIRS += i915 + +endif ################################################################################ -if HAVE_GALAHAD_GALLIUM +if HAVE_GALLIUM_ILO -noinst_LIBRARIES+= galahad/libgalahad.a +SUBDIRS += ilo -galahad_libgalahad_a_SOURCES = \ - galahad/glhd_objects.c \ - galahad/glhd_context.c \ - galahad/glhd_screen.c +endif + +################################################################################ + +if HAVE_GALLIUM_NOUVEAU + +SUBDIRS += nouveau endif ################################################################################ -if HAVE_IDENTITY_GALLIUM +if HAVE_GALLIUM_SVGA + +SUBDIRS += svga -noinst_LIBRARIES+= identity/libidentity.a +endif + +################################################################################ -identity_libidentity_a_SOURCES = \ - identity/id_objects.c \ - identity/id_context.c \ - identity/id_screen.c +if HAVE_GALLIUM_R300 + +SUBDIRS += r300 endif ################################################################################ -if HAVE_NOOP_GALLIUM +if HAVE_GALLIUM_R600 -# Meta-driver which combines whichever software rasterizers have been -# built into a single convenience library. +SUBDIRS += r600 -noinst_LIBRARIES+= noop/libnoop.a +endif -noop_libnoop_a_SOURCES = \ - noop/noop_pipe.c \ - noop/noop_state.c +################################################################################ + +if HAVE_GALLIUM_RADEONSI + +SUBDIRS += radeonsi endif ################################################################################ -if NEED_RADEON_GALLIUM +if NEED_GALLIUM_SOFTPIPE_DRIVER -SUBDIRS+= radeon +SUBDIRS += softpipe endif ################################################################################ -SUBDIRS+= $(GALLIUM_MAKE_DIRS) +if NEED_GALLIUM_LLVMPIPE_DRIVER -# FIXME: Remove when the rest of Gallium is converted to automake. -default: all +SUBDIRS += llvmpipe +endif