summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-06-27 01:09:19 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-14 23:33:17 -0300
commit2e788ebfb05a3384f50c8389ed2068e456fdea4c (patch)
tree723b8eec37bee25dcee605828f075dad8b4e3c47
parent7ce4a519e2c276bd55f1dcee61945cceda5dd06d (diff)
Creating pkgconfig file
Exporting the emix's headers.
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am9
-rw-r--r--configure.ac1
-rw-r--r--emix.pc.in11
4 files changed, 22 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 84c1157..946e359 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
1*.o 1*.o
2emix.pc
2*.header 3*.header
3*.lo 4*.lo
4*.la 5*.la
diff --git a/Makefile.am b/Makefile.am
index 456620b..569c6ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,11 @@ lib_LTLIBRARIES = \
27 src/lib/libepulse.la \ 27 src/lib/libepulse.la \
28 src/lib/libemix.la 28 src/lib/libemix.la
29 29
30includes_HEADERS = \
31 src/lib/emix.h \
32 src/lib/common.h
33includesdir = $(includedir)/emix
34
30src_lib_libemix_la_SOURCES = \ 35src_lib_libemix_la_SOURCES = \
31 src/lib/emix.h \ 36 src/lib/emix.h \
32 src/lib/emix.c 37 src/lib/emix.c
@@ -126,10 +131,14 @@ desktop_DATA = data/xml/epulse.desktop
126EXTRA_DIST += \ 131EXTRA_DIST += \
127 $(icons_DATA) \ 132 $(icons_DATA) \
128 $(desktop_DATA) \ 133 $(desktop_DATA) \
134 emix.pc.in \
129 mksnapshot \ 135 mksnapshot \
130 mksubmit \ 136 mksubmit \
131 autogen.sh 137 autogen.sh
132 138
139pkgconfigdir = $(libdir)/pkgconfig
140pkgconfig_DATA = emix.pc
141
133.PHONY: update-potfiles 142.PHONY: update-potfiles
134update-potfiles: 143update-potfiles:
135 cd $(top_srcdir) && \ 144 cd $(top_srcdir) && \
diff --git a/configure.ac b/configure.ac
index 3af7e72..fc81c6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,7 @@ AC_DEFINE_UNQUOTED(BACKENDS_DIR, "$prefix/lib/emix/", "Backends dir)
107 107
108AC_CONFIG_FILES([ 108AC_CONFIG_FILES([
109po/Makefile.in \ 109po/Makefile.in \
110emix.pc
110Makefile 111Makefile
111]) 112])
112AC_OUTPUT([ 113AC_OUTPUT([
diff --git a/emix.pc.in b/emix.pc.in
new file mode 100644
index 0000000..6b46787
--- /dev/null
+++ b/emix.pc.in
@@ -0,0 +1,11 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4includedir=@includedir@
5pkgdatadir=@datadir@/emix
6
7Name: emix
8Description: EFL general library
9Version: @VERSION@
10Libs: -L${libdir} -lemix @EFL_LIBS@
11Cflags: -I${includedir}/emix