diff --git a/legacy/ecore/Makefile.am b/legacy/ecore/Makefile.am index b5b24597b0..5614f70fb2 100644 --- a/legacy/ecore/Makefile.am +++ b/legacy/ecore/Makefile.am @@ -19,11 +19,13 @@ dist-hook: bin_SCRIPTS = ecore-config -EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec +EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec ecore.pc m4datadir = $(datadir)/aclocal m4data_DATA = ecore.m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = ecore.pc docs: $(MAKE) -C $(top_srcdir)/doc docs diff --git a/legacy/ecore/configure.ac b/legacy/ecore/configure.ac index 3418eef208..396505002b 100644 --- a/legacy/ecore/configure.ac +++ b/legacy/ecore/configure.ac @@ -95,6 +95,7 @@ AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS") AC_CONFIG_FILES([ Makefile +ecore.pc ecore-config src/Makefile debian/Makefile diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index bd1a927aee..5cd6553900 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -95,6 +95,7 @@ AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS") AC_OUTPUT([ Makefile ecore-config +ecore.pc src/Makefile debian/Makefile doc/Makefile diff --git a/legacy/ecore/ecore.pc.in b/legacy/ecore/ecore.pc.in new file mode 100644 index 0000000000..4dbb978630 --- /dev/null +++ b/legacy/ecore/ecore.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: ecore +Description: Enlightened Core X interface library +Version: @VERSION@ +Libs: -L${libdir} -lecore @x_libs@ -lm +Cflags: -I${includedir} -I@x_includes@ +