added pkg-config(1) support
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile.am,v 1.4 2003/04/20 15:34:31 rocky Exp $
|
# $Id: Makefile.am,v 1.5 2003/04/21 10:17:50 hvr Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
# Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||||
#
|
#
|
||||||
@@ -25,6 +25,12 @@ EXTRA_DIST = libpopt.m4 THANKS
|
|||||||
# SUBDIRS = doc include lib src tests
|
# SUBDIRS = doc include lib src tests
|
||||||
SUBDIRS = include lib src tests
|
SUBDIRS = include lib src tests
|
||||||
|
|
||||||
|
# pkg-config(1) related rules
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libcdio.pc
|
||||||
|
|
||||||
|
$(pkgconfig_DATA): config.status
|
||||||
|
|
||||||
# List of additional files for expanded regression tests
|
# List of additional files for expanded regression tests
|
||||||
DISTFILES_REGRESSION = tests/monvoisin.nrg tests/monvoisin.right \
|
DISTFILES_REGRESSION = tests/monvoisin.nrg tests/monvoisin.right \
|
||||||
tests/svcd_ogt_test_ntsc.bin \
|
tests/svcd_ogt_test_ntsc.bin \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
AC_REVISION([$Id: configure.ac,v 1.14 2003/04/20 17:24:48 rocky Exp $])dnl
|
AC_REVISION([$Id: configure.ac,v 1.15 2003/04/21 10:17:50 hvr Exp $])dnl
|
||||||
AC_INIT(lib/cdio.c)
|
AC_INIT(lib/cdio.c)
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(libcdio, 0.3)
|
AM_INIT_AUTOMAKE(libcdio, 0.3)
|
||||||
@@ -215,6 +215,7 @@ AC_CONFIG_COMMANDS([checks],
|
|||||||
|
|
||||||
AC_OUTPUT([ \
|
AC_OUTPUT([ \
|
||||||
Makefile \
|
Makefile \
|
||||||
|
libcdio.pc \
|
||||||
include/Makefile \
|
include/Makefile \
|
||||||
include/cdio/Makefile \
|
include/cdio/Makefile \
|
||||||
include/cdio/cdio.h \
|
include/cdio/cdio.h \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/* -*- c -*-
|
||||||
$Id: cdio.h.in,v 1.2 2003/04/20 17:24:49 rocky Exp $
|
$Id: cdio.h.in,v 1.3 2003/04/21 10:17:50 hvr Exp $
|
||||||
|
|
||||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|||||||
11
libcdio.pc.in
Normal file
11
libcdio.pc.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libcdio
|
||||||
|
Description: Portable CD-ROM I/O library
|
||||||
|
Version: @VERSION@
|
||||||
|
Requires: glib-2.0
|
||||||
|
Libs: -L${libdir} -lcdio
|
||||||
|
Cflags: -I${includedir}
|
||||||
Reference in New Issue
Block a user