forked from lu-zero/libbmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
49 lines (33 loc) · 1.09 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I"$(sdk_dir)"
AM_CXXFLAGS = -fno-rtti -Wno-multichar -D__STDC_CONSTANT_MACROS
libbmd_la_LINK = $(LINK) $(libbmd_la_LDFLAGS)
# Mention a dummy pure C file to trigger generation of the $(LINK) variable
nodist_EXTRA_libbmd_la_SOURCES = dummy.c
libbmdincludedir = $(includedir)/libbmd
libbmdinclude_HEADERS = \
src/decklink_capture.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbmd.pc
lib_LTLIBRARIES = libbmd.la
libbmd_la_LDFLAGS = -version-info @LIBBMD_VERSION@ -no-undefined
libbmd_la_CXXFLAGS = $(AM_CXXFLAGS)
libbmd_la_LIBADD = $(LIBCXX_LDFLAGS)
libbmd_la_SOURCES = \
src/decklink_capture.cpp
if HAVE_TOOLS
bmdplay_SOURCES = \
src/bmdplay.cpp \
src/Play.h
bmdplay_CXXFLAGS = $(TOOLS_CFLAGS) $(AM_CXXFLAGS)
bmdplay_LDADD = $(TOOLS_LIBS)
bmdcapture_SOURCES = \
src/bmdcapture.c
bmdcapture_CFLAGS = $(TOOLS_CFLAGS) $(AM_CFLAGS)
bmdcapture_LDADD = $(TOOLS_LIBS) libbmd.la
bmdgenlock_SOURCES = \
src/bmdgenlock.cpp
bmdgenlock_CXXFLAGS = $(TOOLS_CFLAGS) $(AM_CXXFLAGS)
bmdgenlock_LDADD = $(TOOLS_LIBS)
bin_PROGRAMS = bmdplay bmdcapture bmdgenlock
endif