Skip to content

Commit

Permalink
always enable WITH_MPEG2
Browse files Browse the repository at this point in the history
  • Loading branch information
vadosnaprimer committed Jun 11, 2024
1 parent 09624ce commit 01a94bc
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions waterbox/uae/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ CCFLAGS += $(INCFLAGS) \
-DHAVE_ZLIB \
-DHAVE_7ZIP \
-D_7ZIP_ST \
-DWATERBOX
-DWATERBOX \
-DWITH_MPEG2

#CCFLAGS += \
-DPICASSO96_SUPPORTED \
Expand Down Expand Up @@ -208,19 +209,16 @@ SOURCES_C += \
$(EMU)/archivers/lha/util.c \
$(EMU)/archivers/mp2/kjmp2.c

ifeq ($(HAVE_MPEG2), 1)
CFLAGS += -DWITH_MPEG2
SOURCES_C += \
$(DEPS_DIR)/libmpeg2/src/convert/rgb.c \
$(DEPS_DIR)/libmpeg2/src/cpu_accel.c \
$(DEPS_DIR)/libmpeg2/src/cpu_state.c \
$(DEPS_DIR)/libmpeg2/src/alloc.c \
$(DEPS_DIR)/libmpeg2/src/decode.c \
$(DEPS_DIR)/libmpeg2/src/header.c \
$(DEPS_DIR)/libmpeg2/src/idct.c \
$(DEPS_DIR)/libmpeg2/src/motion_comp.c \
$(DEPS_DIR)/libmpeg2/src/slice.c
endif
SOURCES_C += \
$(DEPS_DIR)/libmpeg2/src/convert/rgb.c \
$(DEPS_DIR)/libmpeg2/src/cpu_accel.c \
$(DEPS_DIR)/libmpeg2/src/cpu_state.c \
$(DEPS_DIR)/libmpeg2/src/alloc.c \
$(DEPS_DIR)/libmpeg2/src/decode.c \
$(DEPS_DIR)/libmpeg2/src/header.c \
$(DEPS_DIR)/libmpeg2/src/idct.c \
$(DEPS_DIR)/libmpeg2/src/motion_comp.c \
$(DEPS_DIR)/libmpeg2/src/slice.c

ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
Expand Down

0 comments on commit 01a94bc

Please sign in to comment.