summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2018-02-22 20:42:42 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-02-27 23:02:26 -0800
commitb18fc1ca50570b0674095ee87711e19ee95ae8df (patch)
treec563a98d84799e03289fb7f95ac095a177acd10c /src/Makefile.am
parentf6991fdd218ab15ed4a6d9501181f55053499a05 (diff)
build: make drm optional
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3d6b8bc..b94b0f3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,7 @@
SUBDIRS = modules
bin_PROGRAMS = rototiller
-rototiller_SOURCES = drm_fb.c fb.c fb.h fps.c fps.h rototiller.c rototiller.h sdl_fb.c settings.h settings.c setup.h setup.c threads.c threads.h util.c util.h
+rototiller_SOURCES = fb.c fb.h fps.c fps.h rototiller.c rototiller.h sdl_fb.c settings.h settings.c setup.h setup.c threads.c threads.h util.c util.h
+if ENABLE_DRM
+rototiller_SOURCES += drm_fb.c
+endif
rototiller_LDADD = -lm modules/julia/libjulia.a modules/plasma/libplasma.a modules/ray/libray.a modules/roto/libroto.a modules/sparkler/libsparkler.a modules/stars/libstars.a
© All Rights Reserved