aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-10-06 11:31:37 +0200
committerGregor Jasny <gjasny@googlemail.com>2018-10-06 11:33:53 +0200
commitd11cca536b52960ebd7cce9c45dcc1538a6201b3 (patch)
tree27c5ecb60b8c1e3a6b8d9a8262689acc84d4d985
parentb5ec216a33438afb6b35189379de24e13113fbb8 (diff)
buildsystem: Add all required files to dist target
-rw-r--r--utils/keytable/bpf_protocols/Makefile.am5
-rw-r--r--utils/qvidcap/Makefile.am2
-rw-r--r--utils/v4l2-compliance/Makefile.am3
3 files changed, 7 insertions, 3 deletions
diff --git a/utils/keytable/bpf_protocols/Makefile.am b/utils/keytable/bpf_protocols/Makefile.am
index 5e4b3d67..8887b897 100644
--- a/utils/keytable/bpf_protocols/Makefile.am
+++ b/utils/keytable/bpf_protocols/Makefile.am
@@ -7,13 +7,16 @@
CLANG_SYS_INCLUDES := $(shell $(CLANG) -v -E - </dev/null 2>&1 \
| sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }')
-%.o: %.c
+%.o: %.c bpf_helpers.h
$(CLANG) $(CLANG_SYS_INCLUDES) -I$(top_srcdir)/include -target bpf -O2 -c $<
PROTOCOLS = grundig.o pulse_distance.o pulse_length.o rc_mm.o manchester.o
all: $(PROTOCOLS)
+CLEANFILES = $(PROTOCOLS)
+EXTRA_DIST = $(PROTOCOLS:%.o=%.c) bpf_helpers.h
+
# custom target
install-data-local:
$(install_sh) -d "$(DESTDIR)$(keytableuserdir)/protocols"
diff --git a/utils/qvidcap/Makefile.am b/utils/qvidcap/Makefile.am
index be15b701..37275533 100644
--- a/utils/qvidcap/Makefile.am
+++ b/utils/qvidcap/Makefile.am
@@ -1,7 +1,7 @@
bin_PROGRAMS = qvidcap
man_MANS = qvidcap.1
-qvidcap_SOURCES = qvidcap.cpp capture-win-gl.cpp capture-win-gl.h \
+qvidcap_SOURCES = qvidcap.cpp qvidcap.h capture-win-gl.cpp capture-win-gl.h \
v4l2-tpg-colors.c v4l2-tpg-core.c v4l-stream.c v4l2-info.cpp codec-fwht.c codec-v4l2-fwht.c
nodist_qvidcap_SOURCES = qrc_qvidcap.cpp moc_capture-win-gl.cpp v4l2-convert.h
qvidcap_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ../libv4l2util/libv4l2util.la \
diff --git a/utils/v4l2-compliance/Makefile.am b/utils/v4l2-compliance/Makefile.am
index 6f0421d3..68d376ae 100644
--- a/utils/v4l2-compliance/Makefile.am
+++ b/utils/v4l2-compliance/Makefile.am
@@ -2,7 +2,8 @@ bin_PROGRAMS = v4l2-compliance
man_MANS = v4l2-compliance.1
DEFS :=
-v4l2_compliance_SOURCES = v4l2-compliance.cpp v4l2-test-debug.cpp v4l2-test-input-output.cpp \
+v4l2_compliance_SOURCES = v4l2-compliance.cpp v4l2-compliance.h \
+ v4l2-test-debug.cpp v4l2-test-input-output.cpp \
v4l2-test-controls.cpp v4l2-test-io-config.cpp v4l2-test-formats.cpp v4l2-test-buffers.cpp \
v4l2-test-codecs.cpp v4l2-test-subdevs.cpp v4l2-test-media.cpp v4l2-test-colors.cpp \
media-info.cpp v4l2-info.cpp

Privacy Policy