AM_CPPFLAGS = $(WX_CXXFLAGS) \
		-I$(top_srcdir)/src/include \
		-I$(top_srcdir)/src/sdk/wxscintilla/include

pluginlibdir = $(pkglibdir)/plugins
pkgdata_DATA = RegExTestbed.zip

pluginlib_LTLIBRARIES = libRegExTestbed.la

libRegExTestbed_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version

libRegExTestbed_la_LIBADD = ../../../sdk/libcodeblocks.la $(WX_LIBS)

libRegExTestbed_la_SOURCES = regexdlg.cpp RegExTestbed.cpp

noinst_HEADERS = regexdlg.h RegExTestbed.h

EXTRA_DIST = $(srcdir)/*.cbp \
	$(srcdir)/regexdlg.xrc \
	$(srcdir)/manifest.xml \
	$(srcdir)/wxsmith/RegExDlg.wxs

CLEANFILES = $(pkgdata_DATA)

RegExTestbed.zip: manifest.xml regexdlg.xrc
	PWD=`pwd` cd $(srcdir) && zip $(PWD)/RegExTestbed.zip manifest.xml regexdlg.xrc > /dev/null
