Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
tyrquake
Commits
2801e2de
Commit
2801e2de
authored
Oct 31, 2019
by
Libretro-Admin
Browse files
Bake out networking support for now for Wii/WiiU/NGC
parent
ad8a4df0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2801e2de
...
...
@@ -7,6 +7,7 @@ ifneq ($(GIT_VERSION)," unknown")
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
endif
HAVE_NETWORKING
=
1
USE_CODEC_WAVE
=
1
USE_CODEC_FLAC
=
1
USE_CODEC_VORBIS
=
1
...
...
@@ -335,6 +336,7 @@ else ifeq ($(platform), ngc)
CFLAGS
+=
-DGEKKO
-DHW_DOL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
-D__ppc__
-DMSB_FIRST
-I
$(DEVKITPRO)
/libogc/include
CFLAGS
+=
-U__INT32_TYPE__
-U
__UINT32_TYPE__
-D__INT32_TYPE__
=
int
STATIC_LINKING
=
1
HAVE_NETWORKING
=
0
# Nintendo Wii
else
ifeq
($(platform), wii)
...
...
@@ -344,6 +346,7 @@ else ifeq ($(platform), wii)
CFLAGS
+=
-DGEKKO
-DHW_RVL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
-D__ppc__
-DMSB_FIRST
-I
$(DEVKITPRO)
/libogc/include
CFLAGS
+=
-U__INT32_TYPE__
-U
__UINT32_TYPE__
-D__INT32_TYPE__
=
int
STATIC_LINKING
=
1
HAVE_NETWORKING
=
0
# Nintendo Switch (libnx)
else
ifeq
($(platform), libnx)
...
...
@@ -367,6 +370,7 @@ else ifeq ($(platform), wiiu)
CFLAGS
+=
-DGEKKO
-DHW_RVL
-DWIIU
-mwup
-mcpu
=
750
-meabi
-mhard-float
-D__ppc__
-DMSB_FIRST
-I
$(DEVKITPRO)
/libogc/include
CFLAGS
+=
-U__INT32_TYPE__
-U
__UINT32_TYPE__
-D__INT32_TYPE__
=
int
STATIC_LINKING
=
1
HAVE_NETWORKING
=
0
# Nintendo Switch (libtransistor)
else
ifeq
($(platform), switch)
...
...
Makefile.common
View file @
2801e2de
...
...
@@ -109,15 +109,23 @@ ifneq ($(STATIC_LINKING),1)
$(CORE_DIR)
/libretro-common/compat/compat_strl.c
\
$(CORE_DIR)
/libretro-common/compat/compat_posix_string.c
\
$(CORE_DIR)
/libretro-common/compat/compat_strcasestr.c
\
$(CORE_DIR)
/libretro-common/compat/compat_snprintf.c
\
$(CORE_DIR)
/libretro-common/net/net_compat.c
\
$(CORE_DIR)
/libretro-common/net/net_socket.c
$(CORE_DIR)
/libretro-common/compat/compat_snprintf.c
endif
ifeq
($(HAVE_NETWORKING),1)
SOURCES_C
+=
$(CORE_DIR)
/common/net_dgrm.c
\
$(CORE_DIR)
/common/net_udp.c
\
$(CORE_DIR)
/common/net_bsd.c
ifneq
($(STATIC_LINKING),1)
SOURCES_C
+=
\
$(CORE_DIR)
/libretro-common/net/net_compat.c
\
$(CORE_DIR)
/libretro-common/net/net_socket.c
endif
else
SOURCES_C
+=
$(CORE_DIR)
/common/net_none.c
endif
ifeq
($(USE_CODEC_FLAC),1)
INCFLAGS
+=
-I
$(LIBFLAC_DIR)
/include
SOURCES_C
+=
$(LIBFLAC_DIR)
/bitmath.c
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment