summaryrefslogtreecommitdiff
path: root/share/Makefile.am
blob: 18e647579d78faee9c1cfb2009e715a1a9c04748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
NULL =

interfacesdir = $(datadir)/caja-extensions
interfaces_DATA = share-dialog.ui

AM_CPPFLAGS =					\
	$(DISABLE_DEPRECATED_CPPFLAGS)		\
	-DMATELOCALEDIR=\""$(datadir)/locale"\"	\
	-I$(top_builddir)			\
	$(NULL)

AM_CFLAGS =					\
	$(WARN_CFLAGS)				\
	$(NULL)

caja_extensiondir = $(CAJA_EXTENSION_DIR)

caja_extension_LTLIBRARIES = libcaja-share.la

libcaja_share_la_SOURCES =			\
	caja-share.c				\
	caja-share.h				\
	shares.c				\
	shares.h				\
	$(NULL)
libcaja_share_la_CPPFLAGS =			\
	$(AM_CPPFLAGS)				\
	-DG_LOG_DOMAIN=\"Caja-Share\"		\
	-DINTERFACES_DIR=\"$(interfacesdir)\"	\
	-DDATADIR=\"$(datadir)\"		\
	$(NULL)
libcaja_share_la_CFLAGS =			\
	$(AM_CFLAGS)				\
	$(CAJA_CFLAGS)				\
	$(SHARE_CFLAGS)				\
	$(NULL)
libcaja_share_la_LDFLAGS = -module -avoid-version
libcaja_share_la_LIBADD  = $(SHARE_LIBS) $(CAJA_LIBS)

extensiondir = $(datadir)/caja/extensions
extension_in_files = libcaja-share.caja-extension.desktop.in
extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
$(extension_DATA): $(extension_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Copyright --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST = share-dialog.ui

CLEANFILES = $(extension_DATA)

-include $(top_srcdir)/git.mk