2012-06-22 13:22:16 -04:00
|
|
|
#Need to include the -Ilibcvautomation so that libcvautomation.h can find everything that it needs
|
2012-06-22 20:06:28 -04:00
|
|
|
if USEOPENCV2
|
2012-06-26 14:07:03 -04:00
|
|
|
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation `pkg-config --libs x11` -lopencv_imgproc -lopencv_core -lopencv_highgui -lXtst
|
2012-06-28 12:35:04 -04:00
|
|
|
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include/opencv2 #-I$(top_srcdir)/include/libcvautomation
|
2012-06-22 20:06:28 -04:00
|
|
|
else
|
2012-06-26 14:07:03 -04:00
|
|
|
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation `pkg-config --libs x11` `pkg-config --libs opencv` -lXtst
|
2012-06-28 12:35:04 -04:00
|
|
|
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include/opencv1 #-I$(top_srcdir)/include/libcvautomation
|
2012-06-22 20:06:28 -04:00
|
|
|
endif
|
2012-06-22 13:22:16 -04:00
|
|
|
|
|
|
|
#Build only if we're building the examples
|
2012-06-26 14:07:03 -04:00
|
|
|
bin_PROGRAMS = cva-match cva-input
|
2012-06-22 13:22:16 -04:00
|
|
|
cva_match_SOURCES = cva-match.c
|
2012-06-26 14:07:03 -04:00
|
|
|
cva_input_SOURCES = cva-input.c
|