Commit 7e940610 authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

adding pkg-config support

I hope david will be happy !
parent 2674ac3f
......@@ -4,7 +4,8 @@ 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])
doc/Makefile src/Makefile libmpeg2/Makefile libvo/Makefile vc++/Makefile
libmpeg2/libmpeg2.pc src/libcpuaccel.pc])
AM_INIT_AUTOMAKE([mpeg2dec],[0.2.2-cvs])
AC_CONFIG_HEADERS([include/config.h])
AM_MAINTAINER_MODE
......
......@@ -9,3 +9,4 @@ Makefile.in
.deps
.libs
libmpeg2.la
libmpeg2.pc
......@@ -13,4 +13,7 @@ libmpeg2_la_SOURCES = alloc.c decode.c header.c cpu_state.c slice.c \
libmpeg2_la_LIBADD = @LIBMPEG2_LIBS@
libmpeg2_la_LDFLAGS = -no-undefined
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmpeg2.pc
EXTRA_DIST = configure.incl vlc.h mpeg2_internal.h
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libmpeg2
Description: A decoding library for MPEG-1 and MPEG-2 streams.
Version: @VERSION@
Libs: -L${libdir} -lmpeg2
Cflags: -I${includedir}/@PACKAGE@
......@@ -11,3 +11,4 @@ Makefile.in
mpeg2dec
extract_mpeg2
libcpuaccel.la
libcpuaccel.pc
......@@ -13,4 +13,7 @@ libcpuaccel_la_LDFLAGS = -no-undefined
man_MANS = mpeg2dec.1 extract_mpeg2.1
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcpuaccel.pc
EXTRA_DIST = configure.incl getopt.h gettimeofday.h $(man_MANS)
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libcpuaccel
Description: CPU detection library for libmpeg2.
Version: @VERSION@
Libs: -L${libdir} -lcpuaccel
Cflags: -I${includedir}/@PACKAGE@
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