summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-05-14 13:35:03 -0400
committerSteve Zesch <[email protected]>2012-05-14 13:35:03 -0400
commit130eaa7d69ed4803041774442ccb6a9d7ea1ec4c (patch)
treef7339140f1c496a53e1c43ae9f3742235f5ae1b9 /src/Makefile.am
parentb42609046ef05f8d8be4b08ac50ea10a3c6dfe71 (diff)
downloadmate-user-share-130eaa7d69ed4803041774442ccb6a9d7ea1ec4c.tar.bz2
mate-user-share-130eaa7d69ed4803041774442ccb6a9d7ea1ec4c.tar.xz
Forked gnome-user-share. Work in progress.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..90be13d
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,81 @@
+
+MARSHALFILES = marshal.c marshal.h
+BUILT_SOURCES = $(MARSHALFILES)
+
+marshal.c: marshal.h
+ $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header --body > marshal.c )
+marshal.h: marshal.list
+ $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=marshal $(srcdir)/marshal.list --header > marshal.h )
+
+
+bin_PROGRAMS= \
+ mate-file-share-properties
+
+libexec_PROGRAMS= \
+ mate-user-share
+
+noinst_LTLIBRARIES = libuser-share-common.la
+libuser_share_common_la_SOURCES = user_share-common.c user_share-common.h
+
+INCLUDES= \
+ -DPREFIX=\""$(prefix)"\" \
+ -DBINDIR=\""$(bindir)"\" \
+ -DLIBEXECDIR=\""$(libexecdir)"\" \
+ -DUSER_SHARE_PROGRAM=\""$(libexecdir)/mate-user-share"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -DDATADIR=\""$(datadir)/mate-user-share/"\" \
+ -DHTTPD_CONFIG_TEMPLATE=\""$(datadir)/mate-user-share/dav_user_%s.conf"\" \
+ -DHTTPD_PROGRAM=\""$(HTTPD)"\" \
+ -DHTTPD_MODULES_PATH=\""$(MODULES_PATH)"\" \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(EXTENSION_CFLAGS) \
+ $(USER_SHARE_CFLAGS) \
+ $(USER_SHARE_CONFIG_CFLAGS) \
+ $(X_CFLAGS)
+
+mate_user_share_SOURCES = \
+ user_share.c \
+ user_share.h \
+ user_share-private.h \
+ user_share-private.c \
+ http.c \
+ http.h \
+ obexftp.c \
+ obexftp.h \
+ obexpush.c \
+ obexpush.h \
+ $(MARSHALFILES)
+
+mate_user_share_LDADD = \
+ libuser-share-common.la \
+ $(USER_SHARE_LIBS) \
+ $(SELINUX_LIBS) \
+ $(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
+
+mate_file_share_properties_SOURCES = \
+ file-share-properties.c \
+ user_share-private.h \
+ user_share-private.c
+
+mate_file_share_properties_LDADD = \
+ $(USER_SHARE_CONFIG_LIBS)
+
+caja_extensiondir = $(CAJADIR)
+caja_extension_LTLIBRARIES = libcaja-share-extension.la
+
+libcaja_share_extension_la_SOURCES = \
+ caja-share-bar.c \
+ caja-share-bar.h \
+ share-extension.c \
+ $(NULL)
+
+libcaja_share_extension_la_LIBADD = libuser-share-common.la $(EXTENSION_LIBS)
+libcaja_share_extension_la_LDFLAGS = -avoid-version -module -no-undefined
+
+EXTRA_DIST = marshal.list
+
+CLEANFILES = $(BUILT_SOURCES)
+
+
+-include $(top_srcdir)/git.mk