Makefile rules are supposed to declare dependencies so that make knows 
when the recipe must be run.  utils/Makefile is missing a number of 
dependencies.  The result is that out-of-date files can be installed.

This is a patch to ivtv-0.3.7a.

===================================================================
RCS file: utils/RCS/Makefile,v
retrieving revision 1.1
diff -u -r1.1 utils/Makefile
--- utils/Makefile      2005/07/30 18:21:40     1.1
+++ utils/Makefile      2005/07/30 18:24:55
@@ -19,7 +19,7 @@
 ivtvplay: ivtvplay.o
        gcc $(CFLAGS) ivtvplay.o -o ivtvplay -lpthread -lm -lstdc++
 
-encoder:
+encoder: enc_mindex.c enc_chann.c encoder.c
        gcc $(CFLAGS) -c enc_mindex.c
        gcc $(CFLAGS) -c enc_chann.c
        gcc $(CFLAGS) -DVIDEO_PORT=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-o encoder -lpthread encoder.c enc_mindex.o enc_chann.o
@@ -30,10 +30,10 @@
 cx25840ctl: cx25840ctl.o cx25840-registers.o
        gcc $(CFLAGS) cx25840ctl.o cx25840-registers.o -o cx25840ctl
 
-capture: cc_decode.h 
+capture: cc_decode.h capture.c
        gcc $(CFLAGS) -I$(INC_ZVBI_SRC) -o capture capture.c  
$(LIB_ZVBI_SRC)/libzvbi.a -lpthread -lm -lz 
 
-install:
+install: $(SANEEXES) $(INSANEEXES)
        install -d $(DESTDIR)/$(HEADERDIR)
        install -m 0644 $(INSTALL_HEADERS) $(DESTDIR)/$(HEADERDIR)
        install -d $(DESTDIR)/$(INSTALLDIR)
================ end of patch ================


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to