X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=4a1e61c964e5befda8de0b87bc48c754be101d7c;hp=b6f381cce3e043b3d33994ac4aae800452e6c38d;hb=baaef67b10823d852e517b24d3b33772533f7cd1;hpb=c82f907a99f7d0d3071471489d247f4b4394a8b7 diff --git a/Makefile b/Makefile index b6f381cc..4a1e61c9 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,10 @@ OBJS += plugins/dfinput/main.o plugins/dfinput/pad.o plugins/dfinput/guncon.o OBJS += frontend/cspace.o ifeq "$(HAVE_NEON)" "1" OBJS += frontend/cspace_neon.o +else +ifeq "$(ARCH)" "arm" +OBJS += frontend/cspace_arm.o +endif endif ifeq "$(PLATFORM)" "generic" @@ -167,9 +171,16 @@ USE_PLUGIN_LIB = 1 USE_FRONTEND = 1 endif ifeq "$(PLATFORM)" "maemo" -OBJS += maemo/hildon.o maemo/main.o +OBJS += maemo/hildon.o maemo/main.o maemo/maemo_xkb.o frontend/pl_gun_ts.o maemo/%.o: maemo/%.c USE_PLUGIN_LIB = 1 +LDFLAGS += $(shell pkg-config --libs hildon-1 libpulse) +EXTRA_CFLAGS += $(shell pkg-config --cflags hildon-1) -DHAVE_TSLIB +#EXTRA_CFLAGS += -DMAEMO -DMAEMO_CHANGES -march=armv7-a -O3 -mtune=cortex-a8 -mfpu=neon -funsafe-math-optimizations \ +# -mstructure-size-boundary=32 -falign-functions=32 -falign-loops +CFLAGS += $(EXTRA_CFLAGS) +CFLAGS += `pkg-config --cflags glib-2.0 libosso dbus-1 hildon-fm-2` +LDFLAGS += `pkg-config --libs glib-2.0 libosso dbus-1 hildon-fm-2` endif ifeq "$(PLATFORM)" "libretro" OBJS += frontend/libretro.o