diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-06 12:09:57 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-06 15:50:01 -0800 |
commit | 0d7d26537d8d8309ed462fcc5852c7bae9244fee (patch) | |
tree | c8fe3d51e19ebef7a206b74d8112aedbbe205253 /include | |
parent | 19053c4d6ffa391f51657e267e35db9e99b205e4 (diff) | |
download | libepoxy-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.am | 5 |
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 |