mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 20:16:54 +01:00
Unbreak the wii build, remove enforcer and action replay support
This commit is contained in:
parent
11eac4c27a
commit
5a0dc06a10
@ -22,7 +22,8 @@ SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/gfxdep/*.c $(SRC_DIR)/joydep/*.c $(
|
|||||||
SRCS := $(filter-out src/compemu_raw_x86.c src/compemu_fpp.c src/compemu_support.c src/svgancui.c src/build68k.c src/catweasel.c \
|
SRCS := $(filter-out src/compemu_raw_x86.c src/compemu_fpp.c src/compemu_support.c src/svgancui.c src/build68k.c src/catweasel.c \
|
||||||
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
||||||
src/filesys.c src/fsdb.c src/fsdb_unix.c src/hardfile_unix.c src/genblitter.c src/gencomp.c src/gencpu.c \
|
src/filesys.c src/fsdb.c src/fsdb_unix.c src/hardfile_unix.c src/genblitter.c src/gencomp.c src/gencpu.c \
|
||||||
src/hardfile.c src/genlinetoscr.c src/compemu.c src/compstbl.c \
|
src/hardfile.c src/genlinetoscr.c src/compemu.c src/compstbl.c src/fsusage.c src/filesys_unix.c \
|
||||||
|
src/enforcer.c src/ar.c \
|
||||||
src/readdisk.c src/gengenblitter.c src/scsiemul.c src/tui.c src/linetoscr.c, $(SRCS))
|
src/readdisk.c src/gengenblitter.c src/scsiemul.c src/tui.c src/linetoscr.c, $(SRCS))
|
||||||
|
|
||||||
# Library object files.
|
# Library object files.
|
||||||
@ -38,7 +39,7 @@ all: uae-host.elf
|
|||||||
# How to delete the intermediate files.
|
# How to delete the intermediate files.
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning $(OBJ_DIR)
|
@echo Cleaning $(OBJ_DIR)
|
||||||
@rm -f $(OBJS) src/machdep
|
@rm -f $(OBJS) src/machdep src/target.h
|
||||||
|
|
||||||
$(OBJ_DIR):
|
$(OBJ_DIR):
|
||||||
install -d $@
|
install -d $@
|
||||||
@ -79,8 +80,7 @@ $(BIN_DIR)/%.dol: %.elf
|
|||||||
COMMON_FLAGS := -g -Wall $(MACHDEP)
|
COMMON_FLAGS := -g -Wall $(MACHDEP)
|
||||||
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I/usr/include/SDL
|
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I/usr/include/SDL
|
||||||
DEFINES := -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
DEFINES := -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
||||||
-DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE \
|
-DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE
|
||||||
-DENFORCER -DACTION_REPLAY
|
|
||||||
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES)
|
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
# Test link flags.
|
# Test link flags.
|
||||||
|
12
Makefile.wii
12
Makefile.wii
@ -21,13 +21,14 @@ PIPE_TO_SED := 2>&1 | sed "s/:\([0-9]*\):/\(\1\) :/"
|
|||||||
|
|
||||||
# Source files.
|
# Source files.
|
||||||
SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/gfxdep/*.c $(SRC_DIR)/joydep/*.c $(SRC_DIR)/sounddep/*.c \
|
SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/gfxdep/*.c $(SRC_DIR)/joydep/*.c $(SRC_DIR)/sounddep/*.c \
|
||||||
$(SRC_DIR)/threaddep/*.c $(SRC_DIR)/guidep/*.c $(SRC_DIR)/caps/*.c $(SRC_DIR)/dms/*.c $(SRC_DIR)/machdep/*.c \
|
$(SRC_DIR)/threaddep/*.c $(SRC_DIR)/guidep/*.c $(SRC_DIR)/caps/*.c $(SRC_DIR)/dms/*.c \
|
||||||
$(SRC_DIR)/osdep/*.c $(SRC_DIR)/keymap/*.c) $(SRC_DIR)/machdep/support.c
|
$(SRC_DIR)/osdep/*.c $(SRC_DIR)/keymap/*.c) $(SRC_DIR)/machdep/support.c
|
||||||
|
|
||||||
SRCS := $(filter-out src/compemu_raw_x86.c src/compemu_fpp.c src/compemu_support.c src/svgancui.c src/build68k.c src/catweasel.c \
|
SRCS := $(filter-out src/compemu_raw_x86.c src/compemu_fpp.c src/compemu_support.c src/svgancui.c src/build68k.c src/catweasel.c \
|
||||||
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
||||||
src/filesys.c src/fsdb.c src/fsdb_unix.c src/hardfile_unix.c src/genblitter.c src/gencomp.c src/gencpu.c \
|
src/filesys.c src/fsdb.c src/fsdb_unix.c src/hardfile_unix.c src/genblitter.c src/gencomp.c src/gencpu.c \
|
||||||
src/hardfile.c src/genlinetoscr.c src/compemu.c src/compstbl.c \
|
src/hardfile.c src/genlinetoscr.c src/compemu.c src/compstbl.c src/fsusage.c src/filesys_unix.c \
|
||||||
|
src/enforcer.c src/ar.c \
|
||||||
src/readdisk.c src/gengenblitter.c src/scsiemul.c src/tui.c src/linetoscr.c, $(SRCS))
|
src/readdisk.c src/gengenblitter.c src/scsiemul.c src/tui.c src/linetoscr.c, $(SRCS))
|
||||||
|
|
||||||
# Library object files.
|
# Library object files.
|
||||||
@ -43,7 +44,7 @@ all: uae.dol
|
|||||||
# How to delete the intermediate files.
|
# How to delete the intermediate files.
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning $(OBJ_DIR)
|
@echo Cleaning $(OBJ_DIR)
|
||||||
@rm -f $(OBJS) src/machdep
|
@rm -f $(OBJS) src/machdep src/target.h
|
||||||
|
|
||||||
$(OBJ_DIR):
|
$(OBJ_DIR):
|
||||||
install -d $@
|
install -d $@
|
||||||
@ -83,9 +84,8 @@ $(BIN_DIR)/%.dol: %.elf
|
|||||||
# Compilation flags.
|
# Compilation flags.
|
||||||
COMMON_FLAGS := -g -O2 -mrvl -Wall $(MACHDEP)
|
COMMON_FLAGS := -g -O2 -mrvl -Wall $(MACHDEP)
|
||||||
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I$(DEVKITPRO)/libogc/include -I$(DEVKITPRO)/libogc/include/SDL
|
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I$(DEVKITPRO)/libogc/include -I$(DEVKITPRO)/libogc/include/SDL
|
||||||
DEFINES := -DGEKKO -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
DEFINES := -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DAGA \
|
||||||
-DAUTOCONFIG -DFILESYS -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE \
|
-DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE
|
||||||
-DENFORCER -DACTION_REPLAY -UFILESYS
|
|
||||||
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES)
|
CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
# Test link flags.
|
# Test link flags.
|
||||||
|
Loading…
Reference in New Issue
Block a user