summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-06 12:09:57 -0800
committerEric Anholt <eric@anholt.net>2013-12-06 15:50:01 -0800
commit0d7d26537d8d8309ed462fcc5852c7bae9244fee (patch)
treec8fe3d51e19ebef7a206b74d8112aedbbe205253 /include
parent19053c4d6ffa391f51657e267e35db9e99b205e4 (diff)
downloadlibepoxy-0d7d26537d8d8309ed462fcc5852c7bae9244fee.tar.gz
Conditionalize building GLX and EGL tests and headers.
Note that the generated code is still generated, they just aren't built and installed. The goal with that is that someone could take the built .c and .h files and drop it into their own project, if they want to avoid shared libs.
Diffstat (limited to 'include')
-rw-r--r--include/epoxy/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/epoxy/Makefile.am b/include/epoxy/Makefile.am
index 3622239..816a67a 100644
--- a/include/epoxy/Makefile.am
+++ b/include/epoxy/Makefile.am
@@ -26,5 +26,10 @@ epoxyinclude_HEADERS = \
$(GLX_INCLUDES) \
$()
+if BUILD_EGL
EGL_INCLUDES = egl.h
+endif
+
+if BUILD_GLX
GLX_INCLUDES = glx.h
+endif