nasm/Mkfiles
H. Peter Anvin 7e80d6b834 Make: handle warning files while building in a directory
The dependency on the warning files breaks when we are building in a
directory *and* the files already exist from being shipped with the
distribution tarballs. The make VPATH simply isn't sophisticated
enough to deal with it, so let the C compiler handle it by #including
the generated file from a dummy C file.

Reported-by: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2023-01-17 13:05:55 -08:00
..
msvc.mak Make: handle warning files while building in a directory 2023-01-17 13:05:55 -08:00
openwcom.mak Make: handle warning files while building in a directory 2023-01-17 13:05:55 -08:00
README Document/update dependencies for the documentation 2017-05-02 13:01:59 -07:00

These are pre-created Makefiles for various platforms, use them if
GNU autoconf/automake packages are not supported on your system.

The Makefiles are:

  Filename      Target		Compiler	Tested with
  ---------------------------------------------------------------------------
  msvc.mak	Win32		MS Visual C++	Visual Visual Studio 2013-2017

	For building on a Win32 host using Microsoft Visual C++.

	Usage:	nmake /f Mkfiles\msvc.mak

	If the following tools are installed, the full installer package can
	be built:
		1. Perl (5.6 or later), e.g. ActivePerl or StrawberryPerl
		   http://strawberryperl.com/
		2. Nullsoft Scriptable Install System (makensis)
		   http://nsis.sourceforge.net/Download
		3. Ghostscript (ps2pdf) or Acrobat Distriller (acrodist)
		   https://downloads.ghostscript.com/
		4. The Adobe Source Sans Pro and Source Code Pro fonts
		   https://github.com/adobe-fonts
		5. The Perl module Font::TTF (can usually be installed
		   via the "CPAN Client" in your Perl distribution)
		   http://search.cpan.org/~bhallissy/Font-TTF/
		6. The Perl module Sort::Versions (can usually be installed
		   via the "CPAN Client" in your Perl distribution)
		   http://search.cpan.org/~neilb/Sort-Versions-1.62/lib/Sort/Versions.pm

	The tools need to be in your current path.  To build the
	installer package, run:

		nmake /f Mkfiles\msvc.mak everything nsis

  Filename      Target		Compiler	Tested with
  ---------------------------------------------------------------------------
  openwcom.mak	DOS,Win32,OS/2	OpenWatcom C	OpenWatcom 1.7 (Win32)
		Linux (386)			OpenWatcom 1.9 (Linux)

	For building on a DOS, OS/2, Win32 or Linux host using OpenWatcom.
	OpenWatcom can be downloaded from http://www.openwatcom.org/.

	Usage:	wmake /f Mkfiles/openwcom.mak <target>

	<target> is dos, win32, os2, or linux386.