X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=Makefile.am;h=912ad97d44081496c4b2b51cfb2cf37f326ae4f5;hb=9ccd2453b5a55c7bccae5de1e1022947c7ff889a;hp=7d87a599a1685331975826d1442787d7dd547cb3;hpb=4909ba20244f55ee7326a40d751cf6737c2bc2b6;p=pkg%2Fabook.git diff --git a/Makefile.am b/Makefile.am index 7d87a59..912ad97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,26 @@ bin_PROGRAMS = abook +if ENABLE_VFORMAT_SUPPORT +vformat_SOURCE = vcard.c vcard.h +AM_LDFLAGS = -lvformat +else +vformat_SOURCE = +endif + abook_SOURCES = abook.c abook_rl.c database.c edit.c \ filter.c getname.c getopt.c getopt1.c gettext.c \ ldif.c list.c mbswidth.c misc.c options.c \ ui.c views.c xmalloc.c \ \ - abook.h abook_curses.h abook_rl.h database.h edit.h \ + abook.h abook_curses.h abook_rl.h database.h edit.h \ filter.h getname.h getopt.h gettext.h \ help.h list.h ldif.h mbswidth.h misc.h options.h \ - ui.h views.h xmalloc.h + ui.h views.h xmalloc.h \ + $(vformat_SOURCE) EXTRA_DIST = config.rpath ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \ - abook.spec contrib doc/HOWTO.translating_abook + abook.spec contrib doc/HOWTO.translating_abook RELEASE_NOTES abook_LDADD = @LIBINTL@