summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-09-17 20:20:13 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-09-17 20:28:05 -0300
commit5999456a9f8e74dbd22300973074a0c4f77009c1 (patch)
tree59041d6e48ce37b0b17143bfd88f8f1b8f1ff2ab
parent01b9b1eae7dde5f25204655c30a9de1ff4a1b34e (diff)
autotools: Added elementary-cxx.pc.in.
-rw-r--r--legacy/elementary/Makefile.am9
-rw-r--r--legacy/elementary/elementary-cxx.pc.in17
2 files changed, 24 insertions, 2 deletions
diff --git a/legacy/elementary/Makefile.am b/legacy/elementary/Makefile.am
index 9353394797..e85ba36c1e 100644
--- a/legacy/elementary/Makefile.am
+++ b/legacy/elementary/Makefile.am
@@ -64,6 +64,7 @@ COPYING \
64COPYING.images \ 64COPYING.images \
65COMPLIANCE \ 65COMPLIANCE \
66elementary.pc.in \ 66elementary.pc.in \
67elementary-cxx.pc.in \
67elementary.spec \ 68elementary.spec \
68elementary.spec.in \ 69elementary.spec.in \
69m4/efl_binary.m4 \ 70m4/efl_binary.m4 \
@@ -95,15 +96,19 @@ elementary.pc: $(top_srcdir)/elementary.pc.in Makefile
95 $(AM_V_at)rm -f $@ 96 $(AM_V_at)rm -f $@
96 $(pc_verbose)$(sed_process) 97 $(pc_verbose)$(sed_process)
97 98
99elementary-cxx.pc: $(top_srcdir)/elementary-cxx.pc.in Makefile
100 $(AM_V_at)rm -f $@
101 $(pc_verbose)$(sed_process)
102
98if HAVE_FREEBSD 103if HAVE_FREEBSD
99pkgconfigdir = $(libdir)data/pkgconfig 104pkgconfigdir = $(libdir)data/pkgconfig
100else 105else
101pkgconfigdir = $(libdir)/pkgconfig 106pkgconfigdir = $(libdir)/pkgconfig
102endif 107endif
103 108
104pkgconfig_DATA = elementary.pc 109pkgconfig_DATA = elementary.pc elementary-cxx.pc
105 110
106CLEANFILES = elementary.pc 111CLEANFILES = elementary.pc elementary-cxx.pc
107 112
108cmakeconfigdir = $(libdir)/cmake/Elementary 113cmakeconfigdir = $(libdir)/cmake/Elementary
109cmakeconfig_DATA = \ 114cmakeconfig_DATA = \
diff --git a/legacy/elementary/elementary-cxx.pc.in b/legacy/elementary/elementary-cxx.pc.in
new file mode 100644
index 0000000000..a85e0aff9c
--- /dev/null
+++ b/legacy/elementary/elementary-cxx.pc.in
@@ -0,0 +1,17 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5datarootdir=@datarootdir@
6datadir=@datadir@
7pkgdatadir=@pkgdatadir@
8themes=${pkgdatadir}/themes
9eoincludedir=${datadir}/eolian/include
10eolian_flags=-I${eoincludedir}/elementary-@VMAJ@
11
12Name: elementary++
13Description: Elementary C++ bindings
14Requires.private: @requirement_elm_pc@
15Version: @VERSION@
16Libs: -L${libdir} -lelementary @ELEMENTARY_LIBS@
17Cflags: -I${includedir}/elementary-@VMAJ@ -I${includedir}/elementary-cxx-@VMAJ@