summaryrefslogtreecommitdiff
path: root/libslab/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:51:44 -0300
committerPerberos <[email protected]>2011-12-01 21:51:44 -0300
commit0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch)
tree47d329edd31c67eaa36b2147780e37e197e901b5 /libslab/Makefile.am
downloadmate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2
mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'libslab/Makefile.am')
-rw-r--r--libslab/Makefile.am100
1 files changed, 100 insertions, 0 deletions
diff --git a/libslab/Makefile.am b/libslab/Makefile.am
new file mode 100644
index 00000000..e9cfb986
--- /dev/null
+++ b/libslab/Makefile.am
@@ -0,0 +1,100 @@
+INCLUDES = \
+ -I$(top_srcdir) \
+ $(LIBSLAB_CFLAGS) \
+ $(WARN_CFLAGS)
+
+
+HEADER_FILES= \
+ $(BUILT_SOURCES) \
+ app-resizer.h \
+ app-shell.h \
+ application-tile.h \
+ bookmark-agent.h \
+ directory-tile.h \
+ document-tile.h \
+ double-click-detector.h \
+ mate-utils.h \
+ libslab-utils.h \
+ nameplate-tile.h \
+ search-bar.h \
+ search-context-picker.h \
+ search-entry.h \
+ shell-window.h \
+ slab-mate-util.h \
+ slab-section.h \
+ slab.h \
+ 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) \
+ app-resizer.c \
+ app-shell.c \
+ application-tile.c \
+ bookmark-agent.c \
+ directory-tile.c \
+ document-tile.c \
+ double-click-detector.c \
+ mate-utils.c \
+ libslab-utils.c \
+ nameplate-tile.c \
+ search-bar.c \
+ search-context-picker.c \
+ search-entry-watermark.h \
+ search-entry.c \
+ shell-window.c \
+ slab-mate-util.c \
+ slab-section.c \
+ system-tile.c \
+ themed-icon.c \
+ themed-icon.h \
+ 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
+ echo '#define SEARCH_ENTRY_WATERMARK_SVG "\' > $@; \
+ sed -e 's/"/\\"/g' -e 's/$$/\\/' -e 's/#000000/#%s/g' $< >> $@; \
+ echo '"' >> $@
+
+
+MARSHAL_GENERATED = nld-marshal.c nld-marshal.h
+
+nld-marshal.h: nld-marshal.list
+ ( @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --header > nld-marshal.tmp \
+ && mv nld-marshal.tmp nld-marshal.h ) \
+ || ( rm -f nld-marshal.tmp && exit 1 )
+
+nld-marshal.c: nld-marshal.h
+ ( (echo '#include "nld-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=nld_marshal $(srcdir)/nld-marshal.list --body) > nld-marshal.tmp \
+ && mv nld-marshal.tmp nld-marshal.c ) \
+ || ( rm -f nld-marshal.tmp && exit 1 )
+
+
+BUILT_SOURCES = \
+ search-entry-watermark.h \
+ $(MARSHAL_GENERATED)
+
+CLEANFILES = \
+ search-entry-watermark.h \
+ $(MARSHAL_GENERATED)
+
+EXTRA_DIST= \
+ search-entry-watermark.svg \
+ nld-marshal.list
+
+-include $(top_srcdir)/git.mk