# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/lib \
- -I$(includedir) \
- $(DEFAULT_CPPFLAGS)
-
-AM_CFLAGS = \
- $(DEFAULT_CFLAGS)
-common_libs = \
- $(top_builddir)/lib/libpbcore.la \
- $(top_builddir)/discover/libparser.la
+if ENABLE_TEST_VALGRIND
+LOG_COMPILER = valgrind
+AM_LOG_FLAGS = --leak-check=full --error-exitcode=1
+export LOG_COMPILER AM_LOG_FLAGS
+endif
-noinst_SCRIPTS = parser-test.sh hotplug-device.sh
+SUBDIRS = lib parser urls
-noinst_PROGRAMS = parser-test
+noinst_SCRIPTS = hotplug-device.sh
-parser_test_SOURCES = parser-test.c
-parser_test_LDADD = $(common_libs)
+EXTRA_DIST = $(noinst_SCRIPTS)
MAINTAINERCLEANFILES = Makefile.in