Browse Source

* pc: Remove. No work has been done on the PC post for years.
* README.PC: Likewise.
* Makefile.am: Adjust for the above.
* configure.in: Likewise.

Pavel Roskin 21 years ago
parent
commit
fe7d3b9a4e
10 changed files with 9 additions and 604 deletions
  1. 7 0
      ChangeLog
  2. 2 3
      Makefile.am
  3. 0 120
      README.PC
  4. 0 1
      configure.in
  5. 0 2
      pc/.cvsignore
  6. 0 11
      pc/BUGS
  7. 0 183
      pc/ChangeLog
  8. 0 56
      pc/Makefile.BC5
  9. 0 57
      pc/Makefile.MIN
  10. 0 171
      pc/Makefile.PC

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+2003-07-22  Pavel Roskin  <proski@gnu.org>
+
+	* pc: Remove.  No work has been done on the PC post for years.
+	* README.PC: Likewise.
+	* Makefile.am: Adjust for the above.
+	* configure.in: Likewise.
+
 2003-07-21  Pavel Roskin  <proski@gnu.org>
 
 	* configure.in: Check posix_openpt() first and fallback to

+ 2 - 3
Makefile.am

@@ -2,10 +2,9 @@
 
 AUTOMAKE_OPTIONS = 1.5
 
-SUBDIRS = intl po m4 vfs slang edit src lib doc syntax pc
+SUBDIRS = intl po m4 vfs slang edit src lib doc syntax
 
-EXTRA_DIST =	FAQ INSTALL.FAST MAINTAINERS \
-		README.PC README.QNX extraconf.h
+EXTRA_DIST =	FAQ INSTALL.FAST MAINTAINERS README.QNX extraconf.h
 
 noinst_DATA = mc.spec
 

+ 0 - 120
README.PC

@@ -1,120 +0,0 @@
-------------------------------------------------------------------------
-Support for Windows is broken since GNU Midnight Commander started using
-glib.  If you want to revive the project, it may be your last chance. 
-If nobody volunteers, all the code for the native Windows port will be
-removed from the project.
-------------------------------------------------------------------------
-
-
-
-GNU Midnight Commander for Win32
---------------------------------
-
-0. Introduction
-1. Compiling
-2. Changes made
-3. Authors and maintainers
-
-
-0. Introduction
----------------
-Yes, Midnight Commander can be compiled for Win32 (all versions of
-Microsoft Windows starting with Windows 95 for all platforms, except
-Windows CE).  It may be tricky to compile, it may be buggy, but it should
-be usable.  Maybe you can help as a beta tester or as a programmer.
-In either case you would like subscribe to the mc-devel list (see README
-and FAQ) and contact us.
-
-Please note that Midnight Commander remains primarily a file manager for
-UNIX-like systems.  You should not expect that it will work on your
-system better than a file manager written specifically for your OS.
-
-
-1. Compiling
-------------
-
-
-1.1. Compiler
--------------
-If you really want to enjoy free software under your non-free OS,
-you should try free compilers.  Two of them are supported: RSXNT and
-MinGW.  Please visit their respective sites for more information.
-
-RSXNT:  http://www.mathematik.uni-bielefeld.de/~rainer/
-MinGW:  http://www.mingw.org/
-
-MinGW is also included with Cygwin (http://www.cygwin.com/).
-
-Cygwin environment is so close to UNIX, that it's possible to compile
-GNU Midnight Commander in the same way as it's done in UNIX (see file
-INSTALL for details).  However, you should realize that you would get a
-UNIX program that has no idea about drives, Windows-style permissions
-and some other Windows-specific features.  This is not the Win32 port
-discussed in this document.
-
-Speaking of non-free compilers, Microsoft Visual C++ (4.0 and above) and
-Borland C++ are supported.  "Supported" means merely that there are
-specific makefiles for those compilers, but it does not even assume that
-they will compile GNU Midnight Commander out-of-box.
-
-
-1.2. General issues
--------------------
-See pc/README, pc/BUGS, pc/TODO for the information concerning current
-state of the port.  You will need to hack the code a lot just to
-compile it.
-
-
-1.3 Windowing Library
----------------------
-Currently only support for the S-Lang windowing library is provided.
-There are curses clones ported to Win32, but I believe that since we
-are not using autoconf for the Win32 port, we should avoid unnecessary
-difficulties.
-
-Currently the Win32 port only can use S-Lang included in this
-distribution (see slang/ subdirectory).  This is a subset of S-Lang
-distribution with some bugfixes and MC-specific code changes.
-
-
-1.4 Features and Limitations
-----------------------------
-Internal editor is supported (including syntax highlighting).
-Internal viewer is supported (including hex editor).
-VFS (virtual file system) is not supported.
-Concurrent subshell is not supported.
-
-
-2. Changes made
----------------
-
-
-2.1. Changes to main code
--------------------------
-Changes in the main code are enclosed in #ifdef NATIVE_WIN32 blocks.
-
-In some cases we suppressed code. This is temporal (so that mc can compile).
-In the future we will provide fake or true interfaces for these features.
-   - Links: creation and information on links are not supported.  We
-            should provide a fake interface for the local filesystem and
-            a true one for networked.
-   - GID/UID queries (get_user, owner, preserve UID/GID on copy, ...).
-   - Terminals: all the code directly done with terminals must be suppressed.
-   - Signals: deleted.  Should support the native ones.
-   - pipes: had some trouble in ext.c and with error_pipes but soon will be
-            fixed.
-   - Chown command: Not supported yet.
-
-
-2.2. Files rewritten
---------------------
-There are several files with so many changes that they have been moved
-to pc/ subdirectory.  Our intention should be, however, to make most code
-system-independent.  This would increase code reuse and maintainability.
-See pc/ subdirectory for further details.
-
-
-3. Authors and maintainers
---------------------------
-The code is not actively maintained, but the patches are applied.
-Please send your changes to the mc-devel list.

+ 0 - 1
configure.in

@@ -636,7 +636,6 @@ src/Makefile
 slang/Makefile 
 edit/Makefile 
 syntax/Makefile
-pc/Makefile
 m4/Makefile
 
 lib/mc.ext

+ 0 - 2
pc/.cvsignore

@@ -1,2 +0,0 @@
-Makefile
-Makefile.in

+ 0 - 11
pc/BUGS

@@ -1,11 +0,0 @@
-BUGS OF the Win32 port
-
-- Troubles with keys (Ctrl-Tab, Gray +,-,*, Alt-Shift-A etc)
-- Filtered view hangs in close_pipe() because error is set, but nothing
-is available on stderr
-- Windows '95 will not delete directory if not empty. (as it does
-  not return ENOTEMPTY but ENOACCESS)! Already fixed?
-- Windows '95 will not allow "''" in root drives
-
--please report!
-

+ 0 - 183
pc/ChangeLog

@@ -1,183 +0,0 @@
-2002-11-11  Pavel Roskin  <proski@gnu.org>
-
-	* key_nt.c: Remove C++ style comments.
-
-2002-11-06  Pavel Roskin  <proski@gnu.org>
-
-	* key_nt.c: Don't use ERR - it conflicts with sys/ucontext.h
-	in glibc 2.1.3.
-
-2002-09-02  Pavel Roskin  <proski@gnu.org>
-
-	* chmod.c: Eliminate x_set_dialog_title().
-	* drive.c: Likewise.
-
-2002-08-01  Pavel Roskin  <proski@gnu.org>
-
-	* chmod.c: Don't include mad.h.
-	* drive.c: Likewise.
-	* slint_pc.c: Likewise.
-
-2002-07-15  Pavel Roskin  <proski@gnu.org>
-
-	* chmod.c: Remove all translatable strings - gettext doesn't
-	work in the PC port, no need to waste translators' time.
-
-2002-07-01  Andrew V. Samoilov  <kai@cmail.ru>
-
-	* util_nt.c: Eliminate C++ comments everywhere.
-	(check_error_pipe): Use "%s" in message () to
-	prevent possible crash.
-	(close_error_pipe): Likewise.
-
-2002-06-04  Andrew V. Samoilov  <kai@cmail.ru>
-
-	* key_nt.c (define_sequence): Adjust for declaration.
-	* util_nt.c (close_error_pipe): Likewise.
-	(tilde_expand): Likewise.
-
-2002-03-18  Pavel Roskin  <proski@gnu.org>
-
-	* Makefile.am: Remove regex.h and regex.c.
-
-	* regex.h: Remove.  We now have complete regex in src.
-	* regex.c: Likewise.
-
-2002-01-21  Pavel Roskin  <proski@gnu.org>
-
-	* Makefile.PC: Remove OS/2-specific parts.  Substitute
-	TARGET_OS - it is always NT now.
-
-	* config.h: Remove definitions for UNIX-specific permission
-	bits - they are now in fs.h.
-	* dirent_nt.c: Trim includes, disable code under MSVC.
-
-	* chmod.c: Include ../src/global.h, remove unneeded includes.
-	* cons_nt.c: Likewise.
-	* drive.c: Likewise.
-	* key_nt.c: Likewise.
-	* slint_pc.c: Likewise.
-	* util_nt.c: Likewise.
-
-2002-01-17  Pavel Roskin  <proski@gnu.org>
-
-	* config.h: Remove all HAS_NO_* definitions, they are unused.
-
-	* chmod.c: Remove OS/2 specific code.
-	* config.h: Likewise.
-
-2002-01-03  Pavel Roskin  <proski@gnu.org>
-
-	* BUGS: Remove obsolete and OS/2 specific parts.
-	* README: Likewise.
-	* TODO: Likewise.
-
-	* Makefile.am: Remove all files used by OS/2 only.  The OS/2
-	port is discontinued because there is no support for native OS/2
-	compilers in glib.  Remove sys/time.h and dirent.h - they should
-	not be needed anymore.
-
-2002-01-02  Pavel Roskin  <proski@gnu.org>
-
-	* config.h: Include VERSION, not ..\VERSION.  Use sys/utime.h
-	instead of utime.h for MSVC and MinGW.  Don't use dirent on
-	Win32 - it's replaced by glib.
-
-2001-11-28  Franco Bez  <franco.bez@web.de>
-
-	* chmod.c: Fix includes for cross-compiler.  Add gettext N_()
-	and _() calls.
-
-2001-11-28  Pavel Roskin  <proski@gnu.org>
-
-	* regex.c: Add temporarily to fix the build.
-	* regex.h: Likewise.
-	* Makefile.am: Add regex.c and regex.h.
-	From Franco Bez <franco.bez@web.de>
-
-2001-11-14  Pavel Roskin  <proski@gnu.org>
-
-	* chmod.c: Remove all occurrences of HAVE_X.
-	* drive.c: Likewise.
-
-2001-10-23  Pavel Roskin  <proski@gnu.org>
-
-	* util_nt.c (_win32Trace): Add missing va_end().
-
-2001-07-13  Pavel Roskin  <proski@gnu.org>
-
-	* util_nt.c (canonicalize_pathname): Don't handle PATH_SEP
-	after backslash	in a special way.
-	* util_os2.c (canonicalize_pathname): Likewise (was already
-	commented out).
-
-2001-06-26  Pavel Roskin  <proski@gnu.org>
-
-	* dirent_nt.c: Include <config.h>.
-
-2001-06-14  Pavel Roskin  <proski@gnu.org>
-
-	* Makefile.am: Remove src/param.h.
-
-	* src/param.h: Remove. Should use HAVE_SYS_PARAM_H everywhere
-	instead.
-	* key_nt.c: Use indented #error.
-	* key_os2.c: Use indented #error.
-
-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
-
-1999-09-01  Federico Mena Quintero  <federico@redhat.com>
-
-	* Makefile.PC: Add missing semicolon.
-
-1999-01-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>
-
-	* chmod.c (chmod_cmd): Killed the tk_end_frame and tk_new_frame
-	macros.
-
-Wed Oct 14 14:51:23 1998  Franco Bez  <franco.bez@augsburg.baynet.de>
-
-	* gtkedit/edit.c: Workaround for the CR/LF Translation problem.
-	This is vital, because otherwise CoolEdit corrupts files -
-	they keep growing each time you save the file.
-
-	* pc/key_nt.c: fixed the problem with the AltGr Key and the
-	Gray Keys. Still not optimal, but usable.
-	Especially useful for international keyboard
-
-	* pc/util_nt.c: Provide a mc_doublepopen and mc_doublepclose
-	function. If one has an egrep.exe installed it's now possible
-	to search for files containing a search pattern.
-
-Tue May 12 17:16:43 1998  Pavel Roskin  <pavel_roskin@geocities.com>
-
-	* Makefile.RSX, mc.rc: Resources support for RSX
-
-	* Makefile.PC, *.c: Some includes corrected for MinGW
-	compatibility (dir.h exists both in mc and MinGW)
-
-Fri May  8 10:49:21 1998  Pavel Roskin  <pavel_roskin@geocities.com>
-
-	* Makefile.PC, Makefile.MIN: support for custom extension
-	for compiled resources
-
-	* key_nt.c: Minor changes for MinGW
-
-	* mc.rc: WindRes support
-
-	* slint_pc.c: support for syntax highlighting
-
-Fri May  1 17:33:11 1998  Pavel Roskin  <pavel_roskin@geocities.com>
-
-	* chmod.c: Updated call to update_panels()
-
-	* config.h, Makefile.MIN: Support for MinGW added

+ 0 - 56
pc/Makefile.BC5

@@ -1,56 +0,0 @@
-# Makefile.BC5
-#
-# Midnight Commander for Win32 makefile
-# for Borland C++ 5.01
-#
-# Hacked by Dan Nicolaescu from Visual IDE mak
-# Hacked by Pavel Roskin to make it work with cmd.exe from Windows NT4
-# 980206 hacked by Pavel Roskin to make it work with GNU make
-# 980316 hacked by Pavel Roskin to make it work with Borland C++
-# --------------------------------------------------------------------------
-
-TARGET_OS=NT
-
-CC=bcc32.exe
-LINK=bcc32.exe
-OBJ_SUFFIX=obj
-OBJ_PLACE=-o
-EXE_PLACE=-e
-#      Just comment RSC out if you have problems with resources
-# RSC=rc.exe
-# RES_PLACE=-fo
-
-# ---- Compiler-specific optional stuff
-MC_MISC_CFLAGS=-I../edit -I../src
-
-ifndef RELEASE
-# ---- Debug build
-OBJS_DIR=debug
-EXTRA_MC_SRCS=trace_nt.c
-SPECIFIC_DEFINES=-DHAVE_TRACE
-SPECIFIC_MC_CFLAGS=-v -y $(MC_MISC_CFLAGS)
-SPECIFIC_MC_LFLAGS_EXTRA=-lv
-SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-RC_DEFINES=-D_DEBUG
-else
-# ---- Release build
-OBJS_DIR=release
-EXTRA_MC_SRCS=
-SPECIFIC_DEFINES=
-SPECIFIC_MC_CFLAGS=$(MC_MISC_CFLAGS)
-SPECIFIC_MC_LFLAGS_EXTRA=
-SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-RC_DEFINES=-DRELEASE=$(RELEASE)
-endif
-
-# ---- Compiler independent defines
-include Makefile.PC
-
-# ---- Linkers are usualy compiler-specific
-SPECIFIC_MC_LFLAGS=$(SPECIFIC_MC_LFLAGS_EXTRA)
-MC_LIBS=
-
-$(MC_EXE): $(MC_RES) $(OBJS) $(MCEDIT_OBJS) $(SLANG_OBJS)
-	$(LINK) $(EXE_PLACE)$(MC_EXE) $(SPECIFIC_MC_LFLAGS) $+ $(MC_LIBS)

+ 0 - 57
pc/Makefile.MIN

@@ -1,57 +0,0 @@
-# Makefile.MIN
-#
-# Midnight Commander for NT makefile
-# for MinGW
-#
-# Hacked by Dan Nicolaescu from Visual IDE mak
-# Hacked by Pavel Roskin to make it work with cmd.exe from Windows NT4
-# 980206 hacked by Pavel Roskin to make it work with GNU make
-# --------------------------------------------------------------------------
-
-TARGET_OS=NT
-
-CC=gcc.exe
-LINK=gcc.exe
-OBJ_SUFFIX=o
-OBJ_PLACE=-o
-EXE_PLACE=-o
-#      Just comment RSC out if you have problems with resources
-RSC=windres.exe
-RES_PLACE=-o
-RES_SUFFIX=o
-
-# ---- Compiler-specific optional stuff
-MC_MISC_CFLAGS=-mno-cygwin
-
-ifndef RELEASE
-# ---- Debug build
-OBJS_DIR=debug
-EXTRA_MC_SRCS=
-SPECIFIC_DEFINES=
-SPECIFIC_MC_CFLAGS=-g -O0 $(MC_MISC_CFLAGS)
-SPECIFIC_MC_LFLAGS_EXTRA=
-SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-RC_DEFINES=--define WINDRES --define _DEBUG
-else
-# ---- Release build
-OBJS_DIR=release
-EXTRA_MC_SRCS=
-SPECIFIC_DEFINES=
-SPECIFIC_MC_CFLAGS=-O2 $(MC_MISC_CFLAGS)
-SPECIFIC_MC_LFLAGS_EXTRA=
-SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
-RC_DEFINES=--define WINDRES --define RELEASE=$(RELEASE)
-endif
-
-# ---- Compiler independent defines
-include Makefile.PC
-
-# ---- Linkers are very compiler-specific
-
-SPECIFIC_MC_LFLAGS=$(SPECIFIC_MC_LFLAGS_EXTRA)
-MC_LIBS=
-
-$(MC_EXE): $(MC_RES) $(OBJS) $(MCEDIT_OBJS) $(SLANG_OBJS)
-	$(LINK) $(EXE_PLACE) $(MC_EXE) $(MC_LIBS) $(SPECIFIC_MC_LFLAGS) $+

+ 0 - 171
pc/Makefile.PC

@@ -1,171 +0,0 @@
-# Makefile.PC
-#
-# This is the Makefile for Midnight Commander under Win32
-#
-# Written by Dan Nicolaescu 
-# 970423 hacked by Juan f. Grigera 
-# 970525 hacked again by jfg to add internal editor
-# 971127 hacked by Pavel Roskin to make it work with mc-4.1.11
-# 980206 hacked by Pavel Roskin to make it work with GNU make
-# 980329 changed by Pavel Roskin to make it common for OS/2 and NT
-#
-# Supported Compilers:
-#
-#	Makefile.VC4:	Microsoft Visual C++ 4.0 and above
-#	Makefile.BC5:	Borland C++ 5.x
-#	Makefile.MIN:	MinGW
-#	Makefile.RSX:	RSX
-
-# ---- Directories
-MC_PC_DIR=.
-MC_SRC_DIR=../src
-VFS_DIR=../vfs
-MCEDIT_SRC_DIR=../edit
-MCGTKEDIT_SRC_DIR=../edit
-MCEDIT_OBJS_DIR=$(OBJS_DIR)/edit
-SLANG_SRC_DIR=../slang
-SLANG_OBJS_DIR=$(OBJS_DIR)/slang
-MC_EXE=$(OBJS_DIR)/mc.exe
-
-# --- Midnight Defines
-COMMON_DEFINES=-DMC_NT $(SPECIFIC_DEFINES)
-MC_DEFINES=$(COMMON_DEFINES) -DHAVE_CONFIG_H
-MC_INCLUDES=-I$(MC_PC_DIR) -I$(SLANG_SRC_DIR)
-SLANG_DEFINES=$(COMMON_DEFINES)
-SLANG_INCLUDES=-I$(MC_PC_DIR) -I$(SLANG_SRC_DIR)
-MCEDIT_DEFINES=$(COMMON_DEFINES) -DHAVE_CONFIG_H
-MCEDIT_INCLUDES=-I$(MC_PC_DIR) -I$(SLANG_SRC_DIR)
-
-CFLAGS=$(SPECIFIC_MC_CFLAGS) $(MC_INCLUDES) $(MC_DEFINES) -c
-SLANG_CFLAGS=$(SPECIFIC_SLANG_CFLAGS) $(SLANG_INCLUDES) $(SLANG_DEFINES) -c
-MCEDIT_CFLAGS=$(SPECIFIC_MCEDIT_CFLAGS) $(MCEDIT_INCLUDES) $(MCEDIT_DEFINES) -c
-
-
-all: object-dirs mc
-object-dirs: $(OBJS_DIR) $(SLANG_OBJS_DIR) $(MCEDIT_OBJS_DIR)
-
-mc: $(MC_EXE)
-
-clean: 
-	deltree -y "$(SLANG_OBJS_DIR)"
-	deltree -y "$(MCEDIT_OBJS_DIR)"
-	deltree -y "$(OBJS_DIR)"
-
-$(OBJS_DIR):
-	mkdir "$@"
-
-$(SLANG_OBJS_DIR):
-	mkdir "$@"
-
-$(MCEDIT_OBJS_DIR):
-	mkdir "$@"
-
-$(OBJS_DIR)/%.$(OBJ_SUFFIX): $(MC_PC_DIR)/%.c
-	$(CC) $(CFLAGS) $(OBJ_PLACE)$@ $<
-
-$(OBJS_DIR)/%.$(OBJ_SUFFIX): $(MC_SRC_DIR)/%.c
-	$(CC) $(CFLAGS) $(OBJ_PLACE)$@ $<
-
-$(SLANG_OBJS_DIR)/%.$(OBJ_SUFFIX): $(SLANG_SRC_DIR)/%.c
-	$(CC) $(SLANG_CFLAGS) $(OBJ_PLACE)$@ $<
-
-$(MCEDIT_OBJS_DIR)/%.$(OBJ_SUFFIX): $(MCEDIT_SRC_DIR)/%.c
-	$(CC) $(MCEDIT_CFLAGS) $(OBJ_PLACE)$@ $<
-
-$(MCEDIT_OBJS_DIR)/%.$(OBJ_SUFFIX): $(MCGTKEDIT_SRC_DIR)/%.c
-	$(CC) -I$(MCGTKEDIT_SRC_DIR) -I$(MCEDIT_SRC_DIR) -I$(MCEDIT_SRC_DIR)/.. $(MCEDIT_CFLAGS) $(OBJ_PLACE)$@ $<
-
-MC_SRCS= \
-	terms.c 	\
-	user.c 		\
-	file.c 		\
-	filegui.c	\
-	filenot.c	\
-	findme.c	\
-	listmode.c 	\
-	cmd.c 		\
-	command.c 	\
-	help.c 		\
-	menu.c 		\
-	view.c 		\
-	dir.c 		\
-	info.c 		\
-	widget.c 	\
-	option.c 	\
-	dlg.c 		\
-	panelize.c 	\
-	profile.c 	\
-	util.c 		\
-	dialog.c 	\
-	ext.c 		\
-	color.c 	\
-	layout.c 	\
-	setup.c 	\
-	regex.c 	\
-	hotlist.c 	\
-	tree.c 		\
-	win.c 		\
-	complete.c 	\
-	find.c 		\
-	wtools.c 	\
-	boxes.c 	\
-	background.c 	\
-	main.c 		\
-	popt.c 		\
-	text.c 		\
-	screen.c
-
-PC_SRCS= \
-	chmod.c 	\
-	cons_nt.c 	\
-	drive.c		\
-	dirent_nt.c 	\
-	key_nt.c 	\
-	slint_pc.c 	\
-	util_win32.c 	\
-	util_winnt.c 	\
-	util_nt.c
-
-SLANG_SRCS= 		\
-	slerr.c 	\
-	slgetkey.c 	\
-	slsmg.c 	\
-	slvideo.c 	\
-	slw32tty.c
-
-MCEDIT_SRCS= 		\
-	edit.c 		\
-	editcmd.c 	\
-	editdraw.c 	\
-	editmenu.c 	\
-	editoptions.c 	\
-	editwidget.c 	\
-	syntax.c 	\
-	wordproc.c
-
-SRCS=$(MC_SRCS) $(PC_SRCS) $(EXTRA_MC_SRCS)
-
-OBJS=$(addprefix $(OBJS_DIR)/, \
-	$(patsubst %.c,%.$(OBJ_SUFFIX),$(SRCS)))
-SLANG_OBJS=$(addprefix $(SLANG_OBJS_DIR)/, \
-	$(patsubst %.c,%.$(OBJ_SUFFIX),$(SLANG_SRCS)))
-MCEDIT_OBJS=$(addprefix $(MCEDIT_OBJS_DIR)/, \
-	$(patsubst %.c,%.$(OBJ_SUFFIX),$(MCEDIT_SRCS)))
-
-ifdef RSC
-
-ifndef RES_SUFFIX
-RES_SUFFIX=res
-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
-	$(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' $< > $@

Some files were not shown because too many files changed in this diff