libs: fix API export/import and 'inconsistent linkage' on MSVC
[platform/upstream/gstreamer.git] / gst-libs / gst / gl / cocoa / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 noinst_LTLIBRARIES = libgstgl-cocoa.la
4
5 libgstgl_cocoa_la_SOURCES = \
6         gstglwindow_cocoa.m \
7         gstglcontext_cocoa.m \
8         gstgldisplay_cocoa.m \
9         gstglcaopengllayer.m
10
11 noinst_HEADERS = \
12         gstglcontext_cocoa.h \
13         gstglwindow_cocoa.h \
14         gstgl_cocoa_private.h
15
16 libgstgl_cocoaincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/cocoa
17 libgstgl_cocoainclude_HEADERS = \
18         gstglcaopengllayer.h \
19         gstgldisplay_cocoa.h
20
21 libgstgl_cocoa_la_CFLAGS = \
22         -I$(top_srcdir)/gst-libs \
23         -I$(top_builddir)/gst-libs \
24         -DBUILDING_GST_GL \
25         $(GL_CFLAGS) \
26         $(GST_PLUGINS_BASE_CFLAGS) \
27         $(GST_BASE_CFLAGS) \
28         $(GST_CFLAGS)
29
30 libgstgl_cocoa_la_OBJCFLAGS = \
31         -I$(top_srcdir)/gst-libs \
32         -I$(top_builddir)/gst-libs \
33         -fobjc-arc \
34         $(GL_OBJCFLAGS) \
35         $(GST_PLUGINS_BASE_CFLAGS) \
36         $(GST_BASE_CFLAGS) \
37         $(GST_OBJCFLAGS)
38
39 libgstgl_cocoa_la_LDFLAGS = \
40         $(GST_LIB_LDFLAGS) \
41         $(GST_ALL_LDFLAGS)
42
43 libgstgl_cocoa_la_LIBTOOLFLAGS = --tag=CC