diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..54fb06a --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,39 @@ +INCLUDES = \ + -I$(top_srcdir) \ + -I$(top_builddir) + +nautilus_extensiondir=$(NAUTILUS_EXTENSION_DIR) + +nautilus_extension_LTLIBRARIES=libnautilus-dropbox.la + +libnautilus_dropbox_la_CFLAGS = \ + -DDATADIR=\"$(datadir)\" \ + -DEMBLEMDIR=\"$(EMBLEM_DIR)\" \ + -Wall \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED_CFLAGS) \ + $(NAUTILUS_CFLAGS) \ + $(GLIB_CFLAGS) + +if DEBUG +libnautilus_dropbox_la_CFLAGS += -DND_DEBUG +else +libnautilus_dropbox_la_CFLAGS += -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS +endif + +libnautilus_dropbox_la_SOURCES = \ + nautilus-dropbox.c \ + nautilus-dropbox.h \ + nautilus-dropbox-hooks.h \ + nautilus-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 + +libnautilus_dropbox_la_LDFLAGS = -module -avoid-version +libnautilus_dropbox_la_LIBADD = $(NAUTILUS_LIBS) $(GLIB_LIBS) |