summaryrefslogtreecommitdiff
path: root/sys/decklink/Makefile.am
blob: ce3abd79735513520706d3d1bfde7d34972dedd0 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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) \
	-lgstaudio-@GST_API_VERSION@ \
	-lgstvideo-@GST_API_VERSION@ \
	$(GST_BASE_LIBS) \
	$(GST_LIBS) \
	$(DECKLINK_LIBS) \
	$(LIBM)
libgstdecklink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

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

libgstdecklink_la_SOURCES = \
	gstdecklink.cpp \
	gstdecklinkaudiosink.cpp \
	gstdecklinkvideosink.cpp \
	gstdecklinkaudiosrc.cpp \
	gstdecklinkvideosrc.cpp

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

if DECKLINK_WIN
libgstdecklink_la_SOURCES += \
	win/DeckLinkAPIDispatch.cpp \
	win/DeckLinkAPI_i.c
else
libgstdecklink_la_SOURCES += \
	linux/DeckLinkAPIDispatch.cpp
endif

endif

noinst_HEADERS = \
	gstdecklink.h \
	gstdecklinkaudiosink.h \
	gstdecklinkvideosink.h \
	gstdecklinkaudiosrc.h \
	gstdecklinkvideosrc.h \
	linux/DeckLinkAPIConfiguration.h \
	linux/DeckLinkAPIDeckControl.h \
	linux/DeckLinkAPIDiscovery.h \
	linux/DeckLinkAPI.h \
	linux/DeckLinkAPIModes.h \
	linux/DeckLinkAPITypes.h \
	linux/LinuxCOM.h \
	osx/DeckLinkAPIConfiguration.h \
	osx/DeckLinkAPIDeckControl.h \
	osx/DeckLinkAPIDiscovery.h \
	osx/DeckLinkAPI.h \
	osx/DeckLinkAPIModes.h \
	osx/DeckLinkAPIStreaming.h \
	osx/DeckLinkAPITypes.h \
	osx/DeckLinkAPIVersion.h \
	win/DeckLinkAPI.h

EXTRA_DIST = \
	linux/DeckLinkAPIDispatch.cpp \
	osx/DeckLinkAPIDispatch.cpp \
	win/DeckLinkAPIDispatch.cpp \
	win/DeckLinkAPI_i.c