aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-02-26 15:16:56 +0100
committerHans de Goede <hdegoede@redhat.com>2010-02-26 15:16:56 +0100
commitd16023a0492e005ada68399df05e6e7684389cbf (patch)
treec7d06631ba72df5e73c5e49fcd4a614b1dc1a636
parent0d2b20fa44e3cac65b8842ef8def459161fcb691 (diff)
Use auto generated dependencies in utils Makefiles
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--contrib/test/Makefile23
-rw-r--r--utils/decode_tm6000/Makefile2
-rw-r--r--utils/keytable/Makefile2
-rw-r--r--utils/libv4l2util/Makefile2
-rw-r--r--utils/rds/Makefile2
-rw-r--r--utils/v4l2-compliance/Makefile2
-rw-r--r--utils/v4l2-ctl/Makefile2
-rw-r--r--utils/v4l2-dbg/Makefile2
-rw-r--r--utils/v4l2-sysfs-path/Makefile2
-rw-r--r--utils/xc3028-firmware/Makefile2
10 files changed, 41 insertions, 0 deletions
diff --git a/contrib/test/Makefile b/contrib/test/Makefile
index fdca057f..738327fb 100644
--- a/contrib/test/Makefile
+++ b/contrib/test/Makefile
@@ -11,6 +11,8 @@ TARGETS = ioctl-test \
all: $(TARGETS)
+-include *.d
+
install:
../../utils/libv4l2util/libv4l2util.a: ../../utils/libv4l2util/v4l2_driver.c ../../utils/libv4l2util/frequencies.c
@@ -28,4 +30,25 @@ pixfmt-test: pixfmt-test.o
v4l2grab: v4l2grab.o ../../lib/libv4l2/libv4l2.so
$(CC) $(LDFLAGS) -o $@ $^ -L../../lib/libv4l2 -L../../lib/libv4lconvert -lv4l2 -lv4lconvert
+ioctl-test: ioctl-test.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+sliced-vbi-test: sliced-vbi-test.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+sliced-vbi-detect: sliced-vbi-detect.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+vbi-test: vbi-test.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+v4lgrab: v4lgrab.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+stress-buffer: stress-buffer.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
+capture-example: capture-example.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
include ../../Make.rules
diff --git a/utils/decode_tm6000/Makefile b/utils/decode_tm6000/Makefile
index 1a25b237..3a0da79e 100644
--- a/utils/decode_tm6000/Makefile
+++ b/utils/decode_tm6000/Makefile
@@ -2,6 +2,8 @@ TARGETS = decode_tm6000
all: $(TARGETS)
+-include *.d
+
decode_tm6000: decode_tm6000.o ../libv4l2util/libv4l2util.a
$(CC) $(LDFLAGS) -o $@ $^
diff --git a/utils/keytable/Makefile b/utils/keytable/Makefile
index 41a7036b..dedb413a 100644
--- a/utils/keytable/Makefile
+++ b/utils/keytable/Makefile
@@ -23,6 +23,8 @@ drivers/media/dvb/dvb-usb/vp7045.c "
all: $(TARGETS)
+-include *.d
+
v4l-keytable: keytable.o
$(CC) $(LDFLAGS) -o $@ $^
diff --git a/utils/libv4l2util/Makefile b/utils/libv4l2util/Makefile
index 5f1984d8..b64ef6ca 100644
--- a/utils/libv4l2util/Makefile
+++ b/utils/libv4l2util/Makefile
@@ -3,6 +3,8 @@ TARGETS = libv4l2util.a
all: $(TARGETS)
+-include $(OBJS:.o=.d)
+
libv4l2util.a: $(OBJS)
install:
diff --git a/utils/rds/Makefile b/utils/rds/Makefile
index 09b3874b..17b4bd4e 100644
--- a/utils/rds/Makefile
+++ b/utils/rds/Makefile
@@ -2,6 +2,8 @@ TARGETS = rds-saa6588
all: $(TARGETS)
+-include *.d
+
rds-saa6588: rds-saa6588.o
$(CC) $(LDFLAGS) -o $@ $^
diff --git a/utils/v4l2-compliance/Makefile b/utils/v4l2-compliance/Makefile
index 4f31d89a..7a031c92 100644
--- a/utils/v4l2-compliance/Makefile
+++ b/utils/v4l2-compliance/Makefile
@@ -2,6 +2,8 @@ TARGETS = v4l2-compliance
all: $(TARGETS)
+-include *.d
+
v4l2-compliance: v4l2-compliance.o
$(CXX) $(LDFLAGS) -o $@ $^
diff --git a/utils/v4l2-ctl/Makefile b/utils/v4l2-ctl/Makefile
index a3389acb..cad05b25 100644
--- a/utils/v4l2-ctl/Makefile
+++ b/utils/v4l2-ctl/Makefile
@@ -4,6 +4,8 @@ TARGETS = cx18-ctl ivtv-ctl v4l2-ctl
all: $(TARGETS)
+-include *.d
+
cx18-ctl: cx18-ctl.o
$(CC) $(LDFLAGS) -o $@ $^
diff --git a/utils/v4l2-dbg/Makefile b/utils/v4l2-dbg/Makefile
index 4f9d71f8..b12fb843 100644
--- a/utils/v4l2-dbg/Makefile
+++ b/utils/v4l2-dbg/Makefile
@@ -2,6 +2,8 @@ TARGETS = v4l2-dbg
all: $(TARGETS)
+-include *.d
+
v4l2-dbg: v4l2-dbg.o v4l2-chipids.o
$(CXX) $(LDFLAGS) -o $@ $^
diff --git a/utils/v4l2-sysfs-path/Makefile b/utils/v4l2-sysfs-path/Makefile
index 5143cad8..776216f0 100644
--- a/utils/v4l2-sysfs-path/Makefile
+++ b/utils/v4l2-sysfs-path/Makefile
@@ -2,6 +2,8 @@ TARGETS = v4l2-sysfs-path
all: $(TARGETS)
+-include *.d
+
v4l2-sysfs-path: v4l2-sysfs-path.o ../libv4l2util/libv4l2util.a
$(CC) $(LDFLAGS) -o $@ $^ -lsysfs
diff --git a/utils/xc3028-firmware/Makefile b/utils/xc3028-firmware/Makefile
index 960008a5..49b38813 100644
--- a/utils/xc3028-firmware/Makefile
+++ b/utils/xc3028-firmware/Makefile
@@ -2,6 +2,8 @@ TARGETS = firmware-tool
all: $(TARGETS)
+-include *.d
+
firmware-tool: firmware-tool.o standards.o
$(CC) $(LDFLAGS) -o $@ $^

Privacy Policy