summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_glew/Makefile.am
blob: 13307f7990d6ce17daa37f5401b97f7fdf3b03bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib/include \
-I$(top_srcdir)/src/modules/engines/gl_common \
@EINA_CFLAGS@ \
@FREETYPE_CFLAGS@ \
@evas_engine_gl_glew_cflags@

if BUILD_ENGINE_GL_GLEW

GL_GLEW_SOURCES = \
evas_engine.c \
evas_glew_win32_main.c

GL_GLEW_LIBADD = @evas_engine_gl_glew_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la


includes_HEADERS = Evas_Engine_GL_Glew.h
includesdir = $(includedir)/evas-@VMAJ@

if !EVAS_STATIC_BUILD_GL_GLEW

pkgdir = $(libdir)/evas/modules/engines/gl_glew/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la

module_la_SOURCES  = $(GL_GLEW_SOURCES)
module_la_LIBADD = $(GL_GLEW_LIBADD) $(top_builddir)/src/lib/libevas.la
module_la_LDFLAGS = @lt_enable_auto_import@ -no-undefined -module -avoid-version
module_la_LIBTOOLFLAGS = --tag=disable-static

else

noinst_LTLIBRARIES = libevas_engine_gl_glew.la

libevas_engine_gl_glew_la_SOURCES = $(GL_GLEW_SOURCES)
libevas_engine_gl_glew_la_LIBADD = $(GL_GLEW_LIBADD)

endif
endif

EXTRA_DIST = evas_engine.h