openbsd-ports/graphics/transcode/patches/patch-libvo_Makefile_in
sturm 55ff7d07a4 Initial import of transcode 0.6.12
transcode is a text console video-stream processing tool. 
It supports elementary video and audio frame transformations. 
Some example modules are included to enable import of MPEG-1/2, 
Digital Video, and other formats. It also includes export 
modules for writing to AVI files with DivX, OpenDivX, XviD,
Digital Video or other codecs. Direct DVD transcoding is also 
supported. A set of tools is available to extract and decode 
the sources into raw video/audio streams for import and to 
enable post-processing of AVI files.

from Waldemar Brodkorb and Jacob Meuser, maintained by
Waldemar Brodkorb <wbx at openbsd.de>
2004-06-18 18:56:42 +00:00

149 lines
6.4 KiB
Plaintext

$OpenBSD: patch-libvo_Makefile_in,v 1.1.1.1 2004/06/18 18:56:51 sturm Exp $
--- libvo/Makefile.in.orig 2004-04-29 22:48:37.000000000 -0700
+++ libvo/Makefile.in 2004-04-29 22:51:27.000000000 -0700
@@ -194,7 +194,6 @@ LIBLVE_CFLAGS = @LIBLVE_CFLAGS@
LIBLVE_LIBS = @LIBLVE_LIBS@
LIBMPEG3_CFLAGS = @LIBMPEG3_CFLAGS@
LIBMPEG3_LIBS = @LIBMPEG3_LIBS@
-LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIBXML2CONFIG = @LIBXML2CONFIG@
@@ -313,9 +312,9 @@ x_libraries = @x_libraries@
AUTOMAKE_OPTIONS = 1.3 foreign
DEFAULT_INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir) -I.
-noinst_LIBRARIES = libvout.a
+noinst_LTLIBRARIES = libvout.la
-libvout_a_SOURCES = video_out.c video_out_ppm.c video_out_yuv.c yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c cpu_accel.c rgb2yuv.c
+libvout_la_SOURCES = video_out.c video_out_ppm.c video_out_yuv.c yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c cpu_accel.c rgb2yuv.c
noinst_HEADERS = yuv2rgb.h video_out_internal.h video_out.h rgb2yuv.h mmx.h mm_accel.h
EXTRA_DIST = COPYING AUTHORS README
@@ -324,22 +323,23 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
+LTLIBRARIES = $(noinst_LTLIBRARIES)
-libvout_a_AR = $(AR) cru
-libvout_a_LIBADD =
-am_libvout_a_OBJECTS = video_out.$(OBJEXT) video_out_ppm.$(OBJEXT) \
- video_out_yuv.$(OBJEXT) yuv2rgb.$(OBJEXT) yuv2rgb_mmx.$(OBJEXT) \
- yuv2rgb_mlib.$(OBJEXT) cpu_accel.$(OBJEXT) rgb2yuv.$(OBJEXT)
-libvout_a_OBJECTS = $(am_libvout_a_OBJECTS)
+libvout_la_LDFLAGS =
+libvout_la_LIBADD =
+am_libvout_la_OBJECTS = video_out.lo video_out_ppm.lo video_out_yuv.lo \
+ yuv2rgb.lo yuv2rgb_mmx.lo yuv2rgb_mlib.lo cpu_accel.lo \
+ rgb2yuv.lo
+libvout_la_OBJECTS = $(am_libvout_la_OBJECTS)
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
am__depfiles_maybe = depfiles
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/cpu_accel.Po ./$(DEPDIR)/rgb2yuv.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/video_out.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/video_out_ppm.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/video_out_yuv.Po ./$(DEPDIR)/yuv2rgb.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/yuv2rgb_mlib.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/yuv2rgb_mmx.Po
+@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/cpu_accel.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/rgb2yuv.Plo ./$(DEPDIR)/video_out.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/video_out_ppm.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/video_out_yuv.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/yuv2rgb.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/yuv2rgb_mlib.Plo \
+@AMDEP_TRUE@ ./$(DEPDIR)/yuv2rgb_mmx.Plo
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
@@ -347,12 +347,12 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
-DIST_SOURCES = $(libvout_a_SOURCES)
+DIST_SOURCES = $(libvout_la_SOURCES)
HEADERS = $(noinst_HEADERS)
DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.in AUTHORS \
COPYING Makefile.am
-SOURCES = $(libvout_a_SOURCES)
+SOURCES = $(libvout_la_SOURCES)
all: all-am
@@ -364,12 +364,16 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-libvout.a: $(libvout_a_OBJECTS) $(libvout_a_DEPENDENCIES)
- -rm -f libvout.a
- $(libvout_a_AR) libvout.a $(libvout_a_OBJECTS) $(libvout_a_LIBADD)
- $(RANLIB) libvout.a
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" = "$$p" && dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libvout.la: $(libvout_la_OBJECTS) $(libvout_la_DEPENDENCIES)
+ $(LINK) $(libvout_la_LDFLAGS) $(libvout_la_OBJECTS) $(libvout_la_LIBADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
@@ -377,14 +381,14 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu_accel.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgb2yuv.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out_ppm.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out_yuv.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb_mlib.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb_mmx.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu_accel.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgb2yuv.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out_ppm.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/video_out_yuv.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb_mlib.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yuv2rgb_mmx.Plo@am__quote@
.c.o:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@@ -516,7 +520,7 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
-all-am: Makefile $(LIBRARIES) $(HEADERS)
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
installdirs:
install: install-am
@@ -545,7 +549,7 @@ maintainer-clean-generic:
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
-clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
+clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
mostlyclean-am
distclean: distclean-am
@@ -595,7 +599,7 @@ ps-am:
uninstall-am: uninstall-info-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- clean-libtool clean-noinstLIBRARIES ctags distclean \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
distclean-compile distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \