1 |
############################################################################# |
############################################################################# |
2 |
# |
# |
3 |
# GNU/Linux Makefile |
# Cygwin/Win32 x86 Makefile |
4 |
# |
# |
5 |
# Edit this file to enable/disable optimizations |
# Edit this file to enable/disable optimizations |
6 |
# |
# |
7 |
# $Id: Makefile.cygwin,v 1.3 2002-09-20 17:03:47 edgomez Exp $ |
# $Id: Makefile.cygwin,v 1.7 2002-09-28 03:00:03 suxen_drol Exp $ |
8 |
# |
# |
9 |
############################################################################# |
############################################################################# |
10 |
|
|
33 |
AFLAGS = -f win32 -DPREFIX |
AFLAGS = -f win32 -DPREFIX |
34 |
|
|
35 |
# Constants which should not be modified |
# Constants which should not be modified |
36 |
|
# Note: the `mingw-runtime` package is required when building with |
37 |
|
# -DLINUX and -mno-cygwin. |
38 |
CFLAGS += -DARCH_X86 |
CFLAGS += -DARCH_X86 |
39 |
CFLAGS += -DLINUX |
CFLAGS += -DLINUX |
40 |
CFLAGS += -UWIN32 |
CFLAGS += -UWIN32 |
45 |
# PSNR during encoding |
# PSNR during encoding |
46 |
# CFLAGS += -D_DEBUG_PSNR |
# CFLAGS += -D_DEBUG_PSNR |
47 |
|
|
48 |
|
# Enable BFrame decoding (still beta) |
49 |
|
# CFLAGS += -DBFRAMES_DEC |
50 |
|
|
51 |
LIBDIR = /usr/local/lib |
LIBDIR = /usr/local/lib |
52 |
|
|
53 |
# Warning level options |
# Warning level options |
82 |
# Try a first run with -fprofile-arcs only then build the lib again |
# Try a first run with -fprofile-arcs only then build the lib again |
83 |
# with add branch and coverage... this will allow you to profile |
# with add branch and coverage... this will allow you to profile |
84 |
# the lib line a line. |
# the lib line a line. |
85 |
# CFLAGS += -pg -fprofile-arcs -fbranch-probabilities -ftest-coverage |
# CFLAGS += -pg |
86 |
|
# Precise profiling + test coverage (-pg must be activated) |
87 |
|
# Build the library twice and execute a program using the lib twice too |
88 |
|
# First pass : Will create sourcefile.da files to keep branch statistics |
89 |
|
# CFLAGS += -fprofile-arcs |
90 |
|
# Second pass : Will create .bb and .bbg files suitable for coverage and |
91 |
|
# branch probabilities during compilation |
92 |
|
# CFLAGS += -fprofile-arcs -fbranch-probabilities -ftest-coverage |
93 |
|
|
94 |
|
|
95 |
# Architecture options : Valid for every gcc version |
# Architecture options : Valid for every gcc version |