* Makefile.MIN: Add "-mno-cygwin" to MC_MISC_CFLAGS.
* Makefile.PC: Use VERSION, not ../VERSION. Add a rule to extract package version from ../configure.in. * mc.rc: Include VERSION, not ../VERSION.
Этот коммит содержится в:
родитель
1e6d15a98b
Коммит
cc78b0ccdc
@ -1,3 +1,10 @@
|
|||||||
|
2001-06-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.MIN: Add "-mno-cygwin" to MC_MISC_CFLAGS.
|
||||||
|
* Makefile.PC: Use VERSION, not ../VERSION. Add a rule to
|
||||||
|
extract package version from ../configure.in.
|
||||||
|
* mc.rc: Include VERSION, not ../VERSION.
|
||||||
|
|
||||||
2000-08-01 Pavel Roskin <proski@gnu.org>
|
2000-08-01 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* README: Updated e-mail
|
* README: Updated e-mail
|
||||||
|
@ -21,7 +21,7 @@ RES_PLACE=-o
|
|||||||
RES_SUFFIX=o
|
RES_SUFFIX=o
|
||||||
|
|
||||||
# ---- Compiler-specific optional stuff
|
# ---- Compiler-specific optional stuff
|
||||||
MC_MISC_CFLAGS=
|
MC_MISC_CFLAGS=-mno-cygwin
|
||||||
|
|
||||||
ifndef RELEASE
|
ifndef RELEASE
|
||||||
# ---- Debug build
|
# ---- Debug build
|
||||||
|
@ -177,9 +177,12 @@ endif # RES_SUFFIX
|
|||||||
|
|
||||||
MC_RES=$(OBJS_DIR)/mc.$(RES_SUFFIX)
|
MC_RES=$(OBJS_DIR)/mc.$(RES_SUFFIX)
|
||||||
|
|
||||||
$(MC_RES): $(MC_PC_DIR)/mc.rc $(MC_PC_DIR)/mc_nt.ico $(MC_PC_DIR)/config.h ../VERSION
|
$(MC_RES): $(MC_PC_DIR)/mc.rc $(MC_PC_DIR)/mc_nt.ico $(MC_PC_DIR)/config.h VERSION
|
||||||
$(RSC) $(RES_PLACE)$(MC_RES) $(RC_DEFINES) $(MC_PC_DIR)/mc.rc
|
$(RSC) $(RES_PLACE)$(MC_RES) $(RC_DEFINES) $(MC_PC_DIR)/mc.rc
|
||||||
|
|
||||||
else
|
else
|
||||||
MC_RES=
|
MC_RES=
|
||||||
endif # !RSC
|
endif # !RSC
|
||||||
|
|
||||||
|
VERSION: ../configure.in
|
||||||
|
sed -n -e 's/^AM_INIT_AUTOMAKE([^,]*,[ []*\([0-9A-Za-z.-_]*\).*$$/#define VERSION "\1"/p' $< > $@
|
||||||
|
2
pc/mc.rc
2
pc/mc.rc
@ -1,4 +1,4 @@
|
|||||||
#include "../VERSION"
|
#include "VERSION"
|
||||||
#ifndef WINDRES
|
#ifndef WINDRES
|
||||||
# include "windows.h"
|
# include "windows.h"
|
||||||
# include "winver.h"
|
# include "winver.h"
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user