diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2011-11-02 13:44:50 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:46 -0800 |
commit | b861aad8e2fcf6fe1fae4f26abb650bb4eb499c6 (patch) | |
tree | 7b7a37a81d4d63091e90909db43fa5b699557212 /glamor/Makefile.am | |
parent | 2dbbe2565052cc024ce0e98918ed34c1239b780a (diff) |
Initial version.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/Makefile.am')
-rw-r--r-- | glamor/Makefile.am | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/glamor/Makefile.am b/glamor/Makefile.am index 8712e765a..a382eb5ce 100644 --- a/glamor/Makefile.am +++ b/glamor/Makefile.am @@ -1,29 +1,24 @@ -noinst_LTLIBRARIES = libglamor.la +inst_LTLIBRARIES = libglamor.la # Override these since glamor doesn't need them and the needed files aren't # built (in hw/xfree86/os-support/solaris) until after glamor is built SOLARIS_ASM_CFLAGS="" -if XORG -sdk_HEADERS = glamor.h -endif - if GLAMOR_GLES2 libglamor_la_LIBADD = $(GLESV2_LIBS) else libglamor_la_LIBADD = $(GL_LIBS) endif -if XORG -sdk_HEADERS = glamor.h -endif +instdir = $(moduledir) INCLUDES = \ $(XORG_INCS) - AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(LIBDRM_CFLAGS) +libglamor_la_LDFLAGS = -avoid-version + libglamor_la_SOURCES = \ glamor.c \ glamor_copyarea.c \ @@ -45,3 +40,17 @@ libglamor_la_SOURCES = \ glamor_window.c\ glamor_gl_dispatch.c\ glamor.h + +sdk_HEADERS = glamor.h + +if EGL +LIBGLAMOR_EGL = libglamor_egl.la +module_LTLIBRARIES = $(LIBGLAMOR_EGL) +libglamor_egl_la_DEPENDENCIES = libglamor.la +libglamor_egl_la_LDFLAGS = -avoid-version -module $(EGL_LIBS) -lglamor +#libglamor_egl_la_LIBADD = $(top_builddir)/src/libglamor.la +libglamor_egl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c +libglamor_egl_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src $(LIBDRM_CFLAGS) $(EGL_CFLAGS) +endif + + |