autotools: Added elementary-cxx.pc.in.
authorSavio Sena <savio@expertisesolutions.com.br>
Wed, 17 Sep 2014 23:20:13 +0000 (20:20 -0300)
committerSavio Sena <savio@expertisesolutions.com.br>
Wed, 17 Sep 2014 23:28:05 +0000 (20:28 -0300)
Makefile.am
elementary-cxx.pc.in [new file with mode: 0644]

index 9353394..e85ba36 100644 (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 = \
diff --git a/elementary-cxx.pc.in b/elementary-cxx.pc.in
new file mode 100644 (file)
index 0000000..a85e0af
--- /dev/null
@@ -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@