summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am9
-rw-r--r--elementary-cxx.pc.in17
2 files changed, 24 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 935339479..e85ba36c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 = \
diff --git a/elementary-cxx.pc.in b/elementary-cxx.pc.in
new file mode 100644
index 000000000..a85e0aff9
--- /dev/null
+++ b/elementary-cxx.pc.in
@@ -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@