Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Retro Jr.
SRB2
Commits
b161cb45
Commit
b161cb45
authored
3 years ago
by
candelavla
Browse files
Options
Downloads
Patches
Plain Diff
e
parent
82fb731c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.d/features.mk
+75
-75
75 additions, 75 deletions
src/Makefile.d/features.mk
with
75 additions
and
75 deletions
src/Makefile.d/features.mk
+
75
−
75
View file @
b161cb45
#
#
# Makefile for feature flags.
# Makefile for feature flags.
#
#
passthru_opts
+=
\
passthru_opts
+=
\
NONET NO_IPV6 NOHW NOMD5 NOPOSTPROCESSING
\
NONET
NO_IPV6
NOHW
NOMD5
NOPOSTPROCESSING\
MOBJCONSISTANCY PACKETDROP ZDEBUG
\
MOBJCONSISTANCY
PACKETDROP
ZDEBUG\
HAVE_MINIUPNPC
\
HAVE_MINIUPNPC\
# build with debugging information
# build with debugging information
ifdef
DEBUGMODE
ifdef
DEBUGMODE
PACKETDROP
=
1
PACKETDROP
=
1
opts
+=
-DPARANOIA
-DRANGECHECK
opts
+=
-DPARANOIA
-DRANGECHECK
endif
endif
ifndef
NOHW
ifndef
NOHW
opts
+=
-DHWRENDER
opts
+=
-DHWRENDER
sources
+=
$(
call List,hardware/Sourcefile
)
sources
+=
$(
call List,hardware/Sourcefile
)
endif
endif
ifndef
NOASM
ifndef
NOASM
ifndef
NONX86
ifndef
NONX86
sources
+=
tmap.nas tmap_mmx.nas
sources
+=
tmap.nas tmap_mmx.nas
opts
+=
-DUSEASM
opts
+=
-DUSEASM
endif
endif
endif
endif
ifndef
NOMD5
ifndef
NOMD5
sources
+=
md5.c
sources
+=
md5.c
endif
endif
ifndef
NOZLIB
ifndef
NOZLIB
ifndef
NOPNG
ifndef
NOPNG
ifdef
PNG_PKGCONFIG
ifdef
PNG_PKGCONFIG
$(
eval
$(
call Use_pkg_config,PNG_PKGCONFIG
))
$(
eval
$(
call Use_pkg_config,PNG_PKGCONFIG
))
else
else
PNG_CONFIG
?=
$(
call Prefix,libpng-config
)
PNG_CONFIG
?=
$(
call Prefix,libpng-config
)
$(
eval
$(
call Configure,PNG,
$(
PNG_CONFIG
)
\
$(
eval
$(
call Configure,PNG,
$(
PNG_CONFIG
)
\
$(
if
$(
PNG_STATIC
)
,--static
)
,,--ldflags
))
$(
if
$(
PNG_STATIC
)
,--static
)
,,--ldflags
)
)
endif
endif
ifdef
LINUX
ifdef
LINUX
opts
+=
-D_LARGFILE64_SOURCE
opts
+=
-D_LARG
E
FILE64_SOURCE
endif
endif
opts
+=
-DHAVE_PNG
opts
+=
-DHAVE_PNG
sources
+=
apng.c
sources
+=
apng.c
endif
endif
endif
endif
ifndef
NONET
ifndef
NONET
ifndef
NOCURL
ifndef
NOCURL
CURLCONFIG
?=
curl-config
CURLCONFIG
?=
curl-config
$(
eval
$(
call Configure,CURL,
$(
CURLCONFIG
)))
$(
eval
$(
call Configure,CURL,
$(
CURLCONFIG
)))
opts
+=
-DHAVE_CURL
opts
+=
-DHAVE_CURL
endif
endif
endif
endif
ifdef
HAVE_MINIUPNPC
ifdef
HAVE_MINIUPNPC
libs
+=
-lminiupnpc
libs
+=
-lminiupnpc
endif
endif
# (Valgrind is a memory debugger.)
# (Valgrind is a memory debugger.)
ifdef
VALGRIND
ifdef
VALGRIND
VALGRIND_PKGCONFIG
?=
valgrind
VALGRIND_PKGCONFIG
?=
valgrind
$(
eval
$(
call Use_pkg_config,VALGRIND
))
$(
eval
$(
call Use_pkg_config,VALGRIND
))
ZDEBUG
=
1
ZDEBUG
=
1
opts
+=
-DHAVE_VALGRIND
opts
+=
-DHAVE_VALGRIND
endif
endif
default_packages
:=
\
default_packages
:=
\
GME/libgme/LIBGME
\
GME/libgme/LIBGME\
OPENMPT/libopenmpt/LIBOPENMPT
\
OPENMPT/libopenmpt/LIBOPENMPT\
ZLIB/zlib
\
ZLIB/zlib\
$(
foreach
p,
$(
default_packages
)
,
\
$(
foreach
p,
$(
default_packages
)
,
\
$(
eval
$(
call Check_pkg_config,
$(
p
))))
$(
eval
$(
call Check_pkg_config,
$(
p
))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment