also correct a statement in readme.
ifndef DEBUG
CFLAGS += -O2 # -DNDEBUG
endif
+USE_OSS = 1
+#USE_ALSA = 1
#DRC_DBG = 1
#PCNT = 1
TARGET = pcsx
+-include Makefile.local
+
all: $(TARGET)
# core
endif
# spu
-OBJS += plugins/dfsound/adsr.o plugins/dfsound/dma.o plugins/dfsound/oss.o plugins/dfsound/reverb.o \
- plugins/dfsound/xa.o plugins/dfsound/freeze.o plugins/dfsound/cfg.o plugins/dfsound/registers.o \
- plugins/dfsound/spu.o
+OBJS += plugins/dfsound/adsr.o plugins/dfsound/dma.o plugins/dfsound/reverb.o plugins/dfsound/xa.o \
+ plugins/dfsound/freeze.o plugins/dfsound/cfg.o plugins/dfsound/registers.o plugins/dfsound/spu.o
+ifeq "$(USE_OSS)" "1"
+plugins/dfsound/%.o: CFLAGS += -DUSEOSS
+OBJS += plugins/dfsound/oss.o
+endif
+ifeq "$(USE_ALSA)" "1"
+plugins/dfsound/%.o: CFLAGS += -DUSEALSA
+OBJS += plugins/dfsound/alsa.o
+LDFLAGS += -lasound
+endif
+
# gpu
plugins/dfxvideo/%.o: CFLAGS += -Wall
OBJS += plugins/dfxvideo/gpu.o
#define PACKAGE_VERSION "1.9"
#define DEF_PLUGIN_DIR "."
//#define EMU_LOG printf
-#define USEOSS
Ari64. It was created for Pandora handheld, but should be usable on other
devices after some code adjustments.
-It does not, however, have anything in common with similar psx4all and
-pcsx4all projects, except that all of these are PCSX ports.
+PCSX ReARMed features GPU and SPU plugins from PCSX4ALL project.
Usage
\r
OBJ = gpuDraw.o gpuFps.o gpuPlugin.o gpuPrim.o gpuTexture.o\r
\r
+-include Makefile.local\r
+\r
all: $(TARGET)\r
\r
$(TARGET): $(OBJ)\r
TARGET = gpuPCSX4ALL.so
LDFLAGS += -shared -Wl,-soname,$(TARGET)
+-include Makefile.local
+
all: $(TARGET)
$(TARGET): gpu.cpp ../../frontend/arm_utils.s
all: spunull.so
+-include Makefile.local
+
spunull.so: spunull.c
$(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^