Commit 46a58996 authored by Jan Gerber's avatar Jan Gerber
Browse files

remove outdated Makefile, update version to svn

parent f0b0e52b
......@@ -2,12 +2,14 @@ AUTOMAKE_OPTIONS = 1.8 dist-bzip2 no-dist-gzip
SUBDIRS = kino_export
EXTRA_DIST = Makefile.mingw32 ffmpeg2theora.h theorautils.h get_ffmpeg_svn.sh ffmpeg2theora.1 \
get_libkate.sh subtitles.h subtitles.txt
EXTRA_DIST = Makefile get_ffmpeg_svn.sh \
ffmpeg2theora.1 \
get_libkate.sh subtitles.txt
bin_PROGRAMS = ffmpeg2theora
ffmpeg2theora_SOURCES = ffmpeg2theora.c theorautils.c subtitles.c
ffmpeg2theora_SOURCES = ffmpeg2theora.c theorautils.c subtitles.c \
ffmpeg2theora.h theorautils.h subtitles.h
ffmpeg2theora_LDFLAGS = -L$(prefix)/lib @XIPH_LIBS@ @KATE_LIBS@ @FFMPEG_LIBS@
ffmpeg2theora_CFLAGS = @XIPH_CFLAGS@ @KATE_CFLAGS@ @FFMPEG_CFLAGS@
......
#Makefile for ffmpeg2theora/mingw32
#
#
CC=i586-mingw32msvc-gcc
CFLAGS=-O3 -s -D_FILE_OFFSET_BITS=64
MINGW32LIBS=/usr/local/win32/build/lib
FFMPEG=/usr/local/win32/src/ffmpeg
MINGW32INCLUDE=-I/usr/local/win32/build/include
#LINKFLAGS= -static -ltheora -lvorbis -lvorbisenc -lz -lm $(MINGW32LIBS)/avformat.dll $(MINGW32LIBS)/avcodec.dll -static
LINKFLAGS= -static $(MINGW32LIBS)/libtheora.a $(FFMPEG)/libavformat/avformat.dll $(FFMPEG)/libavcodec/libavcodec.a $(MINGW32LIBS)/libvorbis.a $(MINGW32LIBS)/libvorbisenc.a $(MINGW32LIBS)/libogg.a -lz -lm
BIN=ffmpeg2theora.exe
all: $(BIN)
theorautils.o:
$(CC) $(CFLAGS) $(INCLUDE) $(MINGW32INCLUDE) $(MINGW32INCLUDE)/ffmpeg \
-c -o theorautils.o theorautils.c
ffmpeg2theora.o:
$(CC) $(CFLAGS) $(INCLUDE) $(MINGW32INCLUDE) $(MINGW32INCLUDE)/ffmpeg \
-c -o ffmpeg2theora.o ffmpeg2theora.c
$(BIN): ffmpeg2theora.o theorautils.o
$(CC) $(CFLAGS) -o $(BIN) ffmpeg2theora.o theorautils.o \
$(LINKFLAGS) -L$(MINGW32LIBS)
upx $(BIN)
clean:
rm -f $(BIN)
rm -f *.o core *.core
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(ffmpeg2theora,0.21)
AC_INIT(ffmpeg2theora,0.21+svn)
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment