X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2FMakefile.am;h=3d53cade7b86263c8fb302659b54a2126b7f0fbe;hb=2f2d1b3d9b090aeba316d6c425c23e92340b5502;hp=a70b8f7fe622969bc83d4fac3e4175d7e30acc7e;hpb=3ed95dc0735795087c063288e544359a84f7ea28;p=mesa.git diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am index a70b8f7fe62..3d53cade7b8 100644 --- a/src/gallium/drivers/Makefile.am +++ b/src/gallium/drivers/Makefile.am @@ -1,80 +1,92 @@ 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) -AM_CFLAGS = $(VISIBILITY_CFLAGS) +SUBDIRS = . galahad identity noop trace rbug -noinst_LTLIBRARIES = +################################################################################ + +if HAVE_GALLIUM_FREEDRENO -SUBDIRS = . +SUBDIRS += freedreno + +endif ################################################################################ -if HAVE_GALAHAD_GALLIUM +if HAVE_GALLIUM_I915 -noinst_LTLIBRARIES += galahad/libgalahad.la +SUBDIRS += i915 + +endif + +################################################################################ -galahad_libgalahad_la_SOURCES = \ - galahad/glhd_objects.c \ - galahad/glhd_context.c \ - galahad/glhd_screen.c +if HAVE_GALLIUM_ILO + +SUBDIRS += ilo endif ################################################################################ -if HAVE_IDENTITY_GALLIUM +if HAVE_GALLIUM_NOUVEAU + +SUBDIRS += nouveau -noinst_LTLIBRARIES += identity/libidentity.la +endif -identity_libidentity_la_SOURCES = \ - identity/id_objects.c \ - identity/id_context.c \ - identity/id_screen.c +################################################################################ + +if HAVE_GALLIUM_SVGA + +SUBDIRS += svga endif ################################################################################ -if HAVE_NOOP_GALLIUM +if HAVE_GALLIUM_RADEON_COMMON + +SUBDIRS += radeon + +endif -# Meta-driver which combines whichever software rasterizers have been -# built into a single convenience library. +################################################################################ -noinst_LTLIBRARIES += noop/libnoop.la +if HAVE_GALLIUM_R300 -noop_libnoop_la_SOURCES = \ - noop/noop_pipe.c \ - noop/noop_state.c +SUBDIRS += r300 endif ################################################################################ -if NEED_RADEON_GALLIUM +if HAVE_GALLIUM_R600 -SUBDIRS += radeon +SUBDIRS += r600 endif ################################################################################ -SUBDIRS += $(GALLIUM_MAKE_DIRS) +if HAVE_GALLIUM_RADEONSI -# FIXME: Remove when the rest of Gallium is converted to automake. -default: all +SUBDIRS += radeonsi -all-local: $(noinst_LTLIBRARIES) -if HAVE_GALAHAD_GALLIUM - ln -f $(builddir)/galahad/.libs/libgalahad.a $(builddir)/galahad/libgalahad.a endif -if HAVE_IDENTITY_GALLIUM - ln -f $(builddir)/identity/.libs/libidentity.a $(builddir)/identity/libidentity.a + +################################################################################ + +if NEED_GALLIUM_SOFTPIPE_DRIVER + +SUBDIRS += softpipe + endif -if HAVE_NOOP_GALLIUM - ln -f $(builddir)/noop/.libs/libnoop.a $(builddir)/noop/libnoop.a + +################################################################################ + +if NEED_GALLIUM_LLVMPIPE_DRIVER + +SUBDIRS += llvmpipe + endif