[linux-dvb] A Patch to make dvb-apps Makefiles sane

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Schwarzott wrote:

>Hi!
>I have a patch to correct some Makefile issues.
>
>  
>
>Changes:
>1. compile when CFLAGS is set in environment.
>2. make install works now
>3. install ca_zap
>
>Matthias Schwarzott
>  
>
>  
>

Hi,

Any reason why this patch should not be applied .. ?


Manu

>------------------------------------------------------------------------
>
>diff -ru dvb-apps-orig/libs/libdvbcfg/Makefile dvb-apps/libs/libdvbcfg/Makefile
>--- dvb-apps-orig/libs/libdvbcfg/Makefile	2005-10-17 12:27:41.000000000 +0200
>+++ dvb-apps/libs/libdvbcfg/Makefile	2005-10-17 12:28:08.000000000 +0200
>@@ -30,8 +30,8 @@
> 
> DVBCFG_DEFAULT_DIR = /etc/dvb
> 
>-CFLAGS ?= -fPIC -O2 -g -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -DDVBCFG_DEFAULT_DIR=\"$(DVBCFG_DEFAULT_DIR)\"
>-CPPFLAGS = -I. -I../../include
>+CFLAGS ?= -fPIC -O2 -g -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith
>+CPPFLAGS = -I. -I../../include -DDVBCFG_DEFAULT_DIR=\"$(DVBCFG_DEFAULT_DIR)\"
> LDFLAGS = -shared -lc
>
> STATICLIB = libdvbcfg.a
>--- dvb-apps-orig/util/ca_zap/Makefile	2005-10-17 12:34:07.000000000 +0200
>+++ dvb-apps/util/ca_zap/Makefile	2005-10-17 12:34:07.000000000 +0200
>@@ -16,6 +16,11 @@
> clean:
> 	$(RM) $(TARGETS) *.o *.d ca_zap
> 
>-install:
>+install: install-bin install-data
>+install-bin:
>+	test "$(bindir)/" != "/"
>+	mkdir -p $(DESTDIR)$(bindir)/
>+	for i in $(TARGETS) ; do cp $$i $(DESTDIR)$(bindir)/ ; done
>+install-data:
> 
> -include $(wildcard *.d) dummy
>--- dvb-apps-orig/libs/libsi2/dvb/Makefile	2005-10-17 12:36:48.000000000 +0200
>+++ dvb-apps/libs/libsi2/dvb/Makefile	2005-10-17 12:36:58.000000000 +0200
>@@ -20,7 +20,6 @@
>       bat_section.h \
>       dit_section.h \
>       eit_section.h \
>-      int_sectio.h \
>       nit_section.h \
>       rst_section.h \
>       sdt_section.h \
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>
>linux-dvb@xxxxxxxxxxx
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux