summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-30 16:03:03 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-30 16:27:05 -0400
commit416daffe5ec36d5bbc46486742b4066c13989233 (patch)
tree1736acf719d8b0e443f5b6bb0ec9192575e4ef38
parent6d32dfa1aac62ffede941e77772f766c53741d9a (diff)
downloadefl-416daffe5ec36d5bbc46486742b4066c13989233.tar.gz
efl-wl: add .pc file
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac1
-rw-r--r--pc/efl-wl.pc.in12
-rw-r--r--src/Makefile_efl_wl.am2
4 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 56de42d63a..939687bfda 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -265,6 +265,10 @@ if HAVE_ECORE_WL2
pkgconfig_DATA += pc/ecore-wl2.pc
endif
+if HAVE_EFL_WL
+pkgconfig_DATA += pc/efl-wl.pc
+endif
+
if HAVE_WIN32
pkgconfig_DATA += pc/ecore-win32.pc
endif
diff --git a/configure.ac b/configure.ac
index 14b0a58a11..7f8b05979f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5709,6 +5709,7 @@ pc/ecore-psl1ght.pc
pc/ecore-sdl.pc
pc/ecore-wayland.pc
pc/ecore-wl2.pc
+pc/efl-wl.pc
pc/ecore-win32.pc
pc/ecore-x.pc
pc/ecore-evas.pc
diff --git a/pc/efl-wl.pc.in b/pc/efl-wl.pc.in
new file mode 100644
index 0000000000..dfc9a69a35
--- /dev/null
+++ b/pc/efl-wl.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: efl-wl
+Description: EFL Wayland compositor widget
+Requires.private: @requirements_pc_efl_wl@
+Version: @VERSION@
+Libs: -L${libdir} -lefl_wl
+Libs.private: @requirements_libs_efl_wl@
+Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/efl-wl-@VMAJ@
diff --git a/src/Makefile_efl_wl.am b/src/Makefile_efl_wl.am
index ea05d2a4d6..d5e14e30ce 100644
--- a/src/Makefile_efl_wl.am
+++ b/src/Makefile_efl_wl.am
@@ -1,4 +1,4 @@
-if HAVE_ECORE_WL2
+if HAVE_EFL_WL
lib_LTLIBRARIES += lib/efl_wl/libefl_wl.la