mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
added FreeBSD support
This commit is contained in:
parent
b2445488a4
commit
7d526ba6fc
43 changed files with 3007 additions and 1840 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -9,7 +9,7 @@
|
|||
code/qcommon/git.h
|
||||
code/win32/winquake.res
|
||||
code/renderer/hlsl/*.h
|
||||
makefiles/vs*/*sdf
|
||||
makefiles/windows_vs*/*sdf
|
||||
makefiles/*/obj
|
||||
.build
|
||||
.bin
|
||||
|
|
25
Makefile
25
Makefile
|
@ -1,7 +1,16 @@
|
|||
.NOTPARALLEL:
|
||||
|
||||
host_os := $(shell uname -s)
|
||||
ifeq ($(host_os), FreeBSD)
|
||||
make_dir := ./makefiles/bsd_gmake
|
||||
make_name := gmake
|
||||
else
|
||||
make_dir := ./makefiles/linux_gmake
|
||||
make_name := make
|
||||
endif
|
||||
|
||||
ifndef config
|
||||
config=release_x64
|
||||
config=release
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -11,13 +20,11 @@ endif
|
|||
PROJECTS := server client
|
||||
|
||||
help:
|
||||
@echo "Usage: make [config=name] target"
|
||||
@echo "Usage: $(make_name) [config=name] target"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " debug_x32"
|
||||
@echo " debug_x64"
|
||||
@echo " release_x32"
|
||||
@echo " release_x64 (default)"
|
||||
@echo " release (default)"
|
||||
@echo " debug"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " server"
|
||||
|
@ -35,12 +42,12 @@ help:
|
|||
@echo " that directory as a post-build command."
|
||||
|
||||
server:
|
||||
@${MAKE} --no-print-directory -C ./makefiles/gmake cnq3-server config=$(config)
|
||||
@${MAKE} --no-print-directory -C $(make_dir) cnq3-server config=$(config)_x64
|
||||
|
||||
client:
|
||||
@${MAKE} --no-print-directory -C ./makefiles/gmake cnq3 config=$(config)
|
||||
@${MAKE} --no-print-directory -C $(make_dir) cnq3 config=$(config)_x64
|
||||
|
||||
clean:
|
||||
@${MAKE} --no-print-directory -C ./makefiles/gmake clean config=$(config)
|
||||
@${MAKE} --no-print-directory -C $(make_dir) clean config=$(config)_x64
|
||||
|
||||
all: server client
|
||||
|
|
96
build.md
96
build.md
|
@ -1,94 +1,96 @@
|
|||
Toolchains
|
||||
----------
|
||||
# Building CNQ3
|
||||
|
||||
There are only 2 build toolchains supported:
|
||||
## Toolchains
|
||||
|
||||
- Visual C++ on Windows
|
||||
- GCC on Linux
|
||||
There are 3 supported build toolchains:
|
||||
|
||||
Directories
|
||||
-----------
|
||||
- Visual C++ on Windows x64 and x86
|
||||
- GCC on Linux x64
|
||||
- GCC on FreeBSD x64
|
||||
|
||||
| Directory | Contains |
|
||||
|-----------|----------|
|
||||
## Directories
|
||||
|
||||
| Directory | Contains |
|
||||
|:----------|:--------------------------------------------------------------|
|
||||
| makefiles | premake script and pre-generated Visual C++ and GNU makefiles |
|
||||
| .build | intermediate build files |
|
||||
| .bin | final executables (and symbol database files on Windows) |
|
||||
| .build | intermediate build files |
|
||||
| .bin | final executables (and symbol database files on Windows) |
|
||||
|
||||
Building on Windows with Visual C++ 2013 or later
|
||||
-------------------------------------------------
|
||||
## Building on Windows with Visual C++ 2013 or later
|
||||
|
||||
Requirements:
|
||||
**Requirements**
|
||||
|
||||
- The %QUAKE3DIR% environment variable must be defined to the absolute path to copy the .exe and .pdb files to
|
||||
- NASM.exe is in your path for building the client
|
||||
|
||||
Options:
|
||||
**Options**
|
||||
|
||||
- The %CPMADIR% environment variable must be defined to the name of the mod directory for launching through the debugger
|
||||
|
||||
Build steps:
|
||||
**Build steps**
|
||||
|
||||
- Open makefiles\vs2013\cnq3.sln
|
||||
- Open makefiles\windows_vs2013\cnq3.sln
|
||||
- Build
|
||||
|
||||
Notes:
|
||||
You don't need to set environment variables globally.
|
||||
Instead, we recomment you set them for the Visual Studio process only.
|
||||
**Notes**
|
||||
|
||||
- You don't need to set environment variables globally
|
||||
- Instead, we recomment you set them for the Visual Studio process only
|
||||
|
||||
Here's an example batch script for opening the Visual Studio solution:
|
||||
```
|
||||
cd cnq3\makefiles\vs2013
|
||||
cd cnq3\makefiles\windows_vs2013
|
||||
set QUAKE3DIR=G:\CPMA_tests
|
||||
set CPMADIR=cpma_dev
|
||||
cnq3.sln
|
||||
```
|
||||
With this set-up, you can press F5 and run the engine on the right q3 install and right mod folder immediately.
|
||||
|
||||
Building on Linux with GCC
|
||||
--------------------------
|
||||
## Building on Linux / FreeBSD with GCC
|
||||
|
||||
Requirements:
|
||||
**Requirements**
|
||||
|
||||
| Name | Server | Client | Package name (apt-get) |
|
||||
|-------|:------:|:------:|------------------------|
|
||||
| NASM | X | X | nasm |
|
||||
| SDL 2 | | X | libsdl2-dev |
|
||||
| Name | Server | Client | Debian package | FreeBSD package |
|
||||
|:------|:------:|:------:|:---------------|:----------------|
|
||||
| NASM | X | X | nasm | nasm |
|
||||
| SDL 2 | | X | libsdl2-dev | sdl2 |
|
||||
|
||||
Options:
|
||||
On FreeBSD, we link against libexecinfo for the backtrace functions. We thus require FreeBSD 10.0 as a minimum target.
|
||||
|
||||
**Options**
|
||||
|
||||
- The $(QUAKE3DIR) environment variable can define the absolute path to copy the executables to
|
||||
|
||||
Build steps:
|
||||
**Build steps**
|
||||
|
||||
- Navigate to the root of the repository
|
||||
- Run `make all|client|server` to build
|
||||
- Run `make [config=debug|release] all|client|server` to build on Linux
|
||||
For FreeBSD, use `gmake` instead of `make`
|
||||
|
||||
Notes:
|
||||
To create the QUAKE3DIR variable in the build shell, you can use `export QUAKE3DIR=~/games/q3`.
|
||||
To delete the variable from the build shell, you can use `unset QUAKE3DIR`.
|
||||
**Notes**
|
||||
|
||||
Environment variables
|
||||
---------------------
|
||||
- To create the QUAKE3DIR variable in the build shell, you can use `export QUAKE3DIR=~/games/q3`.
|
||||
- To delete the variable from the build shell, you can use `unset QUAKE3DIR`.
|
||||
|
||||
## Environment variables
|
||||
|
||||
There are 2 environment variables used for compiling and debugging:
|
||||
|
||||
| Env. Var. | Meaning | Example |
|
||||
|-----------| --------|---------|
|
||||
| Env. Var. | Meaning | Example |
|
||||
|:----------|:------------------------|:------------|
|
||||
| QUAKE3DIR | absolute directory path | C:\Games\Q3 |
|
||||
| CPMADIR | mod folder name | cpma |
|
||||
| CPMADIR | mod folder name | cpma |
|
||||
|
||||
| | Windows | Linux |
|
||||
|-----------|------------------------|----------|
|
||||
| QUAKE3DIR | required for building | optional |
|
||||
| CPMADIR | required for debugging | unused |
|
||||
| Env. Var. | Windows | Linux / FreeBSD |
|
||||
|:----------|:-----------------------|:----------------|
|
||||
| QUAKE3DIR | required for building | optional |
|
||||
| CPMADIR | required for debugging | unused |
|
||||
|
||||
Building with other compilers
|
||||
-----------------------------
|
||||
## Building with other compilers
|
||||
|
||||
While it's not officially supported, you can modify the premake Lua script and run premake on it to generate new makefiles for your own needs.
|
||||
|
||||
Bonus: Building SDL 2 from source on Linux
|
||||
------------------------------------------
|
||||
## Bonus: Building SDL 2 from source on Linux
|
||||
|
||||
- Download the sources of the latest stable release
|
||||
- Extract to sdl-src
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
DD Mmm 19 - 1.52
|
||||
DD Mmm 20 - 1.52
|
||||
|
||||
add: r_backend <GL2|GL3|D3D11> (default: D3D11 on Windows, GL3 on Linux) selects the rendering back-end
|
||||
add: FreeBSD x64 support
|
||||
|
||||
add: r_backend <GL2|GL3|D3D11> (default: D3D11 on Windows, GL3 otherwise) selects the rendering back-end
|
||||
GL2 - OpenGL 2.0 minimum, OpenGL 3+ features used for r_msaa
|
||||
GL3 - OpenGL 3.2 minimum, OpenGL 4+ features used for faster geometry upload, compute shaders, etc
|
||||
D3D11 - Direct3D 11 hardware feature level 10.1 minimum, feature level 11.0 for compute shaders
|
||||
|
@ -66,7 +68,7 @@ add: r_d3d11_syncOffsets <0|1|2> (default: 2) synchronizes vertex buffer offsets
|
|||
r_d3d11_syncOffsets 1 = sync'd buffer offsets (more API calls)
|
||||
r_d3d11_syncOffsets 2 = decide automatically
|
||||
|
||||
add: r_d3d11_maxQueuedFrames <1 to 16> (default: 3) set the maximum pre-rendered frame count
|
||||
add: r_d3d11_maxQueuedFrames <1 to 16> (default: 3) sets the maximum pre-rendered frame count
|
||||
|
||||
add: r_khr_debug <0|1|2> (default: 2) decides whether to create an OpenGL debug context
|
||||
r_khr_debug 0 = forced OFF
|
||||
|
@ -116,7 +118,7 @@ fix: incorrect shader state when loading a map with no lighting
|
|||
|
||||
fix: fog-only non-sky shaders were incorrectly handled as sky shaders, which broke fog on many maps
|
||||
|
||||
fix: r_monitor on Linux is now 0-based and the value doesn't change incorrectly on its own anymore
|
||||
fix: r_monitor on Linux/FreeBSD is now 0-based and the value doesn't change incorrectly on its own anymore
|
||||
|
||||
fix: when a latched cvar's value is set to its default, the cvar is no longer marked as changed
|
||||
|
||||
|
|
|
@ -2363,7 +2363,7 @@ int PC_Directive_eval(source_t *source)
|
|||
token.whitespace_p = source->scriptstack->script_p;
|
||||
token.endwhitespace_p = source->scriptstack->script_p;
|
||||
token.linescrossed = 0;
|
||||
sprintf(token.string, "%d", abs(value));
|
||||
sprintf(token.string, "%d", (int)abs(value));
|
||||
token.type = TT_NUMBER;
|
||||
token.subtype = TT_INTEGER|TT_LONG|TT_DECIMAL;
|
||||
PC_UnreadSourceToken(source, &token);
|
||||
|
@ -2468,7 +2468,7 @@ int PC_DollarDirective_evalint(source_t *source)
|
|||
token.whitespace_p = source->scriptstack->script_p;
|
||||
token.endwhitespace_p = source->scriptstack->script_p;
|
||||
token.linescrossed = 0;
|
||||
sprintf(token.string, "%d", abs(value));
|
||||
sprintf(token.string, "%d", (int)abs(value));
|
||||
token.type = TT_NUMBER;
|
||||
token.subtype = TT_INTEGER|TT_LONG|TT_DECIMAL;
|
||||
#ifdef NUMBERVALUE
|
||||
|
|
|
@ -193,7 +193,7 @@ static void PrintSocketError( mapDownload_t* dl, const char* functionName, int e
|
|||
#else
|
||||
static void PrintSocketError( mapDownload_t* dl, const char* functionName, int ec )
|
||||
{
|
||||
#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE
|
||||
#if defined(__FreeBSD__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE)
|
||||
// XSI strerror_r
|
||||
const int serec = strerror_r(ec, dl->tempMessage2, sizeof(dl->tempMessage2));
|
||||
const char* const errorMsg = dl->tempMessage2;
|
||||
|
|
|
@ -24,10 +24,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include <dlfcn.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#if defined(__linux__)
|
||||
#include <sys/sysinfo.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <sys/user.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
|
@ -281,6 +286,8 @@ static const char* Lin_GetExeName(const char* path)
|
|||
|
||||
void Lin_TrackParentProcess()
|
||||
{
|
||||
#if defined(__linux__)
|
||||
|
||||
static char cmdLine[1024];
|
||||
|
||||
char fileName[128];
|
||||
|
@ -298,6 +305,24 @@ void Lin_TrackParentProcess()
|
|||
|
||||
cmdLine[sizeof(cmdLine) - 1] = '\0';
|
||||
lin_hasParent = strcmp(Lin_GetExeName(cmdLine), Lin_GetExeName(q_argv[0])) == 0;
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
static char cmdLine[1024];
|
||||
|
||||
int mib[4];
|
||||
mib[0] = CTL_KERN;
|
||||
mib[1] = KERN_PROC;
|
||||
mib[2] = KERN_PROC_ARGS;
|
||||
mib[3] = getppid();
|
||||
size_t length = sizeof(cmdLine);
|
||||
if (sysctl(mib, 4, cmdLine, &length, NULL, 0) != 0)
|
||||
return;
|
||||
|
||||
cmdLine[sizeof(cmdLine) - 1] = '\0';
|
||||
lin_hasParent = strcmp(Lin_GetExeName(cmdLine), Lin_GetExeName(q_argv[0])) == 0;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -309,6 +334,8 @@ qbool Sys_HasCNQ3Parent()
|
|||
|
||||
static int Sys_GetProcessUptime( pid_t pid )
|
||||
{
|
||||
#if defined(__linux__)
|
||||
|
||||
// length must be in sync with the fscanf call!
|
||||
static char word[256];
|
||||
|
||||
|
@ -344,6 +371,30 @@ static int Sys_GetProcessUptime( pid_t pid )
|
|||
const int64_t uptime = (int64_t)info.uptime - secondsSinceBoot;
|
||||
|
||||
return (int)uptime;
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
int mib[4];
|
||||
mib[0] = CTL_KERN;
|
||||
mib[1] = KERN_PROC;
|
||||
mib[2] = KERN_PROC_PID;
|
||||
mib[3] = pid;
|
||||
struct kinfo_proc kp;
|
||||
size_t len = sizeof(kp);
|
||||
if (sysctl(mib, 4, &kp, &len, NULL, 0) != 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
struct timeval now;
|
||||
gettimeofday(&now, NULL);
|
||||
|
||||
return (int)(now.tv_sec - kp.ki_start.tv_sec);
|
||||
|
||||
#else
|
||||
|
||||
return -1;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -581,8 +632,8 @@ const char* Sys_DefaultHomePath()
|
|||
if (*homePath)
|
||||
return homePath;
|
||||
|
||||
const char* p;
|
||||
if (p = getenv("HOME")) {
|
||||
const char* const p = getenv("HOME");
|
||||
if (p != NULL) {
|
||||
Q_strncpyz(homePath, p, sizeof(homePath));
|
||||
#ifdef MACOS_X
|
||||
Q_strcat(homePath, sizeof(homePath), "/Library/Application Support/Quake3");
|
||||
|
|
|
@ -240,7 +240,7 @@ void Crash_PrintToFile(const char* engineFilePath)
|
|||
}
|
||||
|
||||
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -49,6 +49,6 @@ void Crash_SaveQVMGitString(const char* varName, const char* varValue);
|
|||
void Crash_SaveModName(const char* modName);
|
||||
void Crash_SaveModVersion(const char* modVersion);
|
||||
void Crash_PrintToFile(const char* engineFilePath);
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
void Crash_PrintVMStackTracesASS(int fd); // async-signal-safe
|
||||
#endif
|
||||
|
|
|
@ -901,7 +901,7 @@ static void Cvar_Nuke( cvar_t* var )
|
|||
|
||||
// clear the var completely, since we
|
||||
// can't remove the index from the list
|
||||
Com_Memset( var, 0, sizeof( var ) );
|
||||
Com_Memset( var, 0, sizeof( *var ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@ static void MD5Final(struct MD5Context *ctx, unsigned char *digest)
|
|||
|
||||
if (digest!=NULL)
|
||||
memcpy(digest, ctx->buf, 16);
|
||||
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
|
||||
memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -128,10 +128,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define ID_INLINE inline
|
||||
#define PATH_SEP '/'
|
||||
|
||||
#if defined __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#elif defined __x86_64__
|
||||
#define ARCH_STRING "x86_64"
|
||||
#if defined( __i386__ ) || defined( __i386 )
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined( __amd64__ ) || defined( __amd64 ) || defined( __x86_64__ ) || defined( __x86_64 )
|
||||
#define ARCH_STRING "x64"
|
||||
#elif defined __powerpc64__
|
||||
#define ARCH_STRING "ppc64"
|
||||
#elif defined __powerpc__
|
||||
|
@ -178,10 +178,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define ID_INLINE inline
|
||||
#define PATH_SEP '/'
|
||||
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#elif defined __axp__
|
||||
#define ARCH_STRING "alpha"
|
||||
#if defined( __i386__ ) || defined( __i386 )
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined( __amd64__ ) || defined( __amd64 ) || defined( __x86_64__ ) || defined( __x86_64 )
|
||||
#define ARCH_STRING "x64"
|
||||
#endif
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
|
|
|
@ -164,13 +164,12 @@ typedef int clipHandle_t;
|
|||
#define PADLEN(base, alignment) (PAD((base), (alignment)) - (base))
|
||||
#define PADP(base, alignment) ((void *) PAD((intptr_t) (base), (alignment)))
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define ALIGN(x) __declspec( align(x) )
|
||||
// fuck it, im sick of gcc's arbitrary stupidities
|
||||
//#elif defined(__GNUC__)
|
||||
// #define ALIGN(x) __align(x)
|
||||
#else
|
||||
#define ALIGN(x)
|
||||
#if !defined(ALIGN)
|
||||
#if defined(_MSC_VER)
|
||||
#define ALIGN(x) __declspec( align(x) )
|
||||
#else
|
||||
#define ALIGN(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ARRAY_LEN(x) (sizeof(x) / sizeof(*(x)))
|
||||
|
|
|
@ -3,21 +3,13 @@
|
|||
.NOTPARALLEL:
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
cnq3_config = debug_x32
|
||||
cnq3_server_config = debug_x32
|
||||
botlib_config = debug_x32
|
||||
glew_config = debug_x32
|
||||
renderer_config = debug_x32
|
||||
libjpeg_turbo_config = debug_x32
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
cnq3_config = debug_x64
|
||||
cnq3_server_config = debug_x64
|
||||
|
@ -26,14 +18,6 @@ ifeq ($(config),debug_x64)
|
|||
renderer_config = debug_x64
|
||||
libjpeg_turbo_config = debug_x64
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
cnq3_config = release_x32
|
||||
cnq3_server_config = release_x32
|
||||
botlib_config = release_x32
|
||||
glew_config = release_x32
|
||||
renderer_config = release_x32
|
||||
libjpeg_turbo_config = release_x32
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
cnq3_config = release_x64
|
||||
cnq3_server_config = release_x64
|
||||
|
@ -97,9 +81,7 @@ help:
|
|||
@echo "Usage: make [config=name] [target]"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " debug_x32"
|
||||
@echo " debug_x64"
|
||||
@echo " release_x32"
|
||||
@echo " release_x64"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
|
@ -1,7 +1,7 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -10,33 +10,6 @@ endif
|
|||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x32
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = ../../.build/debug_x32/botlib
|
||||
DEFINES += -DBOTLIB -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
|
@ -64,33 +37,6 @@ all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
|||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x32
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = ../../.build/release_x32/botlib
|
||||
DEFINES += -DBOTLIB -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
285
makefiles/bsd_gmake/cnq3-server.make
Normal file
285
makefiles/bsd_gmake/cnq3-server.make
Normal file
|
@ -0,0 +1,285 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x64
|
||||
OBJDIR = ../../.build/debug_x64/cnq3-server
|
||||
DEFINES += -DDEDICATED -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/debug_x64/libbotlib.a -ldl -lm -lexecinfo
|
||||
LDDEPS += ../../.build/debug_x64/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/debug_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x64
|
||||
OBJDIR = ../../.build/release_x64/cnq3-server
|
||||
DEFINES += -DDEDICATED -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/release_x64/libbotlib.a -ldl -lm -lexecinfo
|
||||
LDDEPS += ../../.build/release_x64/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/release_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/linux_main.o \
|
||||
$(OBJDIR)/linux_shared.o \
|
||||
$(OBJDIR)/linux_signals.o \
|
||||
$(OBJDIR)/linux_tty.o \
|
||||
$(OBJDIR)/cm_load.o \
|
||||
$(OBJDIR)/cm_patch.o \
|
||||
$(OBJDIR)/cm_polylib.o \
|
||||
$(OBJDIR)/cm_test.o \
|
||||
$(OBJDIR)/cm_trace.o \
|
||||
$(OBJDIR)/cmd.o \
|
||||
$(OBJDIR)/common.o \
|
||||
$(OBJDIR)/crash.o \
|
||||
$(OBJDIR)/cvar.o \
|
||||
$(OBJDIR)/files.o \
|
||||
$(OBJDIR)/huffman.o \
|
||||
$(OBJDIR)/huffman_static.o \
|
||||
$(OBJDIR)/json.o \
|
||||
$(OBJDIR)/md4.o \
|
||||
$(OBJDIR)/md5.o \
|
||||
$(OBJDIR)/msg.o \
|
||||
$(OBJDIR)/net_chan.o \
|
||||
$(OBJDIR)/net_ip.o \
|
||||
$(OBJDIR)/q_math.o \
|
||||
$(OBJDIR)/q_shared.o \
|
||||
$(OBJDIR)/unzip.o \
|
||||
$(OBJDIR)/vm.o \
|
||||
$(OBJDIR)/vm_interpreted.o \
|
||||
$(OBJDIR)/vm_x86.o \
|
||||
$(OBJDIR)/sv_bot.o \
|
||||
$(OBJDIR)/sv_ccmds.o \
|
||||
$(OBJDIR)/sv_client.o \
|
||||
$(OBJDIR)/sv_game.o \
|
||||
$(OBJDIR)/sv_init.o \
|
||||
$(OBJDIR)/sv_main.o \
|
||||
$(OBJDIR)/sv_net_chan.o \
|
||||
$(OBJDIR)/sv_snapshot.o \
|
||||
$(OBJDIR)/sv_world.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking cnq3-server
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning cnq3-server
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/linux_main.o: ../../code/linux/linux_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_shared.o: ../../code/linux/linux_shared.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_signals.o: ../../code/linux/linux_signals.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_tty.o: ../../code/linux/linux_tty.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_load.o: ../../code/qcommon/cm_load.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_patch.o: ../../code/qcommon/cm_patch.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_polylib.o: ../../code/qcommon/cm_polylib.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_test.o: ../../code/qcommon/cm_test.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_trace.o: ../../code/qcommon/cm_trace.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cmd.o: ../../code/qcommon/cmd.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/common.o: ../../code/qcommon/common.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/crash.o: ../../code/qcommon/crash.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cvar.o: ../../code/qcommon/cvar.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/files.o: ../../code/qcommon/files.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/huffman.o: ../../code/qcommon/huffman.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/huffman_static.o: ../../code/qcommon/huffman_static.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/json.o: ../../code/qcommon/json.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/md4.o: ../../code/qcommon/md4.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/md5.o: ../../code/qcommon/md5.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/msg.o: ../../code/qcommon/msg.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/net_chan.o: ../../code/qcommon/net_chan.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/net_ip.o: ../../code/qcommon/net_ip.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/q_math.o: ../../code/qcommon/q_math.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/q_shared.o: ../../code/qcommon/q_shared.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/unzip.o: ../../code/qcommon/unzip.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm.o: ../../code/qcommon/vm.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm_interpreted.o: ../../code/qcommon/vm_interpreted.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm_x86.o: ../../code/qcommon/vm_x86.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_bot.o: ../../code/server/sv_bot.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_ccmds.o: ../../code/server/sv_ccmds.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_client.o: ../../code/server/sv_client.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_game.o: ../../code/server/sv_game.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_init.o: ../../code/server/sv_init.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_main.o: ../../code/server/sv_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_net_chan.o: ../../code/server/sv_net_chan.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_snapshot.o: ../../code/server/sv_snapshot.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_world.o: ../../code/server/sv_world.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
377
makefiles/bsd_gmake/cnq3.make
Normal file
377
makefiles/bsd_gmake/cnq3.make
Normal file
|
@ -0,0 +1,377 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-x64
|
||||
OBJDIR = ../../.build/debug_x64/cnq3
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/debug_x64/libbotlib.a ../../.build/debug_x64/librenderer.a ../../.build/debug_x64/libglew.a ../../.build/debug_x64/liblibjpeg-turbo.a -ldl -lm -lSDL2 -lGL -lexecinfo
|
||||
LDDEPS += ../../.build/debug_x64/libbotlib.a ../../.build/debug_x64/librenderer.a ../../.build/debug_x64/libglew.a ../../.build/debug_x64/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L/usr/local/lib -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/debug_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-x64
|
||||
OBJDIR = ../../.build/release_x64/cnq3
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/release_x64/libbotlib.a ../../.build/release_x64/librenderer.a ../../.build/release_x64/libglew.a ../../.build/release_x64/liblibjpeg-turbo.a -ldl -lm -lSDL2 -lGL -lexecinfo
|
||||
LDDEPS += ../../.build/release_x64/libbotlib.a ../../.build/release_x64/librenderer.a ../../.build/release_x64/libglew.a ../../.build/release_x64/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L/usr/local/lib -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/release_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/cl_avi.o \
|
||||
$(OBJDIR)/cl_browser.o \
|
||||
$(OBJDIR)/cl_cgame.o \
|
||||
$(OBJDIR)/cl_cin.o \
|
||||
$(OBJDIR)/cl_console.o \
|
||||
$(OBJDIR)/cl_download.o \
|
||||
$(OBJDIR)/cl_gl.o \
|
||||
$(OBJDIR)/cl_input.o \
|
||||
$(OBJDIR)/cl_keys.o \
|
||||
$(OBJDIR)/cl_main.o \
|
||||
$(OBJDIR)/cl_net_chan.o \
|
||||
$(OBJDIR)/cl_parse.o \
|
||||
$(OBJDIR)/cl_scrn.o \
|
||||
$(OBJDIR)/cl_ui.o \
|
||||
$(OBJDIR)/snd_codec.o \
|
||||
$(OBJDIR)/snd_codec_wav.o \
|
||||
$(OBJDIR)/snd_dma.o \
|
||||
$(OBJDIR)/snd_main.o \
|
||||
$(OBJDIR)/snd_mem.o \
|
||||
$(OBJDIR)/snd_mix.o \
|
||||
$(OBJDIR)/linux_main.o \
|
||||
$(OBJDIR)/linux_shared.o \
|
||||
$(OBJDIR)/linux_signals.o \
|
||||
$(OBJDIR)/linux_tty.o \
|
||||
$(OBJDIR)/sdl_core.o \
|
||||
$(OBJDIR)/sdl_glimp.o \
|
||||
$(OBJDIR)/sdl_snd.o \
|
||||
$(OBJDIR)/cm_load.o \
|
||||
$(OBJDIR)/cm_patch.o \
|
||||
$(OBJDIR)/cm_polylib.o \
|
||||
$(OBJDIR)/cm_test.o \
|
||||
$(OBJDIR)/cm_trace.o \
|
||||
$(OBJDIR)/cmd.o \
|
||||
$(OBJDIR)/common.o \
|
||||
$(OBJDIR)/crash.o \
|
||||
$(OBJDIR)/cvar.o \
|
||||
$(OBJDIR)/files.o \
|
||||
$(OBJDIR)/huffman.o \
|
||||
$(OBJDIR)/huffman_static.o \
|
||||
$(OBJDIR)/json.o \
|
||||
$(OBJDIR)/md4.o \
|
||||
$(OBJDIR)/md5.o \
|
||||
$(OBJDIR)/msg.o \
|
||||
$(OBJDIR)/net_chan.o \
|
||||
$(OBJDIR)/net_ip.o \
|
||||
$(OBJDIR)/q_math.o \
|
||||
$(OBJDIR)/q_shared.o \
|
||||
$(OBJDIR)/unzip.o \
|
||||
$(OBJDIR)/vm.o \
|
||||
$(OBJDIR)/vm_interpreted.o \
|
||||
$(OBJDIR)/vm_x86.o \
|
||||
$(OBJDIR)/sv_bot.o \
|
||||
$(OBJDIR)/sv_ccmds.o \
|
||||
$(OBJDIR)/sv_client.o \
|
||||
$(OBJDIR)/sv_game.o \
|
||||
$(OBJDIR)/sv_init.o \
|
||||
$(OBJDIR)/sv_main.o \
|
||||
$(OBJDIR)/sv_net_chan.o \
|
||||
$(OBJDIR)/sv_snapshot.o \
|
||||
$(OBJDIR)/sv_world.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking cnq3
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning cnq3
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/cl_avi.o: ../../code/client/cl_avi.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_browser.o: ../../code/client/cl_browser.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_cgame.o: ../../code/client/cl_cgame.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_cin.o: ../../code/client/cl_cin.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_console.o: ../../code/client/cl_console.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_download.o: ../../code/client/cl_download.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_gl.o: ../../code/client/cl_gl.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_input.o: ../../code/client/cl_input.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_keys.o: ../../code/client/cl_keys.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_main.o: ../../code/client/cl_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_net_chan.o: ../../code/client/cl_net_chan.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_parse.o: ../../code/client/cl_parse.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_scrn.o: ../../code/client/cl_scrn.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cl_ui.o: ../../code/client/cl_ui.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_codec.o: ../../code/client/snd_codec.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_codec_wav.o: ../../code/client/snd_codec_wav.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_dma.o: ../../code/client/snd_dma.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_main.o: ../../code/client/snd_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_mem.o: ../../code/client/snd_mem.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/snd_mix.o: ../../code/client/snd_mix.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_main.o: ../../code/linux/linux_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_shared.o: ../../code/linux/linux_shared.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_signals.o: ../../code/linux/linux_signals.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/linux_tty.o: ../../code/linux/linux_tty.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sdl_core.o: ../../code/linux/sdl_core.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sdl_glimp.o: ../../code/linux/sdl_glimp.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sdl_snd.o: ../../code/linux/sdl_snd.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_load.o: ../../code/qcommon/cm_load.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_patch.o: ../../code/qcommon/cm_patch.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_polylib.o: ../../code/qcommon/cm_polylib.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_test.o: ../../code/qcommon/cm_test.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cm_trace.o: ../../code/qcommon/cm_trace.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cmd.o: ../../code/qcommon/cmd.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/common.o: ../../code/qcommon/common.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/crash.o: ../../code/qcommon/crash.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/cvar.o: ../../code/qcommon/cvar.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/files.o: ../../code/qcommon/files.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/huffman.o: ../../code/qcommon/huffman.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/huffman_static.o: ../../code/qcommon/huffman_static.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/json.o: ../../code/qcommon/json.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/md4.o: ../../code/qcommon/md4.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/md5.o: ../../code/qcommon/md5.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/msg.o: ../../code/qcommon/msg.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/net_chan.o: ../../code/qcommon/net_chan.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/net_ip.o: ../../code/qcommon/net_ip.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/q_math.o: ../../code/qcommon/q_math.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/q_shared.o: ../../code/qcommon/q_shared.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/unzip.o: ../../code/qcommon/unzip.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm.o: ../../code/qcommon/vm.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm_interpreted.o: ../../code/qcommon/vm_interpreted.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/vm_x86.o: ../../code/qcommon/vm_x86.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_bot.o: ../../code/server/sv_bot.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_ccmds.o: ../../code/server/sv_ccmds.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_client.o: ../../code/server/sv_client.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_game.o: ../../code/server/sv_game.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_init.o: ../../code/server/sv_init.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_main.o: ../../code/server/sv_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_net_chan.o: ../../code/server/sv_net_chan.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_snapshot.o: ../../code/server/sv_snapshot.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/sv_world.o: ../../code/server/sv_world.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
133
makefiles/bsd_gmake/glew.make
Normal file
133
makefiles/bsd_gmake/glew.make
Normal file
|
@ -0,0 +1,133 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/libglew.a
|
||||
OBJDIR = ../../.build/debug_x64/glew
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/libglew.a
|
||||
OBJDIR = ../../.build/release_x64/glew
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/glew.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking glew
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning glew
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/glew.o: ../../code/glew/glew.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
515
makefiles/bsd_gmake/libjpeg-turbo.make
Normal file
515
makefiles/bsd_gmake/libjpeg-turbo.make
Normal file
|
@ -0,0 +1,515 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/debug_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/release_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DNDEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/jcapimin.o \
|
||||
$(OBJDIR)/jcapistd.o \
|
||||
$(OBJDIR)/jccoefct.o \
|
||||
$(OBJDIR)/jccolor.o \
|
||||
$(OBJDIR)/jcdctmgr.o \
|
||||
$(OBJDIR)/jchuff.o \
|
||||
$(OBJDIR)/jcinit.o \
|
||||
$(OBJDIR)/jcmainct.o \
|
||||
$(OBJDIR)/jcmarker.o \
|
||||
$(OBJDIR)/jcmaster.o \
|
||||
$(OBJDIR)/jcomapi.o \
|
||||
$(OBJDIR)/jcparam.o \
|
||||
$(OBJDIR)/jcphuff.o \
|
||||
$(OBJDIR)/jcprepct.o \
|
||||
$(OBJDIR)/jcsample.o \
|
||||
$(OBJDIR)/jctrans.o \
|
||||
$(OBJDIR)/jdapimin.o \
|
||||
$(OBJDIR)/jdapistd.o \
|
||||
$(OBJDIR)/jdatadst.o \
|
||||
$(OBJDIR)/jdatasrc.o \
|
||||
$(OBJDIR)/jdcoefct.o \
|
||||
$(OBJDIR)/jdcolor.o \
|
||||
$(OBJDIR)/jddctmgr.o \
|
||||
$(OBJDIR)/jdhuff.o \
|
||||
$(OBJDIR)/jdinput.o \
|
||||
$(OBJDIR)/jdmainct.o \
|
||||
$(OBJDIR)/jdmarker.o \
|
||||
$(OBJDIR)/jdmaster.o \
|
||||
$(OBJDIR)/jdmerge.o \
|
||||
$(OBJDIR)/jdphuff.o \
|
||||
$(OBJDIR)/jdpostct.o \
|
||||
$(OBJDIR)/jdsample.o \
|
||||
$(OBJDIR)/jdtrans.o \
|
||||
$(OBJDIR)/jerror.o \
|
||||
$(OBJDIR)/jfdctflt.o \
|
||||
$(OBJDIR)/jfdctfst.o \
|
||||
$(OBJDIR)/jfdctint.o \
|
||||
$(OBJDIR)/jidctflt.o \
|
||||
$(OBJDIR)/jidctfst.o \
|
||||
$(OBJDIR)/jidctint.o \
|
||||
$(OBJDIR)/jidctred.o \
|
||||
$(OBJDIR)/jmemmgr.o \
|
||||
$(OBJDIR)/jquant1.o \
|
||||
$(OBJDIR)/jquant2.o \
|
||||
$(OBJDIR)/jutils.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
OBJECTS += \
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
OBJECTS += \
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
|
||||
endif
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking libjpeg-turbo
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning libjpeg-turbo
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/jcapimin.o: ../../code/libjpeg-turbo/jcapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcapistd.o: ../../code/libjpeg-turbo/jcapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccoefct.o: ../../code/libjpeg-turbo/jccoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccolor.o: ../../code/libjpeg-turbo/jccolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcdctmgr.o: ../../code/libjpeg-turbo/jcdctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jchuff.o: ../../code/libjpeg-turbo/jchuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcinit.o: ../../code/libjpeg-turbo/jcinit.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmainct.o: ../../code/libjpeg-turbo/jcmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmarker.o: ../../code/libjpeg-turbo/jcmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmaster.o: ../../code/libjpeg-turbo/jcmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcomapi.o: ../../code/libjpeg-turbo/jcomapi.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcparam.o: ../../code/libjpeg-turbo/jcparam.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcphuff.o: ../../code/libjpeg-turbo/jcphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcprepct.o: ../../code/libjpeg-turbo/jcprepct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcsample.o: ../../code/libjpeg-turbo/jcsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jctrans.o: ../../code/libjpeg-turbo/jctrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapimin.o: ../../code/libjpeg-turbo/jdapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapistd.o: ../../code/libjpeg-turbo/jdapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatadst.o: ../../code/libjpeg-turbo/jdatadst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatasrc.o: ../../code/libjpeg-turbo/jdatasrc.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcoefct.o: ../../code/libjpeg-turbo/jdcoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcolor.o: ../../code/libjpeg-turbo/jdcolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jddctmgr.o: ../../code/libjpeg-turbo/jddctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdhuff.o: ../../code/libjpeg-turbo/jdhuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdinput.o: ../../code/libjpeg-turbo/jdinput.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmainct.o: ../../code/libjpeg-turbo/jdmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmarker.o: ../../code/libjpeg-turbo/jdmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmaster.o: ../../code/libjpeg-turbo/jdmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmerge.o: ../../code/libjpeg-turbo/jdmerge.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdphuff.o: ../../code/libjpeg-turbo/jdphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdpostct.o: ../../code/libjpeg-turbo/jdpostct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdsample.o: ../../code/libjpeg-turbo/jdsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdtrans.o: ../../code/libjpeg-turbo/jdtrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jerror.o: ../../code/libjpeg-turbo/jerror.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctflt.o: ../../code/libjpeg-turbo/jfdctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctfst.o: ../../code/libjpeg-turbo/jfdctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctint.o: ../../code/libjpeg-turbo/jfdctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctflt.o: ../../code/libjpeg-turbo/jidctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctfst.o: ../../code/libjpeg-turbo/jidctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctint.o: ../../code/libjpeg-turbo/jidctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctred.o: ../../code/libjpeg-turbo/jidctred.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jmemmgr.o: ../../code/libjpeg-turbo/jmemmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant1.o: ../../code/libjpeg-turbo/jquant1.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant2.o: ../../code/libjpeg-turbo/jquant2.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jutils.o: ../../code/libjpeg-turbo/jutils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
$(OBJDIR)/jsimd_x86_64.o: ../../code/libjpeg-turbo/simd/jsimd_x86_64.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
221
makefiles/bsd_gmake/renderer.make
Normal file
221
makefiles/bsd_gmake/renderer.make
Normal file
|
@ -0,0 +1,221 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = ../../.build/debug_x64/renderer
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = ../../.build/release_x64/renderer
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include -I/usr/local/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/stb_image.o \
|
||||
$(OBJDIR)/tr_backend.o \
|
||||
$(OBJDIR)/tr_backend_d3d11.o \
|
||||
$(OBJDIR)/tr_backend_gl2.o \
|
||||
$(OBJDIR)/tr_backend_gl3.o \
|
||||
$(OBJDIR)/tr_bsp.o \
|
||||
$(OBJDIR)/tr_cmds.o \
|
||||
$(OBJDIR)/tr_curve.o \
|
||||
$(OBJDIR)/tr_image.o \
|
||||
$(OBJDIR)/tr_init.o \
|
||||
$(OBJDIR)/tr_light.o \
|
||||
$(OBJDIR)/tr_main.o \
|
||||
$(OBJDIR)/tr_marks.o \
|
||||
$(OBJDIR)/tr_mesh.o \
|
||||
$(OBJDIR)/tr_model.o \
|
||||
$(OBJDIR)/tr_noise.o \
|
||||
$(OBJDIR)/tr_scene.o \
|
||||
$(OBJDIR)/tr_shade.o \
|
||||
$(OBJDIR)/tr_shade_calc.o \
|
||||
$(OBJDIR)/tr_shader.o \
|
||||
$(OBJDIR)/tr_sky.o \
|
||||
$(OBJDIR)/tr_surface.o \
|
||||
$(OBJDIR)/tr_world.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking renderer
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning renderer
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/stb_image.o: ../../code/renderer/stb_image.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_backend.o: ../../code/renderer/tr_backend.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_backend_d3d11.o: ../../code/renderer/tr_backend_d3d11.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_backend_gl2.o: ../../code/renderer/tr_backend_gl2.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_backend_gl3.o: ../../code/renderer/tr_backend_gl3.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_bsp.o: ../../code/renderer/tr_bsp.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_cmds.o: ../../code/renderer/tr_cmds.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_curve.o: ../../code/renderer/tr_curve.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_image.o: ../../code/renderer/tr_image.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_init.o: ../../code/renderer/tr_init.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_light.o: ../../code/renderer/tr_light.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_main.o: ../../code/renderer/tr_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_marks.o: ../../code/renderer/tr_marks.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_mesh.o: ../../code/renderer/tr_mesh.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_model.o: ../../code/renderer/tr_model.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_noise.o: ../../code/renderer/tr_noise.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_scene.o: ../../code/renderer/tr_scene.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_shade.o: ../../code/renderer/tr_shade.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_shade_calc.o: ../../code/renderer/tr_shade_calc.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_shader.o: ../../code/renderer/tr_shader.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_sky.o: ../../code/renderer/tr_sky.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_surface.o: ../../code/renderer/tr_surface.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/tr_world.o: ../../code/renderer/tr_world.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
COMMIT="$(git rev-parse HEAD)"
|
||||
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
||||
|
|
|
@ -1,993 +0,0 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x32
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/debug_x32/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=4 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/debug_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x32
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/release_x32/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=4 -DNDEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/release_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DNDEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/jcapimin.o \
|
||||
$(OBJDIR)/jcapistd.o \
|
||||
$(OBJDIR)/jccoefct.o \
|
||||
$(OBJDIR)/jccolor.o \
|
||||
$(OBJDIR)/jcdctmgr.o \
|
||||
$(OBJDIR)/jchuff.o \
|
||||
$(OBJDIR)/jcinit.o \
|
||||
$(OBJDIR)/jcmainct.o \
|
||||
$(OBJDIR)/jcmarker.o \
|
||||
$(OBJDIR)/jcmaster.o \
|
||||
$(OBJDIR)/jcomapi.o \
|
||||
$(OBJDIR)/jcparam.o \
|
||||
$(OBJDIR)/jcphuff.o \
|
||||
$(OBJDIR)/jcprepct.o \
|
||||
$(OBJDIR)/jcsample.o \
|
||||
$(OBJDIR)/jctrans.o \
|
||||
$(OBJDIR)/jdapimin.o \
|
||||
$(OBJDIR)/jdapistd.o \
|
||||
$(OBJDIR)/jdatadst.o \
|
||||
$(OBJDIR)/jdatasrc.o \
|
||||
$(OBJDIR)/jdcoefct.o \
|
||||
$(OBJDIR)/jdcolor.o \
|
||||
$(OBJDIR)/jddctmgr.o \
|
||||
$(OBJDIR)/jdhuff.o \
|
||||
$(OBJDIR)/jdinput.o \
|
||||
$(OBJDIR)/jdmainct.o \
|
||||
$(OBJDIR)/jdmarker.o \
|
||||
$(OBJDIR)/jdmaster.o \
|
||||
$(OBJDIR)/jdmerge.o \
|
||||
$(OBJDIR)/jdphuff.o \
|
||||
$(OBJDIR)/jdpostct.o \
|
||||
$(OBJDIR)/jdsample.o \
|
||||
$(OBJDIR)/jdtrans.o \
|
||||
$(OBJDIR)/jerror.o \
|
||||
$(OBJDIR)/jfdctflt.o \
|
||||
$(OBJDIR)/jfdctfst.o \
|
||||
$(OBJDIR)/jfdctint.o \
|
||||
$(OBJDIR)/jidctflt.o \
|
||||
$(OBJDIR)/jidctfst.o \
|
||||
$(OBJDIR)/jidctint.o \
|
||||
$(OBJDIR)/jidctred.o \
|
||||
$(OBJDIR)/jmemmgr.o \
|
||||
$(OBJDIR)/jquant1.o \
|
||||
$(OBJDIR)/jquant2.o \
|
||||
$(OBJDIR)/jutils.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
OBJECTS += \
|
||||
../../.build/debug_x32/libjpeg-turbo/jccolor-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jccolor-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jcgray-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jcgray-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jchuff-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jcsample-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jcsample-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdcolor-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdcolor-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdmerge-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdmerge-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdsample-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jdsample-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctflt-3dn.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctflt-sse.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctfst-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctfst-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctint-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctint-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-3dn.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-sse.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctfst-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctfst-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctint-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctint-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctred-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctred-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-3dn.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-mmx.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-sse.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jquantf-sse2.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jquanti-sse2.o \
|
||||
$(OBJDIR)/jsimd_i386.o \
|
||||
../../.build/debug_x32/libjpeg-turbo/jsimdcpu.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
OBJECTS += \
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
OBJECTS += \
|
||||
../../.build/release_x32/libjpeg-turbo/jccolor-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jccolor-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jcgray-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jcgray-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jchuff-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jcsample-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jcsample-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdcolor-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdcolor-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdmerge-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdmerge-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdsample-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jdsample-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctflt-3dn.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctflt-sse.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctfst-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctfst-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctint-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctint-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-3dn.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-sse.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctfst-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctfst-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctint-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctint-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctred-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jidctred-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-3dn.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-mmx.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-sse.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jquantf-sse2.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jquanti-sse2.o \
|
||||
$(OBJDIR)/jsimd_i386.o \
|
||||
../../.build/release_x32/libjpeg-turbo/jsimdcpu.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
OBJECTS += \
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
endif
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking libjpeg-turbo
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning libjpeg-turbo
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/jcapimin.o: ../../code/libjpeg-turbo/jcapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcapistd.o: ../../code/libjpeg-turbo/jcapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccoefct.o: ../../code/libjpeg-turbo/jccoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccolor.o: ../../code/libjpeg-turbo/jccolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcdctmgr.o: ../../code/libjpeg-turbo/jcdctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jchuff.o: ../../code/libjpeg-turbo/jchuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcinit.o: ../../code/libjpeg-turbo/jcinit.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmainct.o: ../../code/libjpeg-turbo/jcmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmarker.o: ../../code/libjpeg-turbo/jcmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmaster.o: ../../code/libjpeg-turbo/jcmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcomapi.o: ../../code/libjpeg-turbo/jcomapi.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcparam.o: ../../code/libjpeg-turbo/jcparam.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcphuff.o: ../../code/libjpeg-turbo/jcphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcprepct.o: ../../code/libjpeg-turbo/jcprepct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcsample.o: ../../code/libjpeg-turbo/jcsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jctrans.o: ../../code/libjpeg-turbo/jctrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapimin.o: ../../code/libjpeg-turbo/jdapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapistd.o: ../../code/libjpeg-turbo/jdapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatadst.o: ../../code/libjpeg-turbo/jdatadst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatasrc.o: ../../code/libjpeg-turbo/jdatasrc.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcoefct.o: ../../code/libjpeg-turbo/jdcoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcolor.o: ../../code/libjpeg-turbo/jdcolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jddctmgr.o: ../../code/libjpeg-turbo/jddctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdhuff.o: ../../code/libjpeg-turbo/jdhuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdinput.o: ../../code/libjpeg-turbo/jdinput.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmainct.o: ../../code/libjpeg-turbo/jdmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmarker.o: ../../code/libjpeg-turbo/jdmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmaster.o: ../../code/libjpeg-turbo/jdmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmerge.o: ../../code/libjpeg-turbo/jdmerge.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdphuff.o: ../../code/libjpeg-turbo/jdphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdpostct.o: ../../code/libjpeg-turbo/jdpostct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdsample.o: ../../code/libjpeg-turbo/jdsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdtrans.o: ../../code/libjpeg-turbo/jdtrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jerror.o: ../../code/libjpeg-turbo/jerror.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctflt.o: ../../code/libjpeg-turbo/jfdctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctfst.o: ../../code/libjpeg-turbo/jfdctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctint.o: ../../code/libjpeg-turbo/jfdctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctflt.o: ../../code/libjpeg-turbo/jidctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctfst.o: ../../code/libjpeg-turbo/jidctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctint.o: ../../code/libjpeg-turbo/jidctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctred.o: ../../code/libjpeg-turbo/jidctred.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jmemmgr.o: ../../code/libjpeg-turbo/jmemmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant1.o: ../../code/libjpeg-turbo/jquant1.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant2.o: ../../code/libjpeg-turbo/jquant2.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jutils.o: ../../code/libjpeg-turbo/jutils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jccolor-mmx.o: ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
@echo "jccolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jccolor-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jccolor-mmx.o: ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
@echo "jccolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jccolor-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jccolor-sse2.o: ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
@echo "jccolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jccolor-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jccolor-sse2.o: ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
@echo "jccolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jccolor-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jcgray-mmx.o: ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
@echo "jcgray-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jcgray-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jcgray-mmx.o: ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
@echo "jcgray-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jcgray-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jcgray-sse2.o: ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
@echo "jcgray-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jcgray-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jcgray-sse2.o: ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
@echo "jcgray-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jcgray-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jchuff-sse2.o: ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
@echo "jchuff-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jchuff-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jchuff-sse2.o: ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
@echo "jchuff-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jchuff-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jcsample-mmx.o: ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
@echo "jcsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jcsample-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jcsample-mmx.o: ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
@echo "jcsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jcsample-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jcsample-sse2.o: ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
@echo "jcsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jcsample-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jcsample-sse2.o: ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
@echo "jcsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jcsample-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdcolor-mmx.o: ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
@echo "jdcolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdcolor-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdcolor-mmx.o: ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
@echo "jdcolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdcolor-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdcolor-sse2.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
@echo "jdcolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdcolor-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdcolor-sse2.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
@echo "jdcolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdcolor-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdmerge-mmx.o: ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
@echo "jdmerge-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdmerge-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdmerge-mmx.o: ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
@echo "jdmerge-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdmerge-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdmerge-sse2.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
@echo "jdmerge-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdmerge-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdmerge-sse2.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
@echo "jdmerge-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdmerge-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdsample-mmx.o: ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
@echo "jdsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdsample-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdsample-mmx.o: ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
@echo "jdsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdsample-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jdsample-sse2.o: ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
@echo "jdsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jdsample-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jdsample-sse2.o: ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
@echo "jdsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jdsample-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctflt-3dn.o: ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
@echo "jfdctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctflt-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctflt-3dn.o: ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
@echo "jfdctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctflt-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctflt-sse.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
@echo "jfdctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctflt-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctflt-sse.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
@echo "jfdctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctflt-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctfst-mmx.o: ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
@echo "jfdctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctfst-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctfst-mmx.o: ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
@echo "jfdctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctfst-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctfst-sse2.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
@echo "jfdctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctfst-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctfst-sse2.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
@echo "jfdctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctfst-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctint-mmx.o: ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
@echo "jfdctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctint-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctint-mmx.o: ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
@echo "jfdctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctint-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jfdctint-sse2.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
@echo "jfdctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jfdctint-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jfdctint-sse2.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
@echo "jfdctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jfdctint-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-3dn.o: ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
@echo "jidctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctflt-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-3dn.o: ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
@echo "jidctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctflt-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-sse.o: ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
@echo "jidctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctflt-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-sse.o: ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
@echo "jidctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctflt-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctflt-sse2.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
@echo "jidctflt-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctflt-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctflt-sse2.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
@echo "jidctflt-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctflt-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctfst-mmx.o: ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
@echo "jidctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctfst-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctfst-mmx.o: ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
@echo "jidctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctfst-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctfst-sse2.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
@echo "jidctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctfst-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctfst-sse2.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
@echo "jidctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctfst-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctint-mmx.o: ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
@echo "jidctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctint-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctint-mmx.o: ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
@echo "jidctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctint-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctint-sse2.o: ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
@echo "jidctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctint-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctint-sse2.o: ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
@echo "jidctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctint-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctred-mmx.o: ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
@echo "jidctred-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctred-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctred-mmx.o: ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
@echo "jidctred-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctred-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jidctred-sse2.o: ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
@echo "jidctred-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jidctred-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jidctred-sse2.o: ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
@echo "jidctred-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jidctred-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-3dn.o: ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
@echo "jquant-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jquant-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-3dn.o: ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
@echo "jquant-3dn.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jquant-3dn.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-mmx.o: ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
@echo "jquant-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jquant-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-mmx.o: ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
@echo "jquant-mmx.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jquant-mmx.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jquant-sse.o: ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
@echo "jquant-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jquant-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jquant-sse.o: ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
@echo "jquant-sse.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jquant-sse.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jquantf-sse2.o: ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
@echo "jquantf-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jquantf-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jquantf-sse2.o: ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
@echo "jquantf-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jquantf-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jquanti-sse2.o: ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
@echo "jquanti-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jquanti-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jquanti-sse2.o: ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
@echo "jquanti-sse2.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jquanti-sse2.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endif
|
||||
$(OBJDIR)/jsimd_i386.o: ../../code/libjpeg-turbo/simd/jsimd_i386.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jsimd_x86_64.o: ../../code/libjpeg-turbo/simd/jsimd_x86_64.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x32)
|
||||
../../.build/debug_x32/libjpeg-turbo/jsimdcpu.o: ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
@echo "jsimdcpu.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x32/libjpeg-turbo/jsimdcpu.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../.build/release_x32/libjpeg-turbo/jsimdcpu.o: ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
@echo "jsimdcpu.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x32/libjpeg-turbo/jsimdcpu.o -felf32 -DELF -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
endif
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
97
makefiles/linux_gmake/Makefile
Normal file
97
makefiles/linux_gmake/Makefile
Normal file
|
@ -0,0 +1,97 @@
|
|||
# GNU Make workspace makefile autogenerated by Premake
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
cnq3_config = debug_x64
|
||||
cnq3_server_config = debug_x64
|
||||
botlib_config = debug_x64
|
||||
glew_config = debug_x64
|
||||
renderer_config = debug_x64
|
||||
libjpeg_turbo_config = debug_x64
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
cnq3_config = release_x64
|
||||
cnq3_server_config = release_x64
|
||||
botlib_config = release_x64
|
||||
glew_config = release_x64
|
||||
renderer_config = release_x64
|
||||
libjpeg_turbo_config = release_x64
|
||||
endif
|
||||
|
||||
PROJECTS := cnq3 cnq3-server botlib glew renderer libjpeg-turbo
|
||||
|
||||
.PHONY: all clean help $(PROJECTS)
|
||||
|
||||
all: $(PROJECTS)
|
||||
|
||||
cnq3: botlib renderer glew libjpeg-turbo
|
||||
ifneq (,$(cnq3_config))
|
||||
@echo "==== Building cnq3 ($(cnq3_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f cnq3.make config=$(cnq3_config)
|
||||
endif
|
||||
|
||||
cnq3-server: botlib
|
||||
ifneq (,$(cnq3_server_config))
|
||||
@echo "==== Building cnq3-server ($(cnq3_server_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f cnq3-server.make config=$(cnq3_server_config)
|
||||
endif
|
||||
|
||||
botlib:
|
||||
ifneq (,$(botlib_config))
|
||||
@echo "==== Building botlib ($(botlib_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f botlib.make config=$(botlib_config)
|
||||
endif
|
||||
|
||||
glew:
|
||||
ifneq (,$(glew_config))
|
||||
@echo "==== Building glew ($(glew_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f glew.make config=$(glew_config)
|
||||
endif
|
||||
|
||||
renderer:
|
||||
ifneq (,$(renderer_config))
|
||||
@echo "==== Building renderer ($(renderer_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f renderer.make config=$(renderer_config)
|
||||
endif
|
||||
|
||||
libjpeg-turbo:
|
||||
ifneq (,$(libjpeg_turbo_config))
|
||||
@echo "==== Building libjpeg-turbo ($(libjpeg_turbo_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f libjpeg-turbo.make config=$(libjpeg_turbo_config)
|
||||
endif
|
||||
|
||||
clean:
|
||||
@${MAKE} --no-print-directory -C . -f cnq3.make clean
|
||||
@${MAKE} --no-print-directory -C . -f cnq3-server.make clean
|
||||
@${MAKE} --no-print-directory -C . -f botlib.make clean
|
||||
@${MAKE} --no-print-directory -C . -f glew.make clean
|
||||
@${MAKE} --no-print-directory -C . -f renderer.make clean
|
||||
@${MAKE} --no-print-directory -C . -f libjpeg-turbo.make clean
|
||||
|
||||
help:
|
||||
@echo "Usage: make [config=name] [target]"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " debug_x64"
|
||||
@echo " release_x64"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " all (default)"
|
||||
@echo " clean"
|
||||
@echo " cnq3"
|
||||
@echo " cnq3-server"
|
||||
@echo " botlib"
|
||||
@echo " glew"
|
||||
@echo " renderer"
|
||||
@echo " libjpeg-turbo"
|
||||
@echo ""
|
||||
@echo "For more information, see http://industriousone.com/premake/quick-start"
|
241
makefiles/linux_gmake/botlib.make
Normal file
241
makefiles/linux_gmake/botlib.make
Normal file
|
@ -0,0 +1,241 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = ../../.build/debug_x64/botlib
|
||||
DEFINES += -DBOTLIB -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = ../../.build/release_x64/botlib
|
||||
DEFINES += -DBOTLIB -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/be_aas_bspq3.o \
|
||||
$(OBJDIR)/be_aas_cluster.o \
|
||||
$(OBJDIR)/be_aas_debug.o \
|
||||
$(OBJDIR)/be_aas_entity.o \
|
||||
$(OBJDIR)/be_aas_file.o \
|
||||
$(OBJDIR)/be_aas_main.o \
|
||||
$(OBJDIR)/be_aas_move.o \
|
||||
$(OBJDIR)/be_aas_optimize.o \
|
||||
$(OBJDIR)/be_aas_reach.o \
|
||||
$(OBJDIR)/be_aas_route.o \
|
||||
$(OBJDIR)/be_aas_routealt.o \
|
||||
$(OBJDIR)/be_aas_sample.o \
|
||||
$(OBJDIR)/be_ai_char.o \
|
||||
$(OBJDIR)/be_ai_chat.o \
|
||||
$(OBJDIR)/be_ai_gen.o \
|
||||
$(OBJDIR)/be_ai_goal.o \
|
||||
$(OBJDIR)/be_ai_move.o \
|
||||
$(OBJDIR)/be_ai_weap.o \
|
||||
$(OBJDIR)/be_ai_weight.o \
|
||||
$(OBJDIR)/be_ea.o \
|
||||
$(OBJDIR)/be_interface.o \
|
||||
$(OBJDIR)/l_crc.o \
|
||||
$(OBJDIR)/l_libvar.o \
|
||||
$(OBJDIR)/l_log.o \
|
||||
$(OBJDIR)/l_memory.o \
|
||||
$(OBJDIR)/l_precomp.o \
|
||||
$(OBJDIR)/l_script.o \
|
||||
$(OBJDIR)/l_struct.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking botlib
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning botlib
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/be_aas_bspq3.o: ../../code/botlib/be_aas_bspq3.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_cluster.o: ../../code/botlib/be_aas_cluster.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_debug.o: ../../code/botlib/be_aas_debug.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_entity.o: ../../code/botlib/be_aas_entity.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_file.o: ../../code/botlib/be_aas_file.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_main.o: ../../code/botlib/be_aas_main.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_move.o: ../../code/botlib/be_aas_move.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_optimize.o: ../../code/botlib/be_aas_optimize.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_reach.o: ../../code/botlib/be_aas_reach.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_route.o: ../../code/botlib/be_aas_route.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_routealt.o: ../../code/botlib/be_aas_routealt.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_aas_sample.o: ../../code/botlib/be_aas_sample.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_char.o: ../../code/botlib/be_ai_char.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_chat.o: ../../code/botlib/be_ai_chat.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_gen.o: ../../code/botlib/be_ai_gen.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_goal.o: ../../code/botlib/be_ai_goal.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_move.o: ../../code/botlib/be_ai_move.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_weap.o: ../../code/botlib/be_ai_weap.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ai_weight.o: ../../code/botlib/be_ai_weight.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_ea.o: ../../code/botlib/be_ea.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/be_interface.o: ../../code/botlib/be_interface.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_crc.o: ../../code/botlib/l_crc.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_libvar.o: ../../code/botlib/l_libvar.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_log.o: ../../code/botlib/l_log.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_memory.o: ../../code/botlib/l_memory.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_precomp.o: ../../code/botlib/l_precomp.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_script.o: ../../code/botlib/l_script.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/l_struct.o: ../../code/botlib/l_struct.cpp
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
|
@ -1,7 +1,7 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -10,37 +10,6 @@ endif
|
|||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x86
|
||||
OBJDIR = ../../.build/debug_x32/cnq3-server
|
||||
DEFINES += -DDEDICATED -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/debug_x32/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../.build/debug_x32/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/debug_x32/cnq3-server-x86" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x64
|
||||
|
@ -65,38 +34,7 @@ ifeq ($(config),debug_x64)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/debug_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x86
|
||||
OBJDIR = ../../.build/release_x32/cnq3-server
|
||||
DEFINES += -DDEDICATED -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/release_x32/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../.build/release_x32/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/release_x32/cnq3-server-x86" "$(QUAKE3DIR)"; fi
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/debug_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
@ -127,7 +65,7 @@ ifeq ($(config),release_x64)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/release_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/release_x64/cnq3-server-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
|
@ -1,7 +1,7 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -10,37 +10,6 @@ endif
|
|||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-x86
|
||||
OBJDIR = ../../.build/debug_x32/cnq3
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/debug_x32/libbotlib.a ../../.build/debug_x32/librenderer.a ../../.build/debug_x32/libglew.a ../../.build/debug_x32/liblibjpeg-turbo.a -ldl -lm -lSDL2 -lGL
|
||||
LDDEPS += ../../.build/debug_x32/libbotlib.a ../../.build/debug_x32/librenderer.a ../../.build/debug_x32/libglew.a ../../.build/debug_x32/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/debug_x32/cnq3-x86" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/debug_x64
|
||||
|
@ -65,38 +34,7 @@ ifeq ($(config),debug_x64)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/debug_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-x86
|
||||
OBJDIR = ../../.build/release_x32/cnq3
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2 -x c++ -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../.build/release_x32/libbotlib.a ../../.build/release_x32/librenderer.a ../../.build/release_x32/libglew.a ../../.build/release_x32/liblibjpeg-turbo.a -ldl -lm -lSDL2 -lGL
|
||||
LDDEPS += ../../.build/release_x32/libbotlib.a ../../.build/release_x32/librenderer.a ../../.build/release_x32/libglew.a ../../.build/release_x32/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/release_x32/cnq3-x86" "$(QUAKE3DIR)"; fi
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/debug_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
@ -127,7 +65,7 @@ ifeq ($(config),release_x64)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp -u "../../.bin/release_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
if [ -n "$$QUAKE3DIR" ]; then cp "../../.bin/release_x64/cnq3-x64" "$(QUAKE3DIR)"; fi
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
|
@ -1,7 +1,7 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -10,33 +10,6 @@ endif
|
|||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x32
|
||||
TARGET = $(TARGETDIR)/libglew.a
|
||||
OBJDIR = ../../.build/debug_x32/glew
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
|
@ -64,33 +37,6 @@ all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
|||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x32
|
||||
TARGET = $(TARGETDIR)/libglew.a
|
||||
OBJDIR = ../../.build/release_x32/glew
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
515
makefiles/linux_gmake/libjpeg-turbo.make
Normal file
515
makefiles/linux_gmake/libjpeg-turbo.make
Normal file
|
@ -0,0 +1,515 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/debug_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = ../../.build/release_x64/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DNDEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../.build/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
OBJECTS := \
|
||||
$(OBJDIR)/jcapimin.o \
|
||||
$(OBJDIR)/jcapistd.o \
|
||||
$(OBJDIR)/jccoefct.o \
|
||||
$(OBJDIR)/jccolor.o \
|
||||
$(OBJDIR)/jcdctmgr.o \
|
||||
$(OBJDIR)/jchuff.o \
|
||||
$(OBJDIR)/jcinit.o \
|
||||
$(OBJDIR)/jcmainct.o \
|
||||
$(OBJDIR)/jcmarker.o \
|
||||
$(OBJDIR)/jcmaster.o \
|
||||
$(OBJDIR)/jcomapi.o \
|
||||
$(OBJDIR)/jcparam.o \
|
||||
$(OBJDIR)/jcphuff.o \
|
||||
$(OBJDIR)/jcprepct.o \
|
||||
$(OBJDIR)/jcsample.o \
|
||||
$(OBJDIR)/jctrans.o \
|
||||
$(OBJDIR)/jdapimin.o \
|
||||
$(OBJDIR)/jdapistd.o \
|
||||
$(OBJDIR)/jdatadst.o \
|
||||
$(OBJDIR)/jdatasrc.o \
|
||||
$(OBJDIR)/jdcoefct.o \
|
||||
$(OBJDIR)/jdcolor.o \
|
||||
$(OBJDIR)/jddctmgr.o \
|
||||
$(OBJDIR)/jdhuff.o \
|
||||
$(OBJDIR)/jdinput.o \
|
||||
$(OBJDIR)/jdmainct.o \
|
||||
$(OBJDIR)/jdmarker.o \
|
||||
$(OBJDIR)/jdmaster.o \
|
||||
$(OBJDIR)/jdmerge.o \
|
||||
$(OBJDIR)/jdphuff.o \
|
||||
$(OBJDIR)/jdpostct.o \
|
||||
$(OBJDIR)/jdsample.o \
|
||||
$(OBJDIR)/jdtrans.o \
|
||||
$(OBJDIR)/jerror.o \
|
||||
$(OBJDIR)/jfdctflt.o \
|
||||
$(OBJDIR)/jfdctfst.o \
|
||||
$(OBJDIR)/jfdctint.o \
|
||||
$(OBJDIR)/jidctflt.o \
|
||||
$(OBJDIR)/jidctfst.o \
|
||||
$(OBJDIR)/jidctint.o \
|
||||
$(OBJDIR)/jidctred.o \
|
||||
$(OBJDIR)/jmemmgr.o \
|
||||
$(OBJDIR)/jquant1.o \
|
||||
$(OBJDIR)/jquant2.o \
|
||||
$(OBJDIR)/jutils.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
OBJECTS += \
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
OBJECTS += \
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o \
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o \
|
||||
|
||||
endif
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
ifeq (/bin,$(findstring /bin,$(SHELL)))
|
||||
SHELLTYPE := posix
|
||||
endif
|
||||
|
||||
$(TARGET): $(GCH) ${CUSTOMFILES} $(OBJECTS) $(LDDEPS) $(RESOURCES)
|
||||
@echo Linking libjpeg-turbo
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning libjpeg-turbo
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild:
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
prelink:
|
||||
$(PRELINKCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) $(PCH)
|
||||
$(GCH): $(PCH)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
endif
|
||||
|
||||
$(OBJDIR)/jcapimin.o: ../../code/libjpeg-turbo/jcapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcapistd.o: ../../code/libjpeg-turbo/jcapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccoefct.o: ../../code/libjpeg-turbo/jccoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jccolor.o: ../../code/libjpeg-turbo/jccolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcdctmgr.o: ../../code/libjpeg-turbo/jcdctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jchuff.o: ../../code/libjpeg-turbo/jchuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcinit.o: ../../code/libjpeg-turbo/jcinit.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmainct.o: ../../code/libjpeg-turbo/jcmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmarker.o: ../../code/libjpeg-turbo/jcmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcmaster.o: ../../code/libjpeg-turbo/jcmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcomapi.o: ../../code/libjpeg-turbo/jcomapi.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcparam.o: ../../code/libjpeg-turbo/jcparam.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcphuff.o: ../../code/libjpeg-turbo/jcphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcprepct.o: ../../code/libjpeg-turbo/jcprepct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jcsample.o: ../../code/libjpeg-turbo/jcsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jctrans.o: ../../code/libjpeg-turbo/jctrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapimin.o: ../../code/libjpeg-turbo/jdapimin.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdapistd.o: ../../code/libjpeg-turbo/jdapistd.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatadst.o: ../../code/libjpeg-turbo/jdatadst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdatasrc.o: ../../code/libjpeg-turbo/jdatasrc.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcoefct.o: ../../code/libjpeg-turbo/jdcoefct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdcolor.o: ../../code/libjpeg-turbo/jdcolor.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jddctmgr.o: ../../code/libjpeg-turbo/jddctmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdhuff.o: ../../code/libjpeg-turbo/jdhuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdinput.o: ../../code/libjpeg-turbo/jdinput.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmainct.o: ../../code/libjpeg-turbo/jdmainct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmarker.o: ../../code/libjpeg-turbo/jdmarker.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmaster.o: ../../code/libjpeg-turbo/jdmaster.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdmerge.o: ../../code/libjpeg-turbo/jdmerge.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdphuff.o: ../../code/libjpeg-turbo/jdphuff.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdpostct.o: ../../code/libjpeg-turbo/jdpostct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdsample.o: ../../code/libjpeg-turbo/jdsample.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jdtrans.o: ../../code/libjpeg-turbo/jdtrans.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jerror.o: ../../code/libjpeg-turbo/jerror.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctflt.o: ../../code/libjpeg-turbo/jfdctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctfst.o: ../../code/libjpeg-turbo/jfdctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jfdctint.o: ../../code/libjpeg-turbo/jfdctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctflt.o: ../../code/libjpeg-turbo/jidctflt.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctfst.o: ../../code/libjpeg-turbo/jidctfst.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctint.o: ../../code/libjpeg-turbo/jidctint.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jidctred.o: ../../code/libjpeg-turbo/jidctred.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jmemmgr.o: ../../code/libjpeg-turbo/jmemmgr.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant1.o: ../../code/libjpeg-turbo/jquant1.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jquant2.o: ../../code/libjpeg-turbo/jquant2.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jutils.o: ../../code/libjpeg-turbo/jutils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/debug_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../.build/release_x64/libjpeg-turbo/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../code/libjpeg-turbo/ -I../../code/libjpeg-turbo/win/ -I../../code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
$(OBJDIR)/jsimd_x86_64.o: ../../code/libjpeg-turbo/simd/jsimd_x86_64.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(OBJDIR)/$(notdir $(PCH)).d
|
||||
endif
|
|
@ -1,7 +1,7 @@
|
|||
# GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=debug_x32
|
||||
config=debug_x64
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
|
@ -10,33 +10,6 @@ endif
|
|||
|
||||
.PHONY: clean prebuild prelink
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x32
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = ../../.build/debug_x32/renderer
|
||||
DEFINES += -DGLEW_STATIC -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -mmmx -msse -msse2 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/debug_x64
|
||||
|
@ -64,33 +37,6 @@ all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
|||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x32
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = ../../.build/release_x32/renderer
|
||||
DEFINES += -DGLEW_STATIC -DNDEBUG
|
||||
INCLUDES += -I../../code/glew/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -mmmx -msse -msse2 -std=c++98
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../.build/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../.build/release_x64
|
|
@ -3,9 +3,10 @@
|
|||
Currently used build:
|
||||
premake 5.0.0-alpha10
|
||||
|
||||
There are only 2 build toolchains supported:
|
||||
- Visual C++ on Windows
|
||||
- GCC on Linux
|
||||
There are 3 supported build toolchains:
|
||||
- Visual C++ on Windows x64 and x86
|
||||
- GCC on Linux x64
|
||||
- GCC on FreeBSD x64
|
||||
|
||||
@TODO: prevent UNICODE and _UNICODE from being #define'd with premake
|
||||
@TODO: enable Minimal Rebuild from premake (instead of adding /Gm)
|
||||
|
@ -137,7 +138,7 @@ end
|
|||
-- premake tokens for this script:
|
||||
-- cfg.buildcfg -> "debug", "release"
|
||||
-- cfg.architecture -> "x86", "x86_64"
|
||||
-- cfg.system -> "windows", "linux"
|
||||
-- cfg.system -> "windows", "linux", "bsd"
|
||||
-- cfg.platform -> "x32", "x64"
|
||||
|
||||
local function GetLibJpegTurboNasmFlags()
|
||||
|
@ -147,7 +148,9 @@ local function GetLibJpegTurboNasmFlags()
|
|||
windows_x32 = "-fwin32 -DWIN32",
|
||||
windows_x64 = "-fwin64 -DWIN64 -D__x86_64__",
|
||||
linux_x32 = "-felf32 -DELF",
|
||||
linux_x64 = "-felf64 -DELF -D__x86_64__"
|
||||
linux_x64 = "-felf64 -DELF -D__x86_64__",
|
||||
bsd_x32 = "-felf32 -DELF",
|
||||
bsd_x64 = "-felf64 -DELF -D__x86_64__"
|
||||
}
|
||||
|
||||
return "%{libjpeg_turbo_nasm_flags_map[cfg.system..\"_\"..cfg.platform]}"
|
||||
|
@ -184,8 +187,6 @@ local function ApplyProjectSettings(outputExe)
|
|||
|
||||
filter { }
|
||||
|
||||
location ( path_make.."/".._ACTION )
|
||||
|
||||
rtti "Off"
|
||||
exceptionhandling "Off"
|
||||
flags { "NoPCH", "StaticRuntime", "NoManifest", "NoNativeWChar" }
|
||||
|
@ -479,7 +480,7 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
else
|
||||
prebuildcommands { CreateGitPreBuildCommand(".sh") }
|
||||
postbuildcommands { string.format("if [ -n \"$$%s\" ]; then %s; fi",
|
||||
envvar_q3dir, CreateExeCopyPostBuildCommand("cp -u", exeName, "")) }
|
||||
envvar_q3dir, CreateExeCopyPostBuildCommand("cp", exeName, "")) }
|
||||
end
|
||||
|
||||
-- create VC++ debug settings
|
||||
|
@ -505,6 +506,9 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
links { "SDL2", "GL" }
|
||||
end
|
||||
|
||||
filter "system:bsd"
|
||||
links { "execinfo" }
|
||||
|
||||
-- RC will compile the .rc into a .res
|
||||
-- LINK accepts .res files directly
|
||||
filter "action:vs*"
|
||||
|
@ -676,8 +680,13 @@ end
|
|||
|
||||
solution "cnq3"
|
||||
|
||||
location ( path_make.."/".._ACTION )
|
||||
platforms { "x32", "x64" }
|
||||
if os.is("windows") then
|
||||
platforms { "x64", "x32" }
|
||||
else
|
||||
platforms { "x64" }
|
||||
end
|
||||
|
||||
location ( string.format("%s/%s_%s", path_make, os.get(), _ACTION) )
|
||||
configurations { "debug", "release" }
|
||||
|
||||
project "cnq3"
|
||||
|
@ -686,6 +695,10 @@ solution "cnq3"
|
|||
language "C++"
|
||||
defines { "GLEW_STATIC" }
|
||||
includedirs { path_src.."/glew/include" }
|
||||
if os.is("bsd") then
|
||||
includedirs { "/usr/local/include" }
|
||||
libdirs { "/usr/local/lib" }
|
||||
end
|
||||
ApplyExeProjectSettings("cnq3", 0)
|
||||
filter "action:gmake"
|
||||
buildoptions { "-std=c++98" }
|
||||
|
@ -716,6 +729,9 @@ solution "cnq3"
|
|||
defines { "GLEW_STATIC" }
|
||||
AddSourcesAndHeaders("glew")
|
||||
includedirs { path_src.."/glew/include" }
|
||||
if os.is("bsd") then
|
||||
includedirs { "/usr/local/include" }
|
||||
end
|
||||
ApplyLibProjectSettings()
|
||||
|
||||
project "renderer"
|
||||
|
@ -725,6 +741,9 @@ solution "cnq3"
|
|||
defines { "GLEW_STATIC" }
|
||||
AddSourcesAndHeaders("renderer")
|
||||
includedirs { path_src.."/glew/include" }
|
||||
if os.is("bsd") then
|
||||
includedirs { "/usr/local/include" }
|
||||
end
|
||||
if os.is("windows") then
|
||||
files { string.format("%s/renderer/hlsl/*.hlsl", path_src) }
|
||||
end
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{A1A792F4-8D49-BDCA-7604-D11E6245441B}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>botlib</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,26 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\.build\debug_x64\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x64\botlib\</IntDir>
|
||||
|
@ -81,9 +74,9 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\botlib\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -95,6 +88,34 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>BOTLIB;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -116,22 +137,32 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>BOTLIB;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>BOTLIB;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
|
@ -169,37 +200,6 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>BOTLIB;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\code\botlib\aasfile.h" />
|
||||
<ClInclude Include="..\..\code\botlib\be_aas.h" />
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>cnq3-server</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,27 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x64\</OutDir>
|
||||
|
@ -83,10 +75,10 @@
|
|||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\cnq3-server\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -99,6 +91,42 @@
|
|||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>DEDICATED;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\debug_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\debug_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -127,32 +155,42 @@
|
|||
copy "..\..\.bin\debug_x32\cnq3-server-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>DEDICATED;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>DEDICATED;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalLibraryDirectories>..\..\.build\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\debug_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\debug_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\.bin\release_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\release_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
|
@ -194,44 +232,6 @@ copy "..\..\.bin\debug_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
|||
copy "..\..\.bin\release_x32\cnq3-server-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>DEDICATED;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\release_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\release_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\code\botlib\aasfile.h" />
|
||||
<ClInclude Include="..\..\code\botlib\be_aas.h" />
|
|
@ -1,18 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
|
@ -24,4 +18,10 @@
|
|||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-server-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{BA3B957C-A672-960D-4F5F-7C103B75120F}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>cnq3</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,27 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\cnq3\</IntDir>
|
||||
<TargetName>cnq3-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x64\</OutDir>
|
||||
|
@ -83,10 +75,10 @@
|
|||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\cnq3\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\cnq3\</IntDir>
|
||||
<TargetName>cnq3-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -99,6 +91,43 @@
|
|||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\cnq3\</IntDir>
|
||||
<TargetName>cnq3-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /MANIFEST:EMBED /MANIFESTINPUT:..\..\code\win32\client.manifest %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\debug_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\debug_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -128,33 +157,43 @@
|
|||
copy "..\..\.bin\debug_x32\cnq3-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /MANIFEST:EMBED /MANIFESTINPUT:..\..\code\win32\client.manifest %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalLibraryDirectories>..\..\.build\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /MANIFEST:EMBED /MANIFESTINPUT:..\..\code\win32\client.manifest /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\debug_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\debug_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\.bin\release_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\release_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
|
@ -197,45 +236,6 @@ copy "..\..\.bin\debug_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
|||
copy "..\..\.bin\release_x32\cnq3-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;Version.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\.build\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\code\win32\winquake.res /STACK:8388608 /MANIFEST:EMBED /MANIFESTINPUT:..\..\code\win32\client.manifest /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\.bin\release_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\.bin\release_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\code\botlib\aasfile.h" />
|
||||
<ClInclude Include="..\..\code\botlib\be_aas.h" />
|
|
@ -1,18 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x64.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
|
@ -24,4 +18,10 @@
|
|||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LocalDebuggerCommand>$(QUAKE3DIR)\cnq3-x86.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(QUAKE3DIR)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set fs_game $(CPMADIR) +set sv_pure 0 +set r_fullscreen 0</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{7463977C-609A-980D-0987-7E10F59C140F}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>glew</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,26 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\glew\</IntDir>
|
||||
<TargetName>glew</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\.build\debug_x64\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x64\glew\</IntDir>
|
||||
|
@ -81,9 +74,9 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\glew\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\glew\</IntDir>
|
||||
<TargetName>glew</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -95,6 +88,36 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\glew\</IntDir>
|
||||
<TargetName>glew</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -118,24 +141,34 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
|
@ -175,39 +208,6 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\code\glew\glew.c" />
|
||||
</ItemGroup>
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{DB56484D-4717-C483-1052-0D017CD10860}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>libjpeg-turbo</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,26 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\.build\debug_x64\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x64\libjpeg-turbo\</IntDir>
|
||||
|
@ -81,9 +74,9 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\libjpeg-turbo\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -95,6 +88,36 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\libjpeg-turbo;..\..\code\libjpeg-turbo\simd;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -118,24 +141,34 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\libjpeg-turbo;..\..\code\libjpeg-turbo\simd;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
|
@ -175,39 +208,6 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\libjpeg-turbo;..\..\code\libjpeg-turbo\simd;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\jcapimin.c" />
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\jcapistd.c" />
|
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<ProjectConfiguration Include="debug|Win32">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}</ProjectGuid>
|
||||
|
@ -25,26 +25,26 @@
|
|||
<RootNamespace>renderer</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
|
@ -54,26 +54,19 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\.build\debug_x64\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x64\renderer\</IntDir>
|
||||
|
@ -81,9 +74,9 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\renderer\</IntDir>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\.build\debug_x32\</OutDir>
|
||||
<IntDir>..\..\.build\debug_x32\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
|
@ -95,44 +88,13 @@
|
|||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /arch:SSE2 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
<PreBuildEvent>
|
||||
<Command>"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_generic_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_a_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_a_ps.h /O0 /Zi /DCNQ3_A2C=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_d_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_d_ps.h /O0 /Zi /DCNQ3_DITHER=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_ad_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_ad_ps.h /O0 /Zi /DCNQ3_A2C=1 /DCNQ3_DITHER=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_post_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_post_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_dl_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_dl_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_sprite_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_sprite_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_start.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_start_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_start_cs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_pass.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_pass_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_pass_cs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_end_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end_cs.h /O0 /Zi</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\.build\release_x32\</OutDir>
|
||||
<IntDir>..\..\.build\release_x32\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -171,7 +133,45 @@
|
|||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_end_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end_cs.h /O0 /Zi</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\glew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /arch:SSE2 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
<PreBuildEvent>
|
||||
<Command>"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_generic_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_a_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_a_ps.h /O0 /Zi /DCNQ3_A2C=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_d_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_d_ps.h /O0 /Zi /DCNQ3_DITHER=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_generic_ad_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\generic_ad_ps.h /O0 /Zi /DCNQ3_A2C=1 /DCNQ3_DITHER=1
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_post_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_post_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\post_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_dl_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_dl_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\dl_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite.hlsl /nologo /T vs_4_1 /E vs_main /Vn g_sprite_vs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite_vs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite.hlsl /nologo /T ps_4_1 /E ps_main /Vn g_sprite_ps /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\sprite_ps.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_start.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_start_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_start_cs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_pass.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_pass_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_pass_cs.h /O0 /Zi
|
||||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_end_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end_cs.h /O0 /Zi</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
|
@ -190,9 +190,8 @@
|
|||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /arch:SSE2 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
|
@ -220,7 +219,7 @@
|
|||
"$(DXSDK_DIR)Utilities\bin\x86\fxc.exe" C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end.hlsl /nologo /T cs_5_0 /E cs_main /Vn g_mip_end_cs /Fh C:\Code\cpma_dev\cnq3\code\renderer\hlsl\mip_end_cs.h /O3</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
|
@ -239,8 +238,9 @@
|
|||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions>/GL /arch:SSE2 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
Loading…
Reference in a new issue