autotools: Added elementary-cxx.pc.in.

This commit is contained in:
Savio Sena 2014-09-17 20:20:13 -03:00
parent 01b9b1eae7
commit 5999456a9f
2 changed files with 24 additions and 2 deletions

View File

@ -64,6 +64,7 @@ COPYING \
COPYING.images \
COMPLIANCE \
elementary.pc.in \
elementary-cxx.pc.in \
elementary.spec \
elementary.spec.in \
m4/efl_binary.m4 \
@ -95,15 +96,19 @@ elementary.pc: $(top_srcdir)/elementary.pc.in Makefile
$(AM_V_at)rm -f $@
$(pc_verbose)$(sed_process)
elementary-cxx.pc: $(top_srcdir)/elementary-cxx.pc.in Makefile
$(AM_V_at)rm -f $@
$(pc_verbose)$(sed_process)
if HAVE_FREEBSD
pkgconfigdir = $(libdir)data/pkgconfig
else
pkgconfigdir = $(libdir)/pkgconfig
endif
pkgconfig_DATA = elementary.pc
pkgconfig_DATA = elementary.pc elementary-cxx.pc
CLEANFILES = elementary.pc
CLEANFILES = elementary.pc elementary-cxx.pc
cmakeconfigdir = $(libdir)/cmake/Elementary
cmakeconfig_DATA = \

View File

@ -0,0 +1,17 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
datarootdir=@datarootdir@
datadir=@datadir@
pkgdatadir=@pkgdatadir@
themes=${pkgdatadir}/themes
eoincludedir=${datadir}/eolian/include
eolian_flags=-I${eoincludedir}/elementary-@VMAJ@
Name: elementary++
Description: Elementary C++ bindings
Requires.private: @requirement_elm_pc@
Version: @VERSION@
Libs: -L${libdir} -lelementary @ELEMENTARY_LIBS@
Cflags: -I${includedir}/elementary-@VMAJ@ -I${includedir}/elementary-cxx-@VMAJ@