comparison lib-src/Makefile.in @ 55438:8ff66a576ed5

(emacsclient${EXEEXT}): Use makefile var `version'.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 08 May 2004 14:41:23 +0000
parents 174bff8cdda4
children bb6720f21c54
comparison
equal deleted inserted replaced
55437:6e677a935fe9 55438:8ff66a576ed5
1 # Makefile for lib-src subdirectory in GNU Emacs. 1 # Makefile for lib-src subdirectory in GNU Emacs.
2 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003 2 # Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003, 2004
3 # Free Software Foundation, Inc. 3 # Free Software Foundation, Inc.
4 4
5 # This file is part of GNU Emacs. 5 # This file is part of GNU Emacs.
6 6
7 # GNU Emacs is free software; you can redistribute it and/or modify 7 # GNU Emacs is free software; you can redistribute it and/or modify
445 yow${EXEEXT}: ${srcdir}/yow.c ../src/epaths.h 445 yow${EXEEXT}: ${srcdir}/yow.c ../src/epaths.h
446 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow 446 $(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
447 447
448 emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) 448 emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
449 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ 449 $(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
450 -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ 450 -DVERSION="\"${version}\"" \
451 $(LOADLIBES) -o emacsclient 451 $(LOADLIBES) -o emacsclient
452 452
453 hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h 453 hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h
454 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 454 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
455 455