libs: fix API export/import and 'inconsistent linkage' on MSVC
[platform/upstream/gstreamer.git] / gst-libs / gst / gl / x11 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 noinst_LTLIBRARIES = libgstgl-x11.la
4
5 libgstgl_x11_la_SOURCES = \
6         gstgldisplay_x11.c \
7         gstglwindow_x11.c \
8         xcb_event_source.c
9
10 noinst_HEADERS = \
11         gstglwindow_x11.h \
12         xcb_event_source.h
13
14 libgstgl_x11includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/x11
15 libgstgl_x11include_HEADERS = \
16         gstgldisplay_x11.h
17
18 if USE_GLX
19 libgstgl_x11_la_SOURCES += gstglcontext_glx.c
20 noinst_HEADERS += gstglcontext_glx.h
21 endif
22
23 libgstgl_x11_la_CFLAGS = \
24         -I$(top_srcdir)/gst-libs \
25         -I$(top_builddir)/gst-libs \
26         -DBUILDING_GST_GL \
27         $(GL_CFLAGS) \
28         $(GST_PLUGINS_BASE_CFLAGS) \
29         $(GST_BASE_CFLAGS) \
30         $(GST_CFLAGS)
31
32 libgstgl_x11_la_LDFLAGS = \
33         $(GST_LIB_LDFLAGS) \
34         $(GST_ALL_LDFLAGS)