1#
2# Dirty makefile to include addons
3#
4
5DISTFILES= Makefile ad2_copy_nuv \
6	ffv1rec/History \
7	ffv1rec/LICENSE \
8	ffv1rec/Makefile \
9	ffv1rec/ffv1.h \
10	ffv1rec/ffv1audio.c \
11	ffv1rec/ffv1codec.c \
12	ffv1rec/ffv1color.c \
13	ffv1rec/ffv1rec.c \
14	ffv1rec/ffv1video.c \
15	ffv1rec/ffv1write.c \
16	ffv1rec/nuppelvideo.h
17install:
18	@echo "nothing to install here"
19clean:
20	@echo "nothing to clean here"
21distclean:
22	@echo "nothing to distclean here"
23all: $(DISTFILE)
24	@echo "nothing to build here"
25srcdir= .
26distdir: $(DISTFILES)
27	mkdir $(distdir)/ffv1rec
28	@for file in $(DISTFILES); do \
29	if test -f $$file; then d=.; else d=$(srcdir); fi; \
30	dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
31	if test "$$dir" != "$$file" && test "$$dir" != "."; then \
32	$(mkinstalldirs) "$(distdir)/$$dir"; \
33	fi; \
34	if test -d $$d/$$file; then \
35	cp -pR $$d/$$file $(distdir) \
36	|| exit 1; \
37	else \
38	test -f $(distdir)/$$file \
39	|| cp -p $$d/$$file $(distdir)/$$file \
40	|| exit 1; \
41	fi; \
42	done
43
44