diff --git a/src/Makefile.am b/src/Makefile.am
index 12dc45ef3f150f732d04cade0f8c2b0dd74a69b7..1c22316b43280d1e00ffc8cd1c4b78095b2ee3af 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
AM_CFLAGS = @STRICT_CFLAGS@
-bin_PROGRAMS = foobar
+include_HEADERS = foobar.h fb_features.h
+lib_LTLIBRARIES = libfoobar.la
-foobar_SOURCES = foobar.c
+BUILT_SOURCES = fb_features.h
+
+libfoobar_la_SOURCES = foobar.c foobar.h fb_features.h
+libfoobar_la_LDFLAGS = -version-info 0:0:0
+
+bin_PROGRAMS = fb
+
+fb_SOURCES = fb.c foobar.h
+fb_LDADD = libfoobar.la