libperf-y += setup.o
libperf-y += helpline.o
libperf-y += progress.o
libperf-y += util.o
libperf-y += hist.o
libperf-y += stdio/hist.o

CFLAGS_setup.o += -DLIBDIR="BUILD_STR($(LIBDIR))"

libperf-$(CONFIG_SLANG) += browser.o
libperf-$(CONFIG_SLANG) += browsers/
libperf-$(CONFIG_SLANG) += tui/

CFLAGS_browser.o += -DENABLE_SLFUTURE_CONST