2009-01-28 Tor Lillqvist <tml@novell.com> Make it compile on Windows, by Fridrich Strbra. (Just compile; little chance of it actually doing anything sensible on Windows at this point...) * Makefile.am: Use -no-undefined on Windows. Link with libeutil. * backup.c: Remove unused <sys/wait.h>. * backup-restore.c: Check HAVE_SYS_WAIT_H. svn path=/trunk/; revision=37148
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
INCLUDES = \
|
|
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
|
|
-DEVOLUTION_TOOLSDIR=\""$(privlibexecdir)"\" \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DSYSCONFDIR=\""$(sysconfdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-I$(top_srcdir) \
|
|
$(EVOLUTION_CALENDAR_CFLAGS) \
|
|
$(SHELL_CFLAGS) \
|
|
$(E_UTIL_CFLAGS)
|
|
|
|
@EVO_PLUGIN_RULE@
|
|
|
|
error_DATA = org-gnome-backup-restore.error
|
|
errordir = $(privdatadir)/errors
|
|
|
|
plugin_DATA = org-gnome-backup-restore.eplug org-gnome-backup-restore.xml
|
|
plugin_LTLIBRARIES = liborg-gnome-backup-restore.la
|
|
|
|
liborg_gnome_backup_restore_la_SOURCES = backup-restore.c
|
|
liborg_gnome_backup_restore_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
|
|
liborg_gnome_backup_restore_la_LIBADD = \
|
|
$(EVOLUTION_MAIL_LIBS) \
|
|
$(top_builddir)/e-util/libeutil.la
|
|
|
|
privlibexec_PROGRAMS = evolution-backup
|
|
evolution_backup_SOURCES = backup.c
|
|
evolution_backup_LDADD = $(SHELL_LIBS) \
|
|
$(EVOLUTION_CALENDAR_LIBS) \
|
|
$(EVOLUTION_ADDRESSBOOK_LIBS) \
|
|
$(top_builddir)/e-util/libeutil.la
|
|
|
|
|
|
EXTRA_DIST = \
|
|
org-gnome-backup-restore.eplug.xml \
|
|
org-gnome-backup-restore.error.xml \
|
|
org-gnome-backup-restore.xml
|
|
|
|
BUILT_SOURCES = org-gnome-backup-restore.eplug \
|
|
org-gnome-backup-restore.error
|
|
CLEANFILES = $(BUILT_SOURCES)
|