]> git.sur5r.net Git - kconfig-frontends/blobdiff - frontends/conf/Makefile.am
Makefile.am-s: allow building outside of the source tree
[kconfig-frontends] / frontends / conf / Makefile.am
index 5b8a08305d320146fdee898a441dfde145c91e15..9b464cc933d23db8c24261d16581d5f5f1acdf15 100644 (file)
@@ -1,5 +1,8 @@
 bin_PROGRAMS = conf
 
 conf_SOURCES = conf.c
-conf_CPPFLAGS = $(AM_CPPFLAGS) -I../../parser
-conf_LDADD = ../../parser/libkconfigparser.a
+conf_CPPFLAGS = $(AM_CPPFLAGS)  \
+                $(GETTEXT)      \
+                -I$(top_srcdir)/libs/parser
+conf_LDADD = $(top_builddir)/libs/parser/libkconfigparser.la  \
+             $(conf_EXTRA_LIBS)