mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
Add NMAKE static makefiles for reference.
This commit is contained in:
350
ref-nmake/config.h
Normal file
350
ref-nmake/config.h
Normal file
@@ -0,0 +1,350 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
/* Hand-edited by Jonathan Campbell for Visual Studio 2008 */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2002-2013 The DOSBox Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
/* Define if building universal (internal helper macro) */
|
||||
#undef AC_APPLE_UNIVERSAL_BUILD
|
||||
|
||||
/* Compiling on BSD */
|
||||
#undef BSD
|
||||
|
||||
/* Determines if the compilers supports always_inline attribute. */
|
||||
#undef C_ATTRIBUTE_ALWAYS_INLINE
|
||||
|
||||
/* Determines if the compilers supports fastcall attribute. */
|
||||
#undef C_ATTRIBUTE_FASTCALL
|
||||
|
||||
/* Define to 1 to use inlined memory functions in cpu core */
|
||||
#define C_CORE_INLINE 1
|
||||
|
||||
/* Define to 1 to enable internal debugger, requires libcurses */
|
||||
#define C_DEBUG 1
|
||||
|
||||
/* Define to 1 if you want parallel passthrough support (Win32, Linux). */
|
||||
#define C_DIRECTLPT 1
|
||||
|
||||
/* Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).
|
||||
*/
|
||||
#define C_DIRECTSERIAL 1
|
||||
|
||||
#ifdef _M_AMD64 /* Microsoft C++ amd64 */
|
||||
# undef C_DYNAMIC_X86
|
||||
# undef C_TARGETCPU
|
||||
# define C_DYNREC 1
|
||||
#else
|
||||
/* The type of cpu this target has */
|
||||
#define C_TARGETCPU X86
|
||||
/* Define to 1 to use x86 dynamic cpu core */
|
||||
# undef C_DYNAMIC_X86
|
||||
# define C_DYNREC 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 to enable fluidsynth MIDI synthesis */
|
||||
#undef C_FLUIDSYNTH
|
||||
|
||||
/* Define to 1 to enable floating point emulation */
|
||||
#define C_FPU 1
|
||||
|
||||
/* Determines if the compilers supports attributes for structures. */
|
||||
#undef C_HAS_ATTRIBUTE
|
||||
|
||||
/* Determines if the compilers supports __builtin_expect for branch
|
||||
prediction. */
|
||||
#undef C_HAS_BUILTIN_EXPECT
|
||||
|
||||
/* Define to 1 if you have the mprotect function */
|
||||
#undef C_HAVE_MPROTECT
|
||||
|
||||
/* Define to 1 to enable heavy debugging, also have to enable C_DEBUG */
|
||||
#undef C_HEAVY_DEBUG
|
||||
|
||||
/* Define to 1 to enable IPX over Internet networking, requires SDL_net */
|
||||
#if !defined(C_SDL2)
|
||||
//#define C_IPX 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have libpng */
|
||||
#define C_LIBPNG 1
|
||||
|
||||
/* Define to 1 to enable internal modem support, requires SDL_net */
|
||||
#undef C_MODEM
|
||||
|
||||
/* Define to 1 to enable NE2000 ethernet passthrough, requires libpcap */
|
||||
//#define C_NE2000 1
|
||||
|
||||
/* Define to 1 to use opengl display output support */
|
||||
#if !defined(C_SDL2)
|
||||
#define C_OPENGL 1
|
||||
#endif
|
||||
|
||||
/* Set to 1 to enable SDL 1.x support */
|
||||
#define C_SDL1 1
|
||||
|
||||
/* Set to 1 to enable SDL 2.x support */
|
||||
/* #undef C_SDL2 */
|
||||
|
||||
/* Define to 1 if you have setpriority support */
|
||||
#undef C_SET_PRIORITY
|
||||
|
||||
/* Define to 1 to enable screenshots, requires libpng */
|
||||
#define C_SSHOT 1
|
||||
|
||||
/* Define to 1 to use a unaligned memory access */
|
||||
#define C_UNALIGNED_MEMORY 1
|
||||
|
||||
/* define to 1 if you have XKBlib.h and X11 lib */
|
||||
#undef C_X11_XKB
|
||||
|
||||
/* libm doesn't include powf */
|
||||
#undef DB_HAVE_NO_POWF
|
||||
|
||||
/* struct dirent has d_type */
|
||||
#undef DIRENT_HAS_D_TYPE
|
||||
|
||||
/* environ can be included */
|
||||
#define ENVIRON_INCLUDED 1
|
||||
|
||||
/* environ can be linked */
|
||||
#undef ENVIRON_LINKED
|
||||
|
||||
/* Define to 1 to use ALSA for MIDI */
|
||||
#undef HAVE_ALSA
|
||||
|
||||
/* Define to 1 if you have the <d3d9.h> header file. */
|
||||
#if !defined(C_SDL2)
|
||||
/*#define HAVE_D3D9_H 1*/
|
||||
#endif
|
||||
|
||||
#if HAVE_D3D9_H
|
||||
/* Define to 1 if you want to add Direct3D output to the list of available outputs */
|
||||
#define C_DIRECT3D 1
|
||||
/* Define to 1 to use Direct3D shaders, requires d3d9.h and libd3dx9 */
|
||||
#define C_D3DSHADERS 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <ddraw.h> header file. */
|
||||
#if !defined(C_SDL2)
|
||||
#define HAVE_DDRAW_H 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `asound' library (-lasound). */
|
||||
#undef HAVE_LIBASOUND
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <netinet/in.h> header file. */
|
||||
#undef HAVE_NETINET_IN_H
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
#undef HAVE_PWD_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#undef HAVE_SYS_SOCKET_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Compiling on GNU/Linux */
|
||||
#undef LINUX
|
||||
|
||||
/* Compiling on Mac OS X */
|
||||
#undef MACOSX
|
||||
|
||||
/* Compiling on OS/2 EMX */
|
||||
#undef OS2
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
|
||||
/* Define to the version of this package. */
|
||||
|
||||
/* The size of `int *', as computed by sizeof. */
|
||||
#ifdef _M_AMD64 /* Microsoft C++ amd64 */
|
||||
# define SIZEOF_INT_P 8
|
||||
#else
|
||||
# define SIZEOF_INT_P 4
|
||||
#endif
|
||||
|
||||
/* The size of `unsigned char', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_CHAR 1
|
||||
|
||||
/* The size of `unsigned int', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_INT 4
|
||||
|
||||
/* The size of `unsigned long', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_LONG 4
|
||||
|
||||
/* The size of `unsigned long long', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_LONG_LONG 8
|
||||
|
||||
/* The size of `unsigned short', as computed by sizeof. */
|
||||
#define SIZEOF_UNSIGNED_SHORT 2
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||
# if defined __BIG_ENDIAN__
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# endif
|
||||
#else
|
||||
# ifndef WORDS_BIGENDIAN
|
||||
# undef WORDS_BIGENDIAN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
#ifndef CONST
|
||||
#define CONST const
|
||||
#endif
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define to `int` if you don't have socklen_t */
|
||||
#undef socklen_t
|
||||
|
||||
#if C_ATTRIBUTE_ALWAYS_INLINE
|
||||
#define INLINE inline __attribute__((always_inline))
|
||||
#else
|
||||
#define INLINE inline
|
||||
#endif
|
||||
|
||||
#if C_ATTRIBUTE_FASTCALL
|
||||
#define DB_FASTCALL __attribute__((fastcall))
|
||||
#else
|
||||
#define DB_FASTCALL
|
||||
#endif
|
||||
|
||||
#if C_HAS_ATTRIBUTE
|
||||
#define GCC_ATTRIBUTE(x) __attribute__ ((x))
|
||||
#else
|
||||
#define GCC_ATTRIBUTE(x) /* attribute not supported */
|
||||
#endif
|
||||
|
||||
#if C_HAS_BUILTIN_EXPECT
|
||||
#define GCC_UNLIKELY(x) __builtin_expect((x),0)
|
||||
#define GCC_LIKELY(x) __builtin_expect((x),1)
|
||||
#else
|
||||
#define GCC_UNLIKELY(x) (x)
|
||||
#define GCC_LIKELY(x) (x)
|
||||
#endif
|
||||
|
||||
|
||||
typedef double Real64;
|
||||
|
||||
#if SIZEOF_UNSIGNED_CHAR != 1
|
||||
# error "sizeof (unsigned char) != 1"
|
||||
#else
|
||||
typedef unsigned char Bit8u;
|
||||
typedef signed char Bit8s;
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_SHORT != 2
|
||||
# error "sizeof (unsigned short) != 2"
|
||||
#else
|
||||
typedef unsigned short Bit16u;
|
||||
typedef signed short Bit16s;
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_INT == 4
|
||||
typedef unsigned int Bit32u;
|
||||
typedef signed int Bit32s;
|
||||
#elif SIZEOF_UNSIGNED_LONG == 4
|
||||
typedef unsigned long Bit32u;
|
||||
typedef signed long Bit32s;
|
||||
#else
|
||||
# error "can't find sizeof(type) of 4 bytes!"
|
||||
#endif
|
||||
|
||||
#if SIZEOF_UNSIGNED_LONG == 8
|
||||
typedef unsigned long Bit64u;
|
||||
typedef signed long Bit64s;
|
||||
#elif SIZEOF_UNSIGNED_LONG_LONG == 8
|
||||
typedef unsigned long long Bit64u;
|
||||
typedef signed long long Bit64s;
|
||||
#else
|
||||
# error "can't find data type of 8 bytes"
|
||||
#endif
|
||||
|
||||
#if SIZEOF_INT_P == 4
|
||||
typedef Bit32u Bitu;
|
||||
typedef Bit32s Bits;
|
||||
#else
|
||||
typedef Bit64u Bitu;
|
||||
typedef Bit64s Bits;
|
||||
#endif
|
||||
|
||||
/* Fuck off MSVC I don't care if some C library functions aren't POSIX compliant --J.C. */
|
||||
#if defined(WIN32)
|
||||
# pragma warning(disable:4996)
|
||||
#endif
|
||||
|
||||
#define PACKAGE "dosbox-x"
|
||||
#define PACKAGE_BUGREPORT "https://github.com/joncampbell123/dosbox-x/issues"
|
||||
#define PACKAGE_NAME "dosbox-x"
|
||||
#define PACKAGE_STRING "dosbox-x 0.82.20"
|
||||
#define PACKAGE_TARNAME "dosbox-x"
|
||||
#define PACKAGE_URL "http://dosbox-x.software"
|
||||
#define PACKAGE_VERSION "0.82.20"
|
||||
#define VERSION "0.82.20"
|
7
ref-nmake/dep.bat
Normal file
7
ref-nmake/dep.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
cd deps
|
||||
nmake -f sdl
|
||||
nmake -f zlib
|
||||
nmake -f png
|
||||
nmake -f pdcurses
|
||||
cd ..
|
7
ref-nmake/depclean.bat
Normal file
7
ref-nmake/depclean.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
cd deps
|
||||
nmake -f sdl clean
|
||||
nmake -f zlib clean
|
||||
nmake -f png clean
|
||||
nmake -f pdcurses clean
|
||||
cd ..
|
85
ref-nmake/deps/pdcurses
Normal file
85
ref-nmake/deps/pdcurses
Normal file
@@ -0,0 +1,85 @@
|
||||
CC = cl
|
||||
CXX = cl
|
||||
LD = link
|
||||
LIBR = lib
|
||||
WINDRES = rc
|
||||
|
||||
PDCURSES = ..\..\vs2015\libpdcurses
|
||||
|
||||
CXXFLAGS = -nologo -O2 -MT -DNDEBUG -I$(PDCURSES)
|
||||
|
||||
CFLAGS = -nologo -O2 -MT -DNDEBUG -I$(PDCURSES)
|
||||
|
||||
LFLAGS = -nologo
|
||||
|
||||
TARGET = pdcurses.lib
|
||||
|
||||
OBJS = $(PDCURSES)\pdcurses\addch.obj \
|
||||
$(PDCURSES)\pdcurses\addchstr.obj \
|
||||
$(PDCURSES)\pdcurses\addstr.obj \
|
||||
$(PDCURSES)\pdcurses\attr.obj \
|
||||
$(PDCURSES)\pdcurses\beep.obj \
|
||||
$(PDCURSES)\pdcurses\bkgd.obj \
|
||||
$(PDCURSES)\pdcurses\border.obj \
|
||||
$(PDCURSES)\pdcurses\clear.obj \
|
||||
$(PDCURSES)\pdcurses\color.obj \
|
||||
$(PDCURSES)\pdcurses\debug.obj \
|
||||
$(PDCURSES)\pdcurses\delch.obj \
|
||||
$(PDCURSES)\pdcurses\deleteln.obj \
|
||||
$(PDCURSES)\pdcurses\deprec.obj \
|
||||
$(PDCURSES)\pdcurses\getch.obj \
|
||||
$(PDCURSES)\pdcurses\getstr.obj \
|
||||
$(PDCURSES)\pdcurses\getyx.obj \
|
||||
$(PDCURSES)\pdcurses\inch.obj \
|
||||
$(PDCURSES)\pdcurses\inchstr.obj \
|
||||
$(PDCURSES)\pdcurses\initscr.obj \
|
||||
$(PDCURSES)\pdcurses\inopts.obj \
|
||||
$(PDCURSES)\pdcurses\insch.obj \
|
||||
$(PDCURSES)\pdcurses\insstr.obj \
|
||||
$(PDCURSES)\pdcurses\instr.obj \
|
||||
$(PDCURSES)\pdcurses\kernel.obj \
|
||||
$(PDCURSES)\pdcurses\keyname.obj \
|
||||
$(PDCURSES)\pdcurses\mouse.obj \
|
||||
$(PDCURSES)\pdcurses\move.obj \
|
||||
$(PDCURSES)\pdcurses\outopts.obj \
|
||||
$(PDCURSES)\pdcurses\overlay.obj \
|
||||
$(PDCURSES)\pdcurses\pad.obj \
|
||||
$(PDCURSES)\pdcurses\panel.obj \
|
||||
$(PDCURSES)\pdcurses\printw.obj \
|
||||
$(PDCURSES)\pdcurses\refresh.obj \
|
||||
$(PDCURSES)\pdcurses\scanw.obj \
|
||||
$(PDCURSES)\pdcurses\scr_dump.obj \
|
||||
$(PDCURSES)\pdcurses\scroll.obj \
|
||||
$(PDCURSES)\pdcurses\slk.obj \
|
||||
$(PDCURSES)\pdcurses\termattr.obj \
|
||||
$(PDCURSES)\pdcurses\terminfo.obj \
|
||||
$(PDCURSES)\pdcurses\touch.obj \
|
||||
$(PDCURSES)\pdcurses\util.obj \
|
||||
$(PDCURSES)\pdcurses\window.obj \
|
||||
$(PDCURSES)\wincon\pdcclip.obj \
|
||||
$(PDCURSES)\wincon\pdcdisp.obj \
|
||||
$(PDCURSES)\wincon\pdcgetsc.obj \
|
||||
$(PDCURSES)\wincon\pdckbd.obj \
|
||||
$(PDCURSES)\wincon\pdcscrn.obj \
|
||||
$(PDCURSES)\wincon\pdcsetsc.obj \
|
||||
$(PDCURSES)\wincon\pdcutil.obj
|
||||
|
||||
.SUFFIXES: .c.o
|
||||
.SUFFIXES: .cpp.o
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(LIBR) $(LFLAGS) -OUT:$@ $(OBJS)
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -Fo$@ $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) -c -Fo$@ $<
|
||||
|
||||
.rc.res:
|
||||
$(WINDRES) -fo $@ $<
|
||||
|
||||
clean:
|
||||
del $(TARGET) $(OBJS)
|
54
ref-nmake/deps/png
Normal file
54
ref-nmake/deps/png
Normal file
@@ -0,0 +1,54 @@
|
||||
CC = cl
|
||||
CXX = cl
|
||||
LD = link
|
||||
LIBR = lib
|
||||
WINDRES = rc
|
||||
|
||||
ZLIB = ..\..\vs2015\zlib
|
||||
|
||||
LPNG = ..\..\vs2015\libpng
|
||||
|
||||
CXXFLAGS = -nologo -O2 -MT -DNDEBUG -I$(ZLIB)
|
||||
|
||||
CFLAGS = -nologo -O2 -MT -DNDEBUG -I$(ZLIB)
|
||||
|
||||
LFLAGS = -nologo
|
||||
|
||||
TARGET = png.lib
|
||||
|
||||
OBJS = $(LPNG)\png.obj \
|
||||
$(LPNG)\pngerror.obj \
|
||||
$(LPNG)\pngget.obj \
|
||||
$(LPNG)\pngmem.obj \
|
||||
$(LPNG)\pngpread.obj \
|
||||
$(LPNG)\pngread.obj \
|
||||
$(LPNG)\pngrio.obj \
|
||||
$(LPNG)\pngrtran.obj \
|
||||
$(LPNG)\pngrutil.obj \
|
||||
$(LPNG)\pngset.obj \
|
||||
$(LPNG)\pngtest.obj \
|
||||
$(LPNG)\pngtrans.obj \
|
||||
$(LPNG)\pngwio.obj \
|
||||
$(LPNG)\pngwrite.obj \
|
||||
$(LPNG)\pngwtran.obj \
|
||||
$(LPNG)\pngwutil.obj
|
||||
|
||||
.SUFFIXES: .c.o
|
||||
.SUFFIXES: .cpp.o
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(LIBR) $(LFLAGS) -OUT:$@ $(OBJS)
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -Fo$@ $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) -c -Fo$@ $<
|
||||
|
||||
.rc.res:
|
||||
$(WINDRES) -fo $@ $<
|
||||
|
||||
clean:
|
||||
del $(TARGET) $(OBJS)
|
110
ref-nmake/deps/sdl
Normal file
110
ref-nmake/deps/sdl
Normal file
@@ -0,0 +1,110 @@
|
||||
CC = cl
|
||||
CXX = cl
|
||||
LD = link
|
||||
LIBR = lib
|
||||
WINDRES = rc
|
||||
|
||||
SDLDIR = ..\..\vs2015\sdl
|
||||
|
||||
CXXFLAGS = -nologo -O2 -MT -DNDEBUG -DNO_STDIO_REDIRECT -D_WIN32_WINNT=0x0501 -I$(SDLDIR)\include
|
||||
|
||||
CFLAGS = -nologo -O2 -MT -DNDEBUG -DNO_STDIO_REDIRECT -D_WIN32_WINNT=0x0501 -I$(SDLDIR)\include
|
||||
|
||||
LFLAGS = -nologo
|
||||
|
||||
TARGET = sdl.lib
|
||||
|
||||
SDLMAIN = sdlmain.lib
|
||||
|
||||
OBJS = $(SDLDIR)\src\SDL.obj \
|
||||
$(SDLDIR)\src\SDL_error.obj \
|
||||
$(SDLDIR)\src\SDL_fatal.obj \
|
||||
$(SDLDIR)\src\audio\SDL_audio.obj \
|
||||
$(SDLDIR)\src\audio\SDL_audiocvt.obj \
|
||||
$(SDLDIR)\src\audio\SDL_audiodev.obj \
|
||||
$(SDLDIR)\src\audio\SDL_mixer.obj \
|
||||
$(SDLDIR)\src\audio\SDL_mixer_MMX_VC.obj \
|
||||
$(SDLDIR)\src\audio\SDL_wave.obj \
|
||||
$(SDLDIR)\src\audio\disk\SDL_diskaudio.obj \
|
||||
$(SDLDIR)\src\audio\dummy\SDL_dummyaudio.obj \
|
||||
$(SDLDIR)\src\audio\windib\SDL_dibaudio.obj \
|
||||
$(SDLDIR)\src\audio\windx5\SDL_dx5audio.obj \
|
||||
$(SDLDIR)\src\cdrom\SDL_cdrom.obj \
|
||||
$(SDLDIR)\src\cdrom\win32\SDL_syscdrom.obj \
|
||||
$(SDLDIR)\src\cpuinfo\SDL_cpuinfo.obj \
|
||||
$(SDLDIR)\src\events\SDL_active.obj \
|
||||
$(SDLDIR)\src\events\SDL_events.obj \
|
||||
$(SDLDIR)\src\events\SDL_expose.obj \
|
||||
$(SDLDIR)\src\events\SDL_keyboard.obj \
|
||||
$(SDLDIR)\src\events\SDL_mouse.obj \
|
||||
$(SDLDIR)\src\events\SDL_quit.obj \
|
||||
$(SDLDIR)\src\events\SDL_resize.obj \
|
||||
$(SDLDIR)\src\file\SDL_rwops.obj \
|
||||
$(SDLDIR)\src\joystick\SDL_joystick.obj \
|
||||
$(SDLDIR)\src\joystick\win32\SDL_mmjoystick.obj \
|
||||
$(SDLDIR)\src\loadso\win32\SDL_sysloadso.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_getenv.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_iconv.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_malloc.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_qsort.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_stdlib.obj \
|
||||
$(SDLDIR)\src\stdlib\SDL_string.obj \
|
||||
$(SDLDIR)\src\thread\SDL_thread.obj \
|
||||
$(SDLDIR)\src\thread\win32\SDL_sysmutex.obj \
|
||||
$(SDLDIR)\src\thread\win32\SDL_syssem.obj \
|
||||
$(SDLDIR)\src\thread\win32\SDL_systhread.obj \
|
||||
$(SDLDIR)\src\timer\SDL_timer.obj \
|
||||
$(SDLDIR)\src\timer\win32\SDL_systimer.obj \
|
||||
$(SDLDIR)\src\video\SDL_blit.obj \
|
||||
$(SDLDIR)\src\video\SDL_blit_0.obj \
|
||||
$(SDLDIR)\src\video\SDL_blit_1.obj \
|
||||
$(SDLDIR)\src\video\SDL_blit_A.obj \
|
||||
$(SDLDIR)\src\video\SDL_blit_N.obj \
|
||||
$(SDLDIR)\src\video\SDL_bmp.obj \
|
||||
$(SDLDIR)\src\video\SDL_cursor.obj \
|
||||
$(SDLDIR)\src\video\SDL_gamma.obj \
|
||||
$(SDLDIR)\src\video\SDL_pixels.obj \
|
||||
$(SDLDIR)\src\video\SDL_RLEaccel.obj \
|
||||
$(SDLDIR)\src\video\SDL_stretch.obj \
|
||||
$(SDLDIR)\src\video\SDL_surface.obj \
|
||||
$(SDLDIR)\src\video\SDL_video.obj \
|
||||
$(SDLDIR)\src\video\SDL_yuv.obj \
|
||||
$(SDLDIR)\src\video\SDL_yuv_sw.obj \
|
||||
$(SDLDIR)\src\video\dummy\SDL_nullevents.obj \
|
||||
$(SDLDIR)\src\video\dummy\SDL_nullmouse.obj \
|
||||
$(SDLDIR)\src\video\dummy\SDL_nullvideo.obj \
|
||||
$(SDLDIR)\src\video\wincommon\SDL_sysevents.obj \
|
||||
$(SDLDIR)\src\video\wincommon\SDL_sysmouse.obj \
|
||||
$(SDLDIR)\src\video\wincommon\SDL_syswm.obj \
|
||||
$(SDLDIR)\src\video\wincommon\SDL_wingl.obj \
|
||||
$(SDLDIR)\src\video\windib\SDL_dibvideo.obj \
|
||||
$(SDLDIR)\src\video\windib\SDL_dibevents.obj \
|
||||
$(SDLDIR)\src\video\windib\SDL_multimon.obj \
|
||||
$(SDLDIR)\src\video\windx5\SDL_dx5video.obj \
|
||||
$(SDLDIR)\src\video\windx5\SDL_dx5events.obj \
|
||||
$(SDLDIR)\src\video\windx5\SDL_dx5yuv.obj
|
||||
|
||||
LIBS = user32.lib
|
||||
|
||||
.SUFFIXES: .c.o
|
||||
.SUFFIXES: .cpp.o
|
||||
|
||||
all: $(TARGET) $(SDLMAIN)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(LIBR) $(LFLAGS) -OUT:$@ $(OBJS)
|
||||
|
||||
$(SDLMAIN): $(SDLDIR)\src\main\win32\SDL_win32_main.obj
|
||||
$(LIBR) $(LFLAGS) -OUT:$@ $(SDLDIR)\src\main\win32\SDL_win32_main.obj
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -Fo$@ $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) -c -Fo$@ $<
|
||||
|
||||
.rc.res:
|
||||
$(WINDRES) -fo $@ $<
|
||||
|
||||
clean:
|
||||
del $(TARGET) $(SDLMAIN) $(OBJS) $(SDLDIR)\src\main\win32\SDL_win32_main.obj
|
52
ref-nmake/deps/zlib
Normal file
52
ref-nmake/deps/zlib
Normal file
@@ -0,0 +1,52 @@
|
||||
CC = cl
|
||||
CXX = cl
|
||||
LD = link
|
||||
LIBR = lib
|
||||
WINDRES = rc
|
||||
|
||||
|
||||
CXXFLAGS = -nologo -O2 -MT -DNDEBUG
|
||||
|
||||
CFLAGS = -nologo -O2 -MT -DNDEBUG
|
||||
|
||||
LFLAGS = -nologo
|
||||
|
||||
TARGET = z.lib
|
||||
|
||||
ZLIB = ..\..\vs2015\zlib
|
||||
|
||||
OBJS = $(ZLIB)\adler32.obj \
|
||||
$(ZLIB)\compress.obj \
|
||||
$(ZLIB)\crc32.obj \
|
||||
$(ZLIB)\deflate.obj \
|
||||
$(ZLIB)\gzclose.obj \
|
||||
$(ZLIB)\gzlib.obj \
|
||||
$(ZLIB)\gzread.obj \
|
||||
$(ZLIB)\gzwrite.obj \
|
||||
$(ZLIB)\infback.obj \
|
||||
$(ZLIB)\inffast.obj \
|
||||
$(ZLIB)\inflate.obj \
|
||||
$(ZLIB)\inftrees.obj \
|
||||
$(ZLIB)\trees.obj \
|
||||
$(ZLIB)\uncompr.obj \
|
||||
$(ZLIB)\zutil.obj
|
||||
|
||||
.SUFFIXES: .c.o
|
||||
.SUFFIXES: .cpp.o
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(LIBR) $(LFLAGS) -OUT:$@ $(OBJS)
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -Fo$@ $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) -c -Fo$@ $<
|
||||
|
||||
.rc.res:
|
||||
$(WINDRES) -fo $@ $<
|
||||
|
||||
clean:
|
||||
del $(TARGET) $(OBJS)
|
360
ref-nmake/nMakefile
Normal file
360
ref-nmake/nMakefile
Normal file
@@ -0,0 +1,360 @@
|
||||
CC = cl
|
||||
CXX = cl
|
||||
LD = link
|
||||
LIBR = lib
|
||||
WINDRES = rc
|
||||
|
||||
DBX_PATH = ..
|
||||
|
||||
SDLDIR = ..\vs2015\sdl
|
||||
|
||||
ZLIB = ..\vs2015\zlib
|
||||
|
||||
LPNG = ..\vs2015\libpng
|
||||
|
||||
PDCURSES = ..\vs2015\libpdcurses
|
||||
|
||||
CXXFLAGS = -utf-8 -nologo -O2 -MT -EHsc -DNDEBUG -DWIN32 -D__WIN32__ -D_FILE_OFFSET_BITS=64 -DC_OPENGL=1 -DC_MT32=1 -I. \
|
||||
-D_WIN32_WINNT=0x0501 \
|
||||
-Dmain=SDL_main -I$(SDLDIR)\include \
|
||||
-I$(LPNG) -I$(ZLIB) -I$(PDCURSES) \
|
||||
-I$(DBX_PATH) \
|
||||
-I$(DBX_PATH)/include \
|
||||
-I$(DBX_PATH)/src \
|
||||
-I$(DBX_PATH)/src/aviwriter \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/sound \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/common \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/generic \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/sound/getsnd \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/x11 \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/cbus \
|
||||
-I$(DBX_PATH)/src/xBRZ
|
||||
|
||||
CFLAGS = -nologo -O2 -MT -DNDEBUG -DWIN32 -D_WIN32_WINNT=0x0501 -I. \
|
||||
-Dmain=SDL_main -I$(SDLDIR)\include \
|
||||
-I$(LPNG) -I$(ZLIB) \
|
||||
-I$(DBX_PATH) \
|
||||
-I$(DBX_PATH)/include \
|
||||
-I$(DBX_PATH)/src \
|
||||
-I$(DBX_PATH)/src/aviwriter \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/sound \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/common \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/generic \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/sound/getsnd \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/x11 \
|
||||
-I$(DBX_PATH)/src/hardware/snd_pc98/cbus
|
||||
|
||||
LFLAGS = -nologo -SUBSYSTEM:Windows,"5.01"
|
||||
|
||||
TARGET = dosbox-x.exe
|
||||
|
||||
OBJS = $(DBX_PATH)\src\dosbox.obj \
|
||||
$(DBX_PATH)\src\aviwriter\avi_rw_iobuf.obj \
|
||||
$(DBX_PATH)\src\aviwriter\avi_writer.obj \
|
||||
$(DBX_PATH)\src\aviwriter\guid.obj \
|
||||
$(DBX_PATH)\src\aviwriter\ksdataformat.obj \
|
||||
$(DBX_PATH)\src\aviwriter\riff.obj \
|
||||
$(DBX_PATH)\src\aviwriter\riff_wav_writer.obj \
|
||||
$(DBX_PATH)\src\builtin\25_com.obj \
|
||||
$(DBX_PATH)\src\builtin\28_com.obj \
|
||||
$(DBX_PATH)\src\builtin\50_com.obj \
|
||||
$(DBX_PATH)\src\builtin\append_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\buffers_com.obj \
|
||||
$(DBX_PATH)\src\builtin\copy_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\cwsdpmi_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\debug_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\device_com.obj \
|
||||
$(DBX_PATH)\src\builtin\dos32a_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\dos4gw_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\dosidle_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\dsxmenu_exe_pc.obj \
|
||||
$(DBX_PATH)\src\builtin\dsxmenu_exe_pc98.obj \
|
||||
$(DBX_PATH)\src\builtin\edit_com.obj \
|
||||
$(DBX_PATH)\src\builtin\fcbs_com.obj \
|
||||
$(DBX_PATH)\src\builtin\find_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\hexmem16_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\hexmem32_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\lastdriv_com.obj \
|
||||
$(DBX_PATH)\src\builtin\mem_com.obj \
|
||||
$(DBX_PATH)\src\builtin\move_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\tree_exe.obj \
|
||||
$(DBX_PATH)\src\builtin\xcopy_exe.obj \
|
||||
$(DBX_PATH)\src\cpu\callback.obj \
|
||||
$(DBX_PATH)\src\cpu\core_dynrec.obj \
|
||||
$(DBX_PATH)\src\cpu\core_full.obj \
|
||||
$(DBX_PATH)\src\cpu\core_normal.obj \
|
||||
$(DBX_PATH)\src\cpu\core_normal_286.obj \
|
||||
$(DBX_PATH)\src\cpu\core_normal_8086.obj \
|
||||
$(DBX_PATH)\src\cpu\core_prefetch.obj \
|
||||
$(DBX_PATH)\src\cpu\core_prefetch_286.obj \
|
||||
$(DBX_PATH)\src\cpu\core_prefetch_8086.obj \
|
||||
$(DBX_PATH)\src\cpu\core_simple.obj \
|
||||
$(DBX_PATH)\src\cpu\cpu.obj \
|
||||
$(DBX_PATH)\src\cpu\flags.obj \
|
||||
$(DBX_PATH)\src\cpu\mmx.obj \
|
||||
$(DBX_PATH)\src\cpu\modrm.obj \
|
||||
$(DBX_PATH)\src\cpu\paging.obj \
|
||||
$(DBX_PATH)\src\debug\debug.obj \
|
||||
$(DBX_PATH)\src\debug\debug_disasm.obj \
|
||||
$(DBX_PATH)\src\debug\debug_gui.obj \
|
||||
$(DBX_PATH)\src\debug\debug_win32.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom_aspi_win32.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom_image.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom_ioctl_linux.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom_ioctl_os2.obj \
|
||||
$(DBX_PATH)\src\dos\cdrom_ioctl_win32.obj \
|
||||
$(DBX_PATH)\src\dos\dos.obj \
|
||||
$(DBX_PATH)\src\dos\dos_classes.obj \
|
||||
$(DBX_PATH)\src\dos\dos_devices.obj \
|
||||
$(DBX_PATH)\src\dos\dos_execute.obj \
|
||||
$(DBX_PATH)\src\dos\dos_files.obj \
|
||||
$(DBX_PATH)\src\dos\dos_ioctl.obj \
|
||||
$(DBX_PATH)\src\dos\dos_keyboard_layout.obj \
|
||||
$(DBX_PATH)\src\dos\dos_memory.obj \
|
||||
$(DBX_PATH)\src\dos\dos_misc.obj \
|
||||
$(DBX_PATH)\src\dos\dos_mscdex.obj \
|
||||
$(DBX_PATH)\src\dos\dos_programs.obj \
|
||||
$(DBX_PATH)\src\dos\dos_tables.obj \
|
||||
$(DBX_PATH)\src\dos\drives.obj \
|
||||
$(DBX_PATH)\src\dos\drive_cache.obj \
|
||||
$(DBX_PATH)\src\dos\drive_fat.obj \
|
||||
$(DBX_PATH)\src\dos\drive_iso.obj \
|
||||
$(DBX_PATH)\src\dos\drive_local.obj \
|
||||
$(DBX_PATH)\src\dos\drive_virtual.obj \
|
||||
$(DBX_PATH)\src\fpu\fpu.obj \
|
||||
$(DBX_PATH)\src\gui\menu.obj \
|
||||
$(DBX_PATH)\src\gui\midi.obj \
|
||||
$(DBX_PATH)\src\gui\render.obj \
|
||||
$(DBX_PATH)\src\gui\render_scalers.obj \
|
||||
$(DBX_PATH)\src\gui\sdlmain.obj \
|
||||
$(DBX_PATH)\src\gui\sdlmain_linux.obj \
|
||||
$(DBX_PATH)\src\gui\sdl_gui.obj \
|
||||
$(DBX_PATH)\src\gui\sdl_mapper.obj \
|
||||
$(DBX_PATH)\src\gui\bitop.obj \
|
||||
$(DBX_PATH)\src\gui\ptrop.obj \
|
||||
$(DBX_PATH)\src\gui\zipfile.obj \
|
||||
$(DBX_PATH)\src\gui\zipcrc.obj \
|
||||
$(DBX_PATH)\src\xBRZ\xbrz.obj \
|
||||
$(DBX_PATH)\src\output\output_direct3d.obj \
|
||||
$(DBX_PATH)\src\output\output_opengl.obj \
|
||||
$(DBX_PATH)\src\output\output_surface.obj \
|
||||
$(DBX_PATH)\src\output\output_surface_sdl.obj \
|
||||
$(DBX_PATH)\src\output\output_surface_sdl2.obj \
|
||||
$(DBX_PATH)\src\output\output_tools.obj \
|
||||
$(DBX_PATH)\src\output\output_tools_xbrz.obj
|
||||
|
||||
OBJS2 = $(DBX_PATH)\src\hardware\8255.obj \
|
||||
$(DBX_PATH)\src\hardware\adlib.obj \
|
||||
$(DBX_PATH)\src\hardware\cmos.obj \
|
||||
$(DBX_PATH)\src\hardware\dbopl.obj \
|
||||
$(DBX_PATH)\src\hardware\disney.obj \
|
||||
$(DBX_PATH)\src\hardware\dma.obj \
|
||||
$(DBX_PATH)\src\hardware\dongle.obj \
|
||||
$(DBX_PATH)\src\hardware\floppy.obj \
|
||||
$(DBX_PATH)\src\hardware\gameblaster.obj \
|
||||
$(DBX_PATH)\src\hardware\gus.obj \
|
||||
$(DBX_PATH)\src\hardware\hardopl.obj \
|
||||
$(DBX_PATH)\src\hardware\hardware.obj \
|
||||
$(DBX_PATH)\src\hardware\ide.obj \
|
||||
$(DBX_PATH)\src\hardware\innova.obj \
|
||||
$(DBX_PATH)\src\hardware\iohandler.obj \
|
||||
$(DBX_PATH)\src\hardware\ipx.obj \
|
||||
$(DBX_PATH)\src\hardware\ipxserver.obj \
|
||||
$(DBX_PATH)\src\hardware\joystick.obj \
|
||||
$(DBX_PATH)\src\hardware\keyboard.obj \
|
||||
$(DBX_PATH)\src\hardware\memory.obj \
|
||||
$(DBX_PATH)\src\hardware\mixer.obj \
|
||||
$(DBX_PATH)\src\hardware\mpu401.obj \
|
||||
$(DBX_PATH)\src\hardware\ne2000.obj \
|
||||
$(DBX_PATH)\src\hardware\nukedopl.obj \
|
||||
$(DBX_PATH)\src\hardware\opl.obj \
|
||||
$(DBX_PATH)\src\hardware\pc98.obj \
|
||||
$(DBX_PATH)\src\hardware\pc98_fm.obj \
|
||||
$(DBX_PATH)\src\hardware\pci_bus.obj \
|
||||
$(DBX_PATH)\src\hardware\pcspeaker.obj \
|
||||
$(DBX_PATH)\src\hardware\pic.obj \
|
||||
$(DBX_PATH)\src\hardware\ps1_sound.obj \
|
||||
$(DBX_PATH)\src\hardware\sblaster.obj \
|
||||
$(DBX_PATH)\src\hardware\tandy_sound.obj \
|
||||
$(DBX_PATH)\src\hardware\timer.obj \
|
||||
$(DBX_PATH)\src\hardware\vga.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_attr.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_crtc.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_dac.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_draw.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_gfx.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_memory.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_misc.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_other.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_paradise.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_pc98_cg.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_pc98_crtc.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_pc98_dac.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_pc98_egc.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_pc98_gdc.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_s3.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_seq.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_tseng.obj \
|
||||
$(DBX_PATH)\src\hardware\vga_xga.obj \
|
||||
$(DBX_PATH)\src\hardware\voodoo.obj \
|
||||
$(DBX_PATH)\src\hardware\voodoo_emu.obj \
|
||||
$(DBX_PATH)\src\hardware\voodoo_interface.obj \
|
||||
$(DBX_PATH)\src\hardware\voodoo_opengl.obj \
|
||||
$(DBX_PATH)\src\hardware\voodoo_vogl.obj
|
||||
|
||||
OBJS3 = $(DBX_PATH)\src\hardware\mame\fmopl.obj \
|
||||
$(DBX_PATH)\src\hardware\mame\saa1099.obj \
|
||||
$(DBX_PATH)\src\hardware\mame\sn76496.obj \
|
||||
$(DBX_PATH)\src\hardware\mame\ymdeltat.obj \
|
||||
$(DBX_PATH)\src\hardware\mame\ymf262.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\directlpt_linux.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\directlpt_win32.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\filelpt.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\parport.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\printer.obj \
|
||||
$(DBX_PATH)\src\hardware\parport\printer_charmaps.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\envelope.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\extfilt.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\filter.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\pot.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\sid.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\version.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\voice.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave6581_PST.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave6581_PS_.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave6581_P_T.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave6581__ST.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave8580_PST.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave8580_PS_.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave8580_P_T.obj \
|
||||
$(DBX_PATH)\src\hardware\reSID\wave8580__ST.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\directserial.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\libserial.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\misc_util.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\nullmodem.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\serialdummy.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\seriallog.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\serialmouse.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\serialport.obj \
|
||||
$(DBX_PATH)\src\hardware\serialport\softmodem.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\cbus\board86.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\cbus\board26k.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\common\parts.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\generic\keydisp.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\opngeng.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\opngenc.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\pcm86g.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\pcm86c.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\tms3631g.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\tms3631c.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\psggeng.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\psggenc.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\adpcmg.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\adpcmc.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\rhythmc.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\fmboard.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\fmtimer.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\sound.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\soundrom.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\getsnd\getsmix.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\getsnd\getsnd.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\sound\getsnd\getwave.obj \
|
||||
$(DBX_PATH)\src\hardware\snd_pc98\x11\dosio.obj
|
||||
|
||||
OBJS4 = $(DBX_PATH)\src\ints\bios.obj \
|
||||
$(DBX_PATH)\src\ints\bios_disk.obj \
|
||||
$(DBX_PATH)\src\ints\bios_keyboard.obj \
|
||||
$(DBX_PATH)\src\ints\bios_memdisk.obj \
|
||||
$(DBX_PATH)\src\ints\bios_vhd.obj \
|
||||
$(DBX_PATH)\src\ints\ems.obj \
|
||||
$(DBX_PATH)\src\ints\int10.obj \
|
||||
$(DBX_PATH)\src\ints\int10_char.obj \
|
||||
$(DBX_PATH)\src\ints\int10_memory.obj \
|
||||
$(DBX_PATH)\src\ints\int10_misc.obj \
|
||||
$(DBX_PATH)\src\ints\int10_modes.obj \
|
||||
$(DBX_PATH)\src\ints\int10_pal.obj \
|
||||
$(DBX_PATH)\src\ints\int10_put_pixel.obj \
|
||||
$(DBX_PATH)\src\ints\int10_vesa.obj \
|
||||
$(DBX_PATH)\src\ints\int10_video_state.obj \
|
||||
$(DBX_PATH)\src\ints\int10_vptable.obj \
|
||||
$(DBX_PATH)\src\ints\mouse.obj \
|
||||
$(DBX_PATH)\src\ints\qcow2_disk.obj \
|
||||
$(DBX_PATH)\src\ints\xms.obj \
|
||||
$(DBX_PATH)\src\libs\gui_tk\gui_tk.obj \
|
||||
$(DBX_PATH)\src\misc\cross.obj \
|
||||
$(DBX_PATH)\src\misc\messages.obj \
|
||||
$(DBX_PATH)\src\misc\programs.obj \
|
||||
$(DBX_PATH)\src\misc\regionalloctracking.obj \
|
||||
$(DBX_PATH)\src\misc\setup.obj \
|
||||
$(DBX_PATH)\src\misc\shiftjis.obj \
|
||||
$(DBX_PATH)\src\misc\support.obj \
|
||||
$(DBX_PATH)\src\shell\shell.obj \
|
||||
$(DBX_PATH)\src\shell\shell_batch.obj \
|
||||
$(DBX_PATH)\src\shell\shell_cmds.obj \
|
||||
$(DBX_PATH)\src\shell\shell_misc.obj \
|
||||
$(DBX_PATH)\src\winres.res
|
||||
|
||||
OBJS_MT32 = $(DBX_PATH)\src\mt32\AReverbModel.obj \
|
||||
$(DBX_PATH)\src\mt32\BReverbModel.obj \
|
||||
$(DBX_PATH)\src\mt32\DelayReverb.obj \
|
||||
$(DBX_PATH)\src\mt32\File.obj \
|
||||
$(DBX_PATH)\src\mt32\FileStream.obj \
|
||||
$(DBX_PATH)\src\mt32\FreeverbModel.obj \
|
||||
$(DBX_PATH)\src\mt32\LA32Ramp.obj \
|
||||
$(DBX_PATH)\src\mt32\LA32WaveGenerator.obj \
|
||||
$(DBX_PATH)\src\mt32\LegacyWaveGenerator.obj \
|
||||
$(DBX_PATH)\src\mt32\Part.obj \
|
||||
$(DBX_PATH)\src\mt32\Partial.obj \
|
||||
$(DBX_PATH)\src\mt32\PartialManager.obj \
|
||||
$(DBX_PATH)\src\mt32\Poly.obj \
|
||||
$(DBX_PATH)\src\mt32\ROMInfo.obj \
|
||||
$(DBX_PATH)\src\mt32\Synth.obj \
|
||||
$(DBX_PATH)\src\mt32\Tables.obj \
|
||||
$(DBX_PATH)\src\mt32\TVA.obj \
|
||||
$(DBX_PATH)\src\mt32\TVF.obj \
|
||||
$(DBX_PATH)\src\mt32\TVP.obj \
|
||||
$(DBX_PATH)\src\mt32\freeverb\allpass.obj \
|
||||
$(DBX_PATH)\src\mt32\freeverb\comb.obj \
|
||||
$(DBX_PATH)\src\mt32\freeverb\revmodel.obj \
|
||||
$(DBX_PATH)\src\mt32\sha1\sha1.obj
|
||||
|
||||
OBJS4 = $(OBJS4) $(OBJS_MT32)
|
||||
CXXFLAGS = $(CXXFLAGS) -I$(DBX_PATH)/src/mt32
|
||||
|
||||
LIBS = kernel32.lib user32.lib gdi32.lib imm32.lib winmm.lib dxguid.lib shell32.lib ole32.lib comdlg32.lib opengl32.lib advapi32.lib ws2_32.lib deps\sdl.lib deps\sdlmain.lib deps\z.lib deps\png.lib deps\pdcurses.lib
|
||||
|
||||
!IFDEF LTCG
|
||||
CXXFLAGS = $(CXXFLAGS) -GL
|
||||
CFLAGS = $(CFLAGS) -GL
|
||||
LFLAGS = $(LFLAGS) -LTCG
|
||||
!ENDIF
|
||||
|
||||
!IFDEF D3D9
|
||||
CXXFLAGS = -DHAVE_D3D9_H=1 $(CXXFLAGS)
|
||||
!ENDIF
|
||||
|
||||
.SUFFIXES: .c.o
|
||||
.SUFFIXES: .cpp.o
|
||||
|
||||
all: $(TARGET) $(SDLMAIN)
|
||||
|
||||
$(TARGET): $(OBJS) $(OBJS2) $(OBJS3) $(OBJS4)
|
||||
$(LD) $(LFLAGS) -OUT:$@ $(OBJS) $(OBJS2) $(OBJS3) $(OBJS4) $(LIBS)
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -Fo$@ $<
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) -c -Fo$@ $<
|
||||
|
||||
.rc.res:
|
||||
$(WINDRES) -fo $@ $<
|
||||
|
||||
clean:
|
||||
del $(TARGET) $(OBJS)
|
||||
del $(OBJS2)
|
||||
del $(OBJS3)
|
||||
del $(OBJS4)
|
||||
del *.lib *.exp
|
1
ref-nmake/unistd.h
Normal file
1
ref-nmake/unistd.h
Normal file
@@ -0,0 +1 @@
|
||||
/* empty */
|
Reference in New Issue
Block a user