diff options
author | Savio Sena <savio@expertisesolutions.com.br> | 2014-09-17 20:20:13 -0300 |
---|---|---|
committer | Savio Sena <savio@expertisesolutions.com.br> | 2014-09-17 20:28:05 -0300 |
commit | 01225980757cbade318b273a2c7b3c51997d6dd9 (patch) | |
tree | 31318ca1e4806b1fe1f400474a96d3eb8f8845ac | |
parent | 925d346da0fdfd709d01b9a659e4ebb4835ea13c (diff) |
autotools: Added elementary-cxx.pc.in.
-rw-r--r-- | Makefile.am | 9 | ||||
-rw-r--r-- | elementary-cxx.pc.in | 17 |
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 \ | |||
64 | COPYING.images \ | 64 | COPYING.images \ |
65 | COMPLIANCE \ | 65 | COMPLIANCE \ |
66 | elementary.pc.in \ | 66 | elementary.pc.in \ |
67 | elementary-cxx.pc.in \ | ||
67 | elementary.spec \ | 68 | elementary.spec \ |
68 | elementary.spec.in \ | 69 | elementary.spec.in \ |
69 | m4/efl_binary.m4 \ | 70 | m4/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 | ||
99 | elementary-cxx.pc: $(top_srcdir)/elementary-cxx.pc.in Makefile | ||
100 | $(AM_V_at)rm -f $@ | ||
101 | $(pc_verbose)$(sed_process) | ||
102 | |||
98 | if HAVE_FREEBSD | 103 | if HAVE_FREEBSD |
99 | pkgconfigdir = $(libdir)data/pkgconfig | 104 | pkgconfigdir = $(libdir)data/pkgconfig |
100 | else | 105 | else |
101 | pkgconfigdir = $(libdir)/pkgconfig | 106 | pkgconfigdir = $(libdir)/pkgconfig |
102 | endif | 107 | endif |
103 | 108 | ||
104 | pkgconfig_DATA = elementary.pc | 109 | pkgconfig_DATA = elementary.pc elementary-cxx.pc |
105 | 110 | ||
106 | CLEANFILES = elementary.pc | 111 | CLEANFILES = elementary.pc elementary-cxx.pc |
107 | 112 | ||
108 | cmakeconfigdir = $(libdir)/cmake/Elementary | 113 | cmakeconfigdir = $(libdir)/cmake/Elementary |
109 | cmakeconfig_DATA = \ | 114 | 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 @@ | |||
1 | prefix=@prefix@ | ||
2 | exec_prefix=@exec_prefix@ | ||
3 | libdir=@libdir@ | ||
4 | includedir=@includedir@ | ||
5 | datarootdir=@datarootdir@ | ||
6 | datadir=@datadir@ | ||
7 | pkgdatadir=@pkgdatadir@ | ||
8 | themes=${pkgdatadir}/themes | ||
9 | eoincludedir=${datadir}/eolian/include | ||
10 | eolian_flags=-I${eoincludedir}/elementary-@VMAJ@ | ||
11 | |||
12 | Name: elementary++ | ||
13 | Description: Elementary C++ bindings | ||
14 | Requires.private: @requirement_elm_pc@ | ||
15 | Version: @VERSION@ | ||
16 | Libs: -L${libdir} -lelementary @ELEMENTARY_LIBS@ | ||
17 | Cflags: -I${includedir}/elementary-@VMAJ@ -I${includedir}/elementary-cxx-@VMAJ@ | ||