]> git.eshelyaron.com Git - emacs.git/commitdiff
(VERSION): New macro.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 25 Nov 2006 15:44:32 +0000 (15:44 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 25 Nov 2006 15:44:32 +0000 (15:44 +0000)
(ECLIENT_CFLAGS): Add -DVERSION.

lib-src/makefile.w32-in

index d5e8e05d8107b22b180de97afef30378b56c18ff..525d85d6ae7fab632097874c4524aca3ed7bf7d8 100644 (file)
@@ -24,11 +24,13 @@ ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacs
 
 .PHONY: $(ALL)
 
+VERSION                = 22.0.91
+
 LOCAL_FLAGS    = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
                  -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \
                  -I../src
 
-LIBS         = $(BASE_LIBS) $(ADVAPI32)
+LIBS           = $(BASE_LIBS) $(ADVAPI32)
 
 $(BLD)/make-docfile.exe:       $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
                $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
@@ -68,7 +70,7 @@ $(BLD)/movemail.exe:  $(MOVEMAILOBJS) getopt.h
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
                $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
 
-ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR
+ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\""
 ECLIENTOBJS =  $(BLD)/emacsclient.$(O) \
                $(BLD)/getopt.$(O) \
                $(BLD)/getopt1.$(O) \