+# Makefile.am for "src/plugins/vcalendar" directory
+# This file is part of Claws Mail package.
+# See COPYING file for license details.
+
SUBDIRS = libical
EXTRA_DIST = claws.def plugin.def version.rc
+IFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/common \
+ -I$(top_builddir)/src/common \
+ -I$(top_srcdir)/src/gtk \
+ -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
+
if OS_WIN32
LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
- `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
+ `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
%.lo : %.rc
plugin_LTLIBRARIES = vcalendar.la
endif
-INCLUDES= \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/src/common \
- -I$(top_builddir)/src/common \
- -I$(top_srcdir)/src/gtk \
- -I$(top_srcdir)/src/plugins/vcalendar/libical/libical
-
vcalendar_la_SOURCES = \
plugin.c \
vcalendar.c vcalendar.h \
$(CURL_LIBS) \
$(top_builddir)/src/plugins/vcalendar/libical/libical/libical.la
-AM_CPPFLAGS = \
+vcalendar_la_CPPFLAGS = \
+ $(IFLAGS) \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
$(CURL_CFLAGS)