added autogen script to run autotools to generate configure and necessary make inputs
[ovirt-viewer.git] / Makefile.am
index 1c98123..1247729 100644 (file)
 bin_PROGRAMS = ovirt-viewer
 
 ovirt_viewer_SOURCES = main.c wui_thread.c internal.h
-ovirt_viewer_CFLAGS = $(OVIRT_VIEWER_CFLAGS) -Wall
+ovirt_viewer_CFLAGS = $(OVIRT_VIEWER_CFLAGS) -DCAINFO='"$(CAINFO)"'
 ovirt_viewer_LDADD = $(OVIRT_VIEWER_LIBS)
 
 EXTRA_DIST = $(PACKAGE).spec
 
 DISTCLEAN_FILES = $(PACKAGE).spec
+
+valgrind:
+       valgrind --leak-check=full ./ovirt-viewer$(EXEEXT) --debug