X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=blobdiff_plain;f=Makefile.am;h=8faaa1106233f15248412840d7227f2f6948fa49;hp=1b3d27ef24a9e2e59a63c7efaf6c7a504afbccf4;hb=69a912c0db0ac135fff332db4f0b05ad9ed2eec6;hpb=2cd2b91adea5118cff59a43c15082078ae6f214a diff --git a/Makefile.am b/Makefile.am index 1b3d27e..8faaa11 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,23 @@ 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 RELEASE_NOTES @@ -27,7 +35,7 @@ uninstall-local: -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5 -SUBDIRS = intl po +SUBDIRS = po ACLOCAL_AMFLAGS = -I m4