nconf_SOURCES = nconf.c nconf.gui.c nconf.h
nconf_CPPFLAGS = $(AM_CPPFLAGS) \
$(GETTEXT) \
- -I../../libs/parser
-nconf_LDADD = ../../libs/parser/libkconfigparser.la \
+ -I$(top_srcdir)/libs/parser
+nconf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la \
$(ncurses_extra_LIBS) $(ncurses_LIBS) \
$(nconf_EXTRA_LIBS)