comparison 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
comparison
equal deleted inserted replaced
16030:fb38057473c8 16031:5e92da241aba
383 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow 383 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
384 384
385 emacsserver: ${srcdir}/emacsserver.c ../src/config.h 385 emacsserver: ${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
388 emacsclient: ${srcdir}/emacsclient.c ../src/config.h 388 emacsclient: ${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
391 hexl: ${srcdir}/hexl.c 393 hexl: ${srcdir}/hexl.c
392 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 394 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
393 395
394 /* These are NOT included in INSTALLABLES or UTILITIES. 396 /* These are NOT included in INSTALLABLES or UTILITIES.