summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
Diffstat (limited to 'libslab')
-rw-r--r--libslab/Makefile.am13
-rw-r--r--libslab/libslab.pc.in12
2 files changed, 15 insertions, 10 deletions
diff --git a/libslab/Makefile.am b/libslab/Makefile.am
index 181d9604..f9c844fd 100644
--- a/libslab/Makefile.am
+++ b/libslab/Makefile.am
@@ -1,9 +1,11 @@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libslab.pc
+
INCLUDES = \
-I$(top_srcdir) \
$(LIBSLAB_CFLAGS) \
$(WARN_CFLAGS)
-
HEADER_FILES= \
$(BUILT_SOURCES) \
app-resizer.h \
@@ -24,11 +26,7 @@ HEADER_FILES= \
system-tile.h \
tile.h
-if !LIBSLAB_FOR_INTERNAL_USE
lib_LTLIBRARIES = libslab.la
-else
-noinst_LTLIBRARIES = libslab.la
-endif
libslab_la_SOURCES = \
$(MARSHAL_GENERATED) \
@@ -53,13 +51,8 @@ libslab_la_SOURCES = \
tile-action.c \
tile.c
-if !LIBSLAB_FOR_INTERNAL_USE
libslab_includedir = $(includedir)/libslab
libslab_include_HEADERS = $(HEADER_FILES)
-
-libslab_la_LDFLAGS = -version-info $(LT_VERSION)
-endif
-
libslab_la_LIBADD = $(LIBSLAB_LIBS)
search-entry-watermark.h: search-entry-watermark.svg
diff --git a/libslab/libslab.pc.in b/libslab/libslab.pc.in
new file mode 100644
index 00000000..bbc8371c
--- /dev/null
+++ b/libslab/libslab.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libslab
+Description: Beautiful App Slab
+Requires: glib-2.0 gobject-2.0 gio-2.0 gtk+-2.0 mate-desktop-2.0 libmate-menu
+Requires.private: gdk-2.0 librsvg-2.0
+Version: @VERSION@
+Libs: -L${libdir} -lslab
+Cflags: -I${includedir}/libslab