summaryrefslogtreecommitdiff
path: root/sys/decklink/Makefile.am
blob: 9d1260170376a9489c09dc726bae595d774af1d8 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugin_LTLIBRARIES = libgstdecklink.la

libgstdecklink_la_CPPFLAGS = \
	$(GST_PLUGINS_BAD_CFLAGS) \
	$(GST_PLUGINS_BASE_CFLAGS) \
	$(GST_BASE_CFLAGS) \
	$(GST_CXXFLAGS) \
	$(DECKLINK_CXXFLAGS)
libgstdecklink_la_LIBADD = \
	$(GST_PLUGINS_BASE_LIBS) \
	$(GST_BASE_LIBS) \
	$(GST_LIBS) \
	-lgstvideo-@GST_MAJORMINOR@ \
	-lgstinterfaces-@GST_MAJORMINOR@ \
	$(DECKLINK_LIBS) \
	$(LIBM)
libgstdecklink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

if DECKLINK_OSX
libgstdecklink_la_LDFLAGS += \
	-Wl,-framework,CoreFoundation
endif

libgstdecklink_la_LIBTOOLFLAGS = --tag=disable-static

libgstdecklink_la_SOURCES = \
	gstdecklinksrc.cpp \
	gstdecklinksink.cpp \
	gstdecklink.cpp \
	capture.cpp

if DECKLINK_OSX
libgstdecklink_la_SOURCES += \
	osx/DeckLinkAPIDispatch-osx.cpp
else
libgstdecklink_la_SOURCES += \
	linux/DeckLinkAPIDispatch.cpp
endif


noinst_HEADERS = \
	gstdecklink.h \
	gstdecklinksrc.h \
	gstdecklinksink.h \
	capture.h \
	linux/DeckLinkAPI.h \
	linux/LinuxCOM.h \
	osx/DeckLinkAPI.h \
	osx/DeckLinkAPIConfiguration.h \
	osx/DeckLinkAPIDeckControl.h \
	osx/DeckLinkAPIDiscovery.h \
	osx/DeckLinkAPIModes.h \
	osx/DeckLinkAPIStreaming.h \
	osx/DeckLinkAPITypes.h \
	osx/DeckLinkAPIVersion.h

EXTRA_DIST = \
	win/DeckLinkAPI.h \
	win/DeckLinkAPIDispatch.cpp \
	win/DeckLinkAPI_i.c