forked from lu-zero/libbmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
52 lines (34 loc) · 1.22 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
50
51
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 = \
$(top_srcdir)/src/decklink_capture.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbmd.pc
lib_LTLIBRARIES = libbmd.la
libbmd_la_LDFLAGS = -version-info @LIBBMD_VERSION@ -no-undefined -ldl -lpthread
libbmd_la_CXXFLAGS = $(AM_CXXFLAGS)
libbmd_la_LIBADD = -lsupc++
libbmd_la_SOURCES = \
$(top_srcdir)/src/decklink_capture.cpp
if HAVE_TOOLS
bmdplay_SOURCES = \
$(top_srcdir)/src/bmdplay.cpp \
$(top_srcdir)/src/Play.h
bmdplay_CXXFLAGS = $(TOOLS_CFLAGS) $(AM_CXXFLAGS)
bmdplay_LDADD = $(TOOLS_LIBS)
bmdcapture_SOURCES = \
$(top_srcdir)/src/bmdcapture.c
bmdcapture_CFLAGS = $(TOOLS_CFLAGS) $(AM_CFLAGS)
bmdcapture_LDADD = $(TOOLS_LIBS) libbmd.la
bmdgenlock_SOURCES = \
$(top_srcdir)/src/bmdgenlock.cpp
bmdgenlock_CXXFLAGS = $(TOOLS_CFLAGS) $(AM_CXXFLAGS)
bmdgenlock_LDADD = $(TOOLS_LIBS)
bin_PROGRAMS = bmdplay bmdcapture bmdgenlock
endif
#EXTRA_DIST = $(top_srcdir)/NOTICE