aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:35 (GMT)
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:35 (GMT)
commite258bb27135e755ea57c6d1e83e298d640913fc1 (patch)
tree0ae705962f55de0a13318168a6589c14d6f408e5 /Makefile.in
parentbb218f6ab257e1ced214fcc815a2357313ac1e38 (diff)
v2.14
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in38
1 files changed, 32 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 5bdd322..19912aa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,14 +21,16 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_DIR=mkdir -p
-CFLAGS=-g -Wall @CFLAGS@ -I. @X_CFLAGS@ -I$(bttvdir)
+VERSION=$(shell basename `pwd`)
+VRADIO=$(subst xawtv,kradio,$(VERSION))
+
+CFLAGS=-g -Wall @CFLAGS@ -I. @X_CFLAGS@ -I$(bttvdir) -DVERSION='"$(VERSION)"'
CXXFLAGS = $(CFLAGS) -I$(QTDIR)/include -I$(KDEDIR)/include
LDLIBS=@X_LIBS@ -l@XAWLIB@ -lXt @X_PRE_LIBS@ -lXext -lXmu \
-lX11 @X_EXTRA_LIBS@ @LIBS@
PROGS=xawtv v4l-conf set-tv fbtv grab-one dump-mixers radio @KRADIO@
-CHAN_SRCS= $(shell echo Channelmaps/*.chan)
SRCS= $(srcdir)/main.c\
$(srcdir)/toolbox.c\
$(srcdir)/mixer.c\
@@ -84,12 +86,12 @@ install: all
$(INSTALL_PROGRAM) -s -m4711 -o root -g root v4l-conf $(bindir)
$(INSTALL_DATA) xawtv.man $(mandir)/man1/xawtv.1
$(INSTALL_DATA) Xawtv.ad @x_libraries@/X11/app-defaults/Xawtv
+ make -C font install;
if test "@KRADIO@" = "kradio"; then \
$(INSTALL_PROGRAM) -s kradio $(kdebindir); \
$(INSTALL_DATA) *.kdelnk $(kdelnkdir); \
$(INSTALL_DIR) $(kradiodir)/toolbar; \
$(INSTALL_DATA) *.xpm $(kradiodir)/toolbar; \
- make -C font install; \
fi
if test -f fbtv; then \
$(INSTALL_PROGRAM) -s fbtv $(bindir); \
@@ -101,7 +103,7 @@ clean:
distclean: clean
-rm -f config.cache config.h config.log config.status Makefile
@echo "default:" > Makefile
- @echo " @echo 'try ./configure && make dep && make'" >> Makefile
+ @echo " ./configure && make dep && make" >> Makefile
-strip $(PROGS)
realclean: distclean
@@ -120,13 +122,37 @@ tags:
check:
ldd $(PROGS)
-dist: distclean
+tar:
find . -name snap0*.ppm -print | xargs -i rm -f
find . -name snap0*.jpeg -print | xargs -i rm -f
make -C bttv/driver clean
make -C font dist
- dir=`pwd`; rel=`basename $$dir`; cd ..; tar cvzf $$rel.tar.gz $$rel
+ cd ..; tar cvzf $(VERSION).tar.gz $(VERSION)
+
+diff:
+ echo $(VERSION)
+ (cd /tmp; tar xvzf `ls -t $(HOME)/2/src/Archives/xawtv-*.tar.gz | head -n 1`)
+ (cd ..; diff -urN /tmp/xawtv-* $(VERSION) | gzip > $(VERSION).diff.gz)
+ rm -rf /tmp/xawtv-*
+
+kdetar:
+ mkdir /tmp/$(VRADIO)
+ cp kradio.cpp kradio.h *.xpm kradio.kdelnk font/led-fixed.bdf /tmp/$(VRADIO)
+ cp Makefile.kradio /tmp/$(VRADIO)/Makefile
+ touch /tmp/$(VRADIO)/config.h
+ echo "some hints for compiling kradio are in the Makefile" > /tmp/$(VRADIO)/README
+ (cd /tmp; tar cvzf - $(VRADIO)) > ../$(VRADIO).tar.gz
+ rm -rf /tmp/$(VRADIO)
+
+dist: distclean tar kdetar diff
+
+glibc: realclean
+ CC=i486-pc-linux-gnuglibc2-gcc CXX=i486-pc-linux-gnuglibc2-g++ \
+ ./configure
+ make
#-------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.
+
+

Privacy Policy