summaryrefslogtreecommitdiff
path: root/libcaja-extension/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:24:23 -0300
committerPerberos <[email protected]>2011-12-01 22:24:23 -0300
commit0e004c696b0e68b2cff37a4c3315b022a35eaf43 (patch)
tree43261e815529cb9518ed7be37af13b846af8b26b /libcaja-extension/Makefile.am
downloadcaja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.bz2
caja-0e004c696b0e68b2cff37a4c3315b022a35eaf43.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'libcaja-extension/Makefile.am')
-rw-r--r--libcaja-extension/Makefile.am89
1 files changed, 89 insertions, 0 deletions
diff --git a/libcaja-extension/Makefile.am b/libcaja-extension/Makefile.am
new file mode 100644
index 00000000..a3416204
--- /dev/null
+++ b/libcaja-extension/Makefile.am
@@ -0,0 +1,89 @@
+CLEANFILES = $(NULL)
+
+include $(top_srcdir)/Makefile.shared
+
+lib_LTLIBRARIES=libcaja-extension.la
+
+INCLUDES = \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(LIBCAJA_EXTENSION_CFLAGS) \
+ $(WARNING_CFLAGS) \
+ $(DISABLE_DEPRECATED_CFLAGS) \
+ -DDATADIR=\""$(datadir)"\" \
+ $(UNIQUE_CFLAGS) \
+ $(NULL)
+
+libcaja_extension_la_LDFLAGS=\
+ -version-info @CAJA_EXTENSION_VERSION_INFO@ \
+ -no-undefined \
+ $(NULL)
+
+libcaja_extension_la_LIBADD = $(LIBCAJA_EXTENSION_LIBS)
+
+libcaja_extension_includedir=$(includedir)/caja/libcaja-extension
+
+libcaja_extension_include_HEADERS = \
+ caja-column-provider.h \
+ caja-column.h \
+ caja-extension-types.h \
+ caja-file-info.h \
+ caja-info-provider.h \
+ caja-location-widget-provider.h \
+ caja-menu-item.h \
+ caja-menu-provider.h \
+ caja-property-page-provider.h \
+ caja-property-page.h \
+ caja-menu.h \
+ $(NULL)
+
+libcaja_extension_la_SOURCES = \
+ caja-column-provider.c \
+ caja-column.c \
+ caja-extension-i18n.h \
+ caja-extension-types.c \
+ caja-extension-private.h \
+ caja-file-info.c \
+ caja-info-provider.c \
+ caja-location-widget-provider.c \
+ caja-menu-item.c \
+ caja-menu-provider.c \
+ caja-property-page-provider.c \
+ caja-property-page.c \
+ caja-menu.c \
+ $(NULL)
+
+pkgconfigdir=$(libdir)/pkgconfig
+pkgconfig_DATA=libcaja-extension.pc
+
+EXTRA_DIST = \
+ libcaja-extension.pc.in \
+ $(NULL)
+
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+introspection_files = \
+ $(libcaja_extension_include_HEADERS) \
+ $(libcaja_extension_la_SOURCES)
+Caja-2.0.gir: libcaja-extension.la Makefile
+Caja_2_0_gir_INCLUDES = Gtk-2.0 Gio-2.0 GLib-2.0
+Caja_2_0_gir_CFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(LIBCAJA_EXTENSION_CFLAGS)
+Caja_2_0_gir_LIBS = libcaja-extension.la
+Caja_2_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_files))
+INTROSPECTION_GIRS += Caja-2.0.gir
+
+girdir = $(datadir)/gir-1.0/
+gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibsdir = $(libdir)/girepository-1.0/
+typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+
+CLEANFILES += $(gir_DATA) $(typelibs_DATA)
+endif