aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qv4l2/Makefile.am
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-02-13 15:35:07 +0100
committerGregor Jasny <gjasny@googlemail.com>2012-02-19 20:50:46 +0100
commit63332fb311c660c9d8530dfc8ae1a4146add6a5c (patch)
tree1cb0b0acf593c9be43ae690f2141678861cd36c7 /utils/qv4l2/Makefile.am
parent5785fecdafe5cb40315b07e2e48fde0fb2a7c172 (diff)
buildsystem: Convert pattern rules to portable make rules
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'utils/qv4l2/Makefile.am')
-rw-r--r--utils/qv4l2/Makefile.am18
1 files changed, 10 insertions, 8 deletions
diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
index cb38fe6b..b28441a8 100644
--- a/utils/qv4l2/Makefile.am
+++ b/utils/qv4l2/Makefile.am
@@ -14,16 +14,18 @@ clean-local:
-rm -vf moc_*.cpp qrc_*.cpp qrc_*.o ui_*.h
# Call the moc preprocessor
-moc_%.cpp : %.h
- $(MOC) -o $@ $<
+moc_qv4l2.cpp: qv4l2.h
+ $(MOC) -o $@ qv4l2.h
-# Call the Qt resource compiler
-qrc_%.cpp: %.qrc
- rcc -name qv4l2 -o $@ $<
+moc_general-tab.cpp: general-tab.h
+ $(MOC) -o $@ general-tab.h
+
+moc_capture-win.cpp: capture-win.h
+ $(MOC) -o $@ capture-win.h
-# Call the Qt ui compiler
-ui_%.h: %.ui
- $(UIC) -o $@ $<
+# Call the Qt resource compiler
+qrc_qv4l2.cpp: qv4l2.qrc
+ rcc -name qv4l2 -o $@ qv4l2.qrc
install-data-local:
$(INSTALL_DATA) -D -p "$(srcdir)/qv4l2.desktop" "$(DESTDIR)$(datadir)/applications/qv4l2.desktop"

Privacy Policy