view libpurple/plugins/tcl/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 ce049678a67b
children 0dcd915899ae
line wrap: on
line source

plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)

tcl_la_LDFLAGS = -module -avoid-version

plugin_LTLIBRARIES = tcl.la

tcl_la_SOURCES = tcl.c tcl_glib.c tcl_glib.h tcl_cmds.c tcl_signals.c tcl_purple.h \
                 tcl_ref.c tcl_cmd.c

tcl_la_LIBADD = $(GLIB_LIBS) $(TCL_LIBS) $(TK_LIBS)

EXTRA_DIST = signal-test.tcl Makefile.mingw

AM_CPPFLAGS = \
	-DVERSION=\"$(VERSION)\" \
	-I$(top_srcdir) \
	-I$(top_srcdir)/libpurple \
	-I$(top_builddir)/libpurple \
	$(DEBUG_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(PLUGIN_CFLAGS) \
	$(TK_CFLAGS) \
	$(TCL_CFLAGS)