summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 235cea2e37d8217c3ad0a8226e63919d309ea04c (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
AM_CPPFLAGS =						\
	-I$(top_srcdir)					\
	-I$(top_builddir)

if CUSTOM_CAJA_EXTENSION_DIR
caja_extensiondir=$(CAJA_EXTENSION_DIR)
else
caja_extensiondir=$(libdir)/$(CAJA_EXTENSION_DIR)
endif

caja_extension_LTLIBRARIES=libcaja-dropbox.la

libcaja_dropbox_la_CFLAGS = 	                \
	-DDATADIR=\"$(datadir)\"					    \
	-DEMBLEMDIR=\"$(EMBLEM_DIR)\"					\
	-Wall                                           \
	$(WARN_CFLAGS)                                  \
	$(DISABLE_DEPRECATED_CFLAGS)					\
	$(CAJA_CFLAGS)                              \
	$(GLIB_CFLAGS)

if DEBUG
libcaja_dropbox_la_CFLAGS += -DND_DEBUG
else
libcaja_dropbox_la_CFLAGS += -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS
endif

libcaja_dropbox_la_SOURCES = \
	caja-dropbox.c       \
	caja-dropbox.h       \
	caja-dropbox-hooks.h \
	caja-dropbox-hooks.c \
	dropbox-command-client.h \
	dropbox-command-client.c \
	dropbox-client.c dropbox-client.h \
	g-util.h \
	async-io-coroutine.h \
	dropbox-client-util.c \
	dropbox-client-util.h \
	dropbox.c

libcaja_dropbox_la_LDFLAGS = -module -avoid-version
libcaja_dropbox_la_LIBADD  = $(CAJA_LIBS) $(GLIB_LIBS)