X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=Makefile.am;h=8faaa1106233f15248412840d7227f2f6948fa49;hb=b1c882049db5d6d7d5770134cd93e14934ace6c1;hp=304d60840ae736d2c0b9f45c98e7fa7329ee3182;hpb=7c54e85b04f6d030ae47dd880d0391f6e35d1634;p=pkg%2Fabook.git diff --git a/Makefile.am b/Makefile.am index 304d608..8faaa11 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,20 +1,30 @@ bin_PROGRAMS = abook -abook_SOURCES = abook.c database.c filter.c list.c misc.c \ - options.c edit.c ldif.c ui.c getname.c \ - getopt.c getopt1.c gettext.c abook_rl.c mbswidth.c \ - xmalloc.c \ - abook.h database.h filter.h list.h misc.h help.h \ - options.h edit.h ldif.h abook_curses.h ui.h getname.h \ - getopt.h gettext.h abook_rl.h mbswidth.h \ - xmalloc.h +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 \ + 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 \ + $(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@ + install-data-local: $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/ @@ -25,7 +35,7 @@ uninstall-local: -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5 -SUBDIRS = intl po +SUBDIRS = po ACLOCAL_AMFLAGS = -I m4