From: jeoparde Date: Sat, 3 May 2003 08:56:29 +0000 (+0000) Subject: Patch for pkg-config support from Tilman Sauerbeck . X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~1039 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee5e1657fc9529f015f772f706fc6a3510bb3f76;p=profile%2Fivi%2Feet.git Patch for pkg-config support from Tilman Sauerbeck . git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@6891 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/Makefile.am b/Makefile.am index d961ae3..aea7f97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,4 +15,9 @@ dist-hook: bin_SCRIPTS = eet-config -EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN eet.spec eet.c.in gendoc Doxyfile eet_docs.tar.gz +EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN eet.spec eet.c.in \ + gendoc Doxyfile eet_docs.tar.gz eet.pc.in + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = eet.pc + diff --git a/configure.ac b/configure.ac index 669d546..c8f1ee3 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,7 @@ AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}") AC_OUTPUT([ Makefile +eet.pc src/Makefile src/lib/Makefile src/bin/Makefile diff --git a/configure.in b/configure.in index ea8ccc6..1b6b4fc 100644 --- a/configure.in +++ b/configure.in @@ -74,6 +74,7 @@ AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}") AC_OUTPUT([ Makefile +eet,pc src/Makefile src/lib/Makefile src/bin/Makefile diff --git a/eet.pc.in b/eet.pc.in new file mode 100644 index 0000000..ee5b363 --- /dev/null +++ b/eet.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: eet +Description: eet +Version: @VERSION@ +Libs: -L${libdir} -leet -ljpeg -lz +Cflags: -I${includedir} +