Commit d8d337f5 authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

autotools update

parent 72e0c850
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_PREREQ(2.54)
AC_INIT
AC_CONFIG_SRCDIR([src/mpeg2dec.c])
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile
doc/Makefile src/Makefile libmpeg2/Makefile libvo/Makefile vc++/Makefile])
AM_INIT_AUTOMAKE([mpeg2dec],[0.2.2-cvs])
AM_CONFIG_HEADER(include/config.h)
AC_CONFIG_HEADERS([include/config.h])
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
......
CFLAGS = @MPEG2DEC_CFLAGS@
AM_CFLAGS = @MPEG2DEC_CFLAGS@
noinst_PROGRAMS = sample1 sample2
sample1_SOURCES = sample1.c
......
CFLAGS = @CFLAGS@ @LIBMPEG2_CFLAGS@
AM_CFLAGS = @CFLAGS@ @LIBMPEG2_CFLAGS@
lib_LTLIBRARIES = libmpeg2.la
libmpeg2_la_SOURCES = alloc.c decode.c header.c cpu_state.c slice.c \
......
CFLAGS = @CFLAGS@ @LIBVO_CFLAGS@
AM_CFLAGS = @CFLAGS@ @LIBVO_CFLAGS@
noinst_LIBRARIES = libvo.a
libvo_a_SOURCES = video_out.c video_out_x11.c video_out_dx.c video_out_sdl.c \
......
CFLAGS = @MPEG2DEC_CFLAGS@
AM_CFLAGS = @MPEG2DEC_CFLAGS@
bin_PROGRAMS = mpeg2dec extract_mpeg2
mpeg2dec_SOURCES = mpeg2dec.c getopt.c gettimeofday.c
......
DISTCLEANFILES = cpu_accel.obj yuv2rgb_mmx.obj cpu_state.obj \
idct_mmx.obj motion_comp_mmx.obj
EXTRA_DIST = config.h inttypes.h libmpeg2.dsp libvo.dsp mpeg2dec.dsp \
mpeg2dec.dsw cpu_accel.obj yuv2rgb_mmx.obj \
cpu_state.obj idct_mmx.obj motion_comp_mmx.obj
mpeg2dec.dsw $(DISTCLEANFILES)
WIN_GCC := i586-mingw32msvc-gcc -I$(top_srcdir)/vc++ -I$(top_srcdir)/include \
-Wall -Werror -O3 -fomit-frame-pointer -mcpu=pentiumpro
......
Markdown is supported
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