aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-01 18:25:38 +0000
committerRichard M. Stallman1996-09-01 18:25:38 +0000
commitdeec6f995872a132b03901f63872ac6676fe4172 (patch)
treeb67d8a0484e084fd9bf37e1645e66ed5bedbedb5 /lib-src
parent8f9aaa0a8170e82146984ad6aa68443ce355b7c0 (diff)
downloademacs-deec6f995872a132b03901f63872ac6676fe4172.tar.gz
emacs-deec6f995872a132b03901f63872ac6676fe4172.zip
(emacsclient): Link with getopt.
Add -DVERSION so emacsclient knows its version number.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in6
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
385emacsserver: ${srcdir}/emacsserver.c ../src/config.h 385emacsserver: ${srcdir}/emacsserver.c ../src/config.h
386 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver 386 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsserver.c $(LOADLIBES) -o emacsserver
387 387
388emacsclient: ${srcdir}/emacsclient.c ../src/config.h 388emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
389 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(LOADLIBES) -o emacsclient 389 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
390 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
391 $(LOADLIBES) -o emacsclient
390 392
391hexl: ${srcdir}/hexl.c 393hexl: ${srcdir}/hexl.c
392 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 394 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl