SUBDIRS = vowpalwabbit cluster library

nobase_include_HEADERS = vowpalwabbit/allreduce.h \
	vowpalwabbit/comp_io.h \
	vowpalwabbit/config.h \
	vowpalwabbit/example.h \
	vowpalwabbit/action_score.h \
	vowpalwabbit/feature_group.h \
	vowpalwabbit/cb_explore.h \
	vowpalwabbit/crossplat_compat.h \
	vowpalwabbit/parse_example.h \
	vowpalwabbit/floatbits.h \
	vowpalwabbit/global_data.h \
	vowpalwabbit/hash.h \
	vowpalwabbit/io_buf.h \
	vowpalwabbit/learner.h \
	vowpalwabbit/loss_functions.h \
	vowpalwabbit/parse_primitives.h \
	vowpalwabbit/parser.h \
	vowpalwabbit/simple_label.h \
	vowpalwabbit/v_array.h \
	vowpalwabbit/vw.h \
	vowpalwabbit/vwdll.h \
	vowpalwabbit/label_parser.h \
	vowpalwabbit/multiclass.h \
	vowpalwabbit/cost_sensitive.h \
	vowpalwabbit/cb.h \
	vowpalwabbit/v_hashmap.h \
	vowpalwabbit/memory.h \
	vowpalwabbit/vw_exception.h \
	vowpalwabbit/vw_validate.h \
	vowpalwabbit/multilabel.h \
	vowpalwabbit/constant.h \
	vowpalwabbit/ezexample.h 


noinst_HEADERS = vowpalwabbit/accumulate.h \
	vowpalwabbit/autolink.h \
	vowpalwabbit/baseline.h \
	vowpalwabbit/bfgs.h \
	vowpalwabbit/binary.h \
	vowpalwabbit/bs.h \
	vowpalwabbit/cache.h \
	vowpalwabbit/cb.h \
	vowpalwabbit/cb_algs.h \
	vowpalwabbit/cb_explore.h \
	vowpalwabbit/cbify.h \
	vowpalwabbit/comp_io.h \
	vowpalwabbit/constant.h \
	vowpalwabbit/cost_sensitive.h \
	vowpalwabbit/csoaa.h \
	vowpalwabbit/ect.h \
	vowpalwabbit/interactions.h \
	vowpalwabbit/gen_cs_example.h \
	vowpalwabbit/gd.h \
	vowpalwabbit/gd_mf.h \
	vowpalwabbit/interact.h \
	vowpalwabbit/kernel_svm.h \
	vowpalwabbit/lda_core.h \
	vowpalwabbit/log_multi.h \
	vowpalwabbit/lrq.h \
	vowpalwabbit/mf.h \
	vowpalwabbit/multiclass.h \
	vowpalwabbit/network.h \
	vowpalwabbit/nn.h \
	vowpalwabbit/noop.h \
	vowpalwabbit/oaa.h \
	vowpalwabbit/boosting.h \
	vowpalwabbit/parse_args.h \
	vowpalwabbit/parse_example.h \
	vowpalwabbit/parse_regressor.h \
	vowpalwabbit/print.h \
	vowpalwabbit/rand48.h \
	vowpalwabbit/recall_tree.h \
	vowpalwabbit/reductions.h \
	vowpalwabbit/scorer.h \
	vowpalwabbit/search.h \
	vowpalwabbit/search_sequencetask.h \
	vowpalwabbit/search_entityrelationtask.h \
	vowpalwabbit/search_hooktask.h \
	vowpalwabbit/search_multiclasstask.h \
	vowpalwabbit/search_dep_parser.h \
	vowpalwabbit/sender.h \
	vowpalwabbit/stagewise_poly.h \
	vowpalwabbit/topk.h \
	vowpalwabbit/unique_sort.h \
	vowpalwabbit/v_hashmap.h

ACLOCAL_AMFLAGS = -I acinclude.d

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libvw.pc libvw_c_wrapper.pc

test: all
	cd test && ./RunTests -d -f -E 0.001 ../vowpalwabbit/vw ../vowpalwabbit/vw
