Files
evolution/plugins/pst-import/Makefile.am
Tor Lillqvist f81121629e On Windows use -no-undefined and link with all required libraries. (Just
2009-01-28  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: On Windows use -no-undefined and link with all
	required libraries. (Just throw in a bunch of libraries without
	cherry-picking. Having "superfluous" ones just slows down the
	linking a bit, but doesn't hurt at run-time.)

	Use LIBPST_CFLAGS.

	* pst-importer.c: Include <libpst/define.h> before the other
	libpst headers. Otherwise we get compilation errors on Windows,
	sigh.


svn path=/trunk/; revision=37156
2009-01-28 19:35:22 +00:00

36 lines
867 B
Makefile

if OS_WIN32
NO_UNDEFINED_REQUIRED_LIBS = \
$(top_builddir)/mail/libevolution-mail.la \
$(top_builddir)/e-util/libeutil.la \
$(EVOLUTION_CALENDAR_LIBS) \
$(EVOLUTION_MAIL_LIBS)
endif
INCLUDES = \
-I$(EVOLUTION_SOURCE) \
-I$(top_srcdir) \
-DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\"" \
-DLOCALEDIR="\"$(LOCALEDIR)\"" \
$(EVOLUTION_CFLAGS) \
$(EVOLUTION_MAIL_CFLAGS) \
$(LIBPST_CFLAGS)
@EVO_PLUGIN_RULE@
plugin_DATA = org-gnome-pst-import.eplug
plugin_LTLIBRARIES = liborg-gnome-pst-import.la
liborg_gnome_pst_import_la_SOURCES = pst-importer.c
liborg_gnome_pst_import_la_LDFLAGS = \
-module -avoid-version $(NO_UNDEFINED)
liborg_gnome_pst_import_la_LIBADD = \
$(NO_UNDEFINED_REQUIRED_LIBS) \
$(LIBPST_LIBS)
EXTRA_DIST = org-gnome-pst-import.eplug.xml
BUILT_SOURCES = org-gnome-pst-import.eplug
CLEANFILES = $(BUILT_SOURCES)