Makefile.am 1.99 KB
Newer Older
1

2
uidir = $(datadir)/seahorse-plugins/ui/
3
localedir = $(datadir)/locale
4 5
pixmapsdir = $(datadir)/pixmaps/seahorse-plugins/
seahorselibexecbindir = $(libdir)/seahorse-plugins/
6 7 8 9 10 11

INCLUDES = -I$(top_builddir) \
	-I$(top_srcdir) \
	-I$(top_srcdir)/libcryptui \
	$(SEAHORSE_CFLAGS) \
	-DDATA_DIR=\""$(datadir)"\" \
12
	-DSEAHORSE_UIDIR=\""$(uidir)"\" \
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
	-DLOCALEDIR=\"$(localedir)\" \
	-DPIXMAPSDIR=\""$(pixmapsdir)"\" \
	-DEXECDIR=\""$(seahorselibexecbindir)"\" \
	-DLIBCRYPTUI_API_SUBJECT_TO_CHANGE 

noinst_LIBRARIES = libseahorse.a

BUILT_SOURCES = \
	seahorse-marshal.c seahorse-marshal.h

if WITH_AGENT
AGENT_SRCS = seahorse-prefs-cache.c
else
AGENT_SRCS = 
endif

libseahorse_a_SOURCES = \
	seahorse-pgp-operation.c seahorse-pgp-operation.h \
	seahorse-widget.c seahorse-widget.h \
	seahorse-util.c seahorse-util.h \
	seahorse-check-button-control.c seahorse-check-button-control.h \
	seahorse-gpg-options.c seahorse-gpg-options.h \
	seahorse-passphrase.c seahorse-passphrase.h \
	seahorse-libdialogs.h \
        seahorse-notification.c \
	seahorse-vfs-data.c seahorse-vfs-data.h \
	seahorse-gpgmex.h seahorse-gpgmex-op.c seahorse-gpgmex-util.c \
	seahorse-prefs.c seahorse-prefs.h \
	seahorse-operation.c seahorse-operation.h \
	seahorse-progress.c seahorse-progress.h \
	seahorse-gconf.c seahorse-gconf.h \
	seahorse-gtkstock.c seahorse-gtkstock.h \
	seahorse-secure-memory.c seahorse-secure-memory.h \
46
	seahorse-secure-buffer.c seahorse-secure-buffer.h \
47 48 49 50 51 52 53 54 55 56 57 58
	seahorse-algo.c seahorse-algo.h \
	seahorse-unix-signal.c seahorse-unix-signal.h \
	$(BUILT_SOURCES) \
	$(AGENT_SRCS)

seahorse-marshal.h: seahorse-marshal.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) $< --header --prefix=seahorse_marshal > $@

seahorse-marshal.c: seahorse-marshal.list $(GLIB_GENMARSHAL)
	echo "#include \"seahorse-marshal.h\"" > $@ && \
	$(GLIB_GENMARSHAL) $< --body --prefix=seahorse_marshal >> $@

59 60 61 62 63
ui_DATA = \
	seahorse-notify.xml \
	seahorse-prefs.xml \
	seahorse-progress.xml \
	seahorse-multi-encrypt.xml
64

Pablo Castellano's avatar
Pablo Castellano committed
65
EXTRA_DIST = $(ui_DATA) \
66
	seahorse-marshal.list