view pidgin/plugins/gestures/Makefile.am @ 16765:441945083737

Now that version.h is a generated source file, we need to add -I$(top_builddir)/libpurple to CFLAGS to allow building in a separate directory from the source directory. Fixes part of #566
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 12:54:47 +0000
parents e9c12873fae0
children 0dcd915899ae
line wrap: on
line source

plugindir = $(libdir)/pidgin

gestures_la_LDFLAGS = -module -avoid-version

if PLUGINS

plugin_LTLIBRARIES = gestures.la

gestures_la_SOURCES = \
	gestures.c \
	gstroke.h \
	gstroke-internal.h \
	stroke.c \
	stroke-draw.c

gestures_la_LIBADD = $(GTK_LIBS)

endif

AM_CPPFLAGS = \
	-DDATADIR=\"$(datadir)\" \
	-DVERSION=\"$(VERSION)\" \
	-I$(top_srcdir)/libpurple \
	-I$(top_builddir)/libpurple \
	-I$(top_srcdir)/pidgin \
	$(DEBUG_CFLAGS) \
	$(GTK_CFLAGS)