* 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>
|
||||
|
||||
* README: Updated e-mail
|
||||
|
@ -21,7 +21,7 @@ RES_PLACE=-o
|
||||
RES_SUFFIX=o
|
||||
|
||||
# ---- Compiler-specific optional stuff
|
||||
MC_MISC_CFLAGS=
|
||||
MC_MISC_CFLAGS=-mno-cygwin
|
||||
|
||||
ifndef RELEASE
|
||||
# ---- Debug build
|
||||
|
@ -177,9 +177,12 @@ endif # 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
|
||||
|
||||
else
|
||||
MC_RES=
|
||||
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
|
||||
# include "windows.h"
|
||||
# include "winver.h"
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user