X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fegl%2Fmain%2FMakefile.am;h=d21d8a9eb5aeba30aeee2a4fe1a3258051ee9925;hb=c5be9c126d6ca9380cd381a5eb22554e4bb71a64;hp=68bf3a8aa664dec7b71aaa12d36f25bc3e5a6a8e;hpb=50741179280c2a341b568fe38983734ea435e956;p=mesa.git diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am index 68bf3a8aa66..d21d8a9eb5a 100644 --- a/src/egl/main/Makefile.am +++ b/src/egl/main/Makefile.am @@ -19,9 +19,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -if HAVE_XF86VIDMODE -EXTRA_DEFINES_XF86VIDMODE = -DXF86VIDMODE -endif +include Makefile.sources AM_CFLAGS = \ -I$(top_srcdir)/include \ @@ -30,56 +28,20 @@ AM_CFLAGS = \ $(VISIBILITY_CFLAGS) \ $(EGL_CFLAGS) \ -D_EGL_NATIVE_PLATFORM=$(EGL_NATIVE_PLATFORM) \ - -D_EGL_DRIVER_SEARCH_DIR=\"$(EGL_DRIVER_INSTALL_DIR)\" \ + -D_EGL_DRIVER_SEARCH_DIR=\"$(libdir)/egl\" \ -D_EGL_OS_UNIX=1 lib_LTLIBRARIES = libEGL.la libEGL_la_SOURCES = \ - eglapi.c \ - eglapi.h \ - eglarray.c \ - eglarray.h \ - eglconfig.c \ - eglcontext.c \ - eglcurrent.c \ - egldisplay.c \ - egldriver.c \ - eglfallbacks.c \ - eglglobals.c \ - eglimage.c \ - egllog.c \ - eglmisc.c \ - eglmode.c \ - eglscreen.c \ - eglstring.c \ - eglsurface.c \ - eglsync.c \ - eglcompiler.h \ - eglconfig.h \ - eglcontext.h \ - eglcurrent.h \ - egldefines.h \ - egldisplay.h \ - egldriver.h \ - eglglobals.h \ - eglimage.h \ - egllog.h \ - eglmisc.h \ - eglmode.h \ - eglmutex.h \ - eglscreen.h \ - eglstring.h \ - eglsurface.h \ - eglsync.h \ - egltypedefs.h + ${LIBEGL_C_FILES} libEGL_la_LIBADD = \ $(EGL_LIB_DEPS) libEGL_la_LDFLAGS = \ -no-undefined \ -version-number 1:0 \ - -Wl,-Bsymbolic \ + $(BSYMBOLIC) \ $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) @@ -130,5 +92,11 @@ egldir = $(includedir)/EGL egl_HEADERS = \ $(top_srcdir)/include/EGL/eglext.h \ $(top_srcdir)/include/EGL/egl.h \ + $(top_srcdir)/include/EGL/eglextchromium.h \ $(top_srcdir)/include/EGL/eglmesaext.h \ $(top_srcdir)/include/EGL/eglplatform.h + +EXTRA_DIST = \ + egl.def \ + README.txt \ + SConscript