Mercurial > emacs
diff lib-src/Makefile.in @ 16031:5e92da241aba
(emacsclient): Link with getopt.
Add -DVERSION so emacsclient knows its version number.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 01 Sep 1996 18:25:38 +0000 |
parents | 6c79ea3957c6 |
children | 7b3bcbb9a8f5 |
line wrap: on
line diff
--- a/lib-src/Makefile.in Sun Sep 01 18:25:21 1996 +0000 +++ b/lib-src/Makefile.in Sun Sep 01 18:25:38 1996 +0000 @@ -385,8 +385,10 @@ emacsserver: ${srcdir}/emacsserver.c ../src/config.h $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver -emacsclient: ${srcdir}/emacsclient.c ../src/config.h - $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient +emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) + $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ + -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ + $(LOADLIBES) -o emacsclient hexl: ${srcdir}/hexl.c $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl