X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2FMakefile.in;h=e0c280fa5a75d7d3ec93947e71ac99db7c41829d;hp=6b7a570a44d830face383943f772da61e2faec97;hb=1642d62841486ade88ec2c48dd581e3249c98c94;hpb=bd02210b2be64956a952f925a2dcd35fb42f6136 diff --git a/uip/Makefile.in b/uip/Makefile.in index 6b7a570..e0c280f 100644 --- a/uip/Makefile.in +++ b/uip/Makefile.in @@ -8,6 +8,8 @@ top_srcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ +VERSION = `$(top_srcdir)/version.sh $(top_srcdir)` + prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ @@ -31,7 +33,7 @@ LINTFLAGS = @LINTFLAGS@ TERMLIB = @TERMLIB@ LEXLIB = @LEXLIB@ -COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) +COMPILE = $(CC) -c $(DEFS) -DVERSION="\"$(VERSION)\"" $(INCLUDES) $(CFLAGS) LINK = $(CC) $(LDFLAGS) -o $@ LN = ln @@ -58,7 +60,7 @@ CMDS = ali anno burst comp dist flist folder forw mmh mark \ LCMDS = flists folders next prev fnext fprev unseen # misc support binaries -MISC = ap dp fmtdump mhtest mmhwrap +MISC = ap dp fmtdump mhtest mmhwrap whatnow2 # commands with 'S'pecial installation needs SCMDS = inc @@ -74,7 +76,7 @@ SRCS = ali.c aliasbr.c anno.c ap.c burst.c comp.c \ prompter.c rcvdist.c rcvpack.c rcvstore.c \ refile.c repl.c rmf.c rmm.c scan.c scansbr.c send.c \ sendfiles.sh slocal.c sortm.c spost.c termsbr.c \ - whatnow.c whatnowproc.c whom.c + whatnow.c whatnowproc.c whom.c whatnow2.sh # ========== DEFAULT TARGET ========== @@ -223,6 +225,9 @@ spost: spost.o aliasbr.o $(LOCALLIBS) whatnow: whatnow.o $(LOCALLIBS) $(LINK) whatnow.o $(LINKLIBS) +whatnow2: whatnow2.sh + cp $(srcdir)/whatnow2.sh whatnow2 + whom: whom.o $(LOCALLIBS) $(LINK) whom.o $(LINKLIBS) @@ -239,7 +244,7 @@ install-cmds: done # install links -install-lcmds: +install-lcmds: install-cmds rm -f $(DESTDIR)$(bindir)/flists rm -f $(DESTDIR)$(bindir)/folders rm -f $(DESTDIR)$(bindir)/fnext