diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-09-01 18:25:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-09-01 18:25:38 +0000 |
commit | c8c19adc0c0d5cee72d540f0de745745e07d1d9d (patch) | |
tree | c5c5a79400696c1ddb13e02758887d66f7100d59 /lib-src/Makefile.in | |
parent | b69fda42bdaab964818f25bc3aaac08552fe91bc (diff) | |
download | emacs-c8c19adc0c0d5cee72d540f0de745745e07d1d9d.tar.gz |
(emacsclient): Link with getopt.
Add -DVERSION so emacsclient knows its version number.
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r-- | lib-src/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 908be0b956b..eab225ce48f 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -385,8 +385,10 @@ yow: ${srcdir}/yow.c ../src/paths.h 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 |