forked from Themaister/Dinothawr
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMakefile.common
74 lines (68 loc) · 2.4 KB
/
Makefile.common
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
DEPS_DIR := $(CORE_DIR)/deps
INCFLAGS := -I$(DEPS_DIR) -I$(CORE_DIR)/audio -I$(DEPS_DIR)/pugixml -I$(DEPS_DIR)/vorbis -I$(DEPS_DIR)/ogg -I$(DEPS_DIR)/libz -I$(LIBRETRO_COMM_DIR)/include
SOURCES_ASM :=
SOURCES_CXX := $(CORE_DIR)/bg_manager.cpp \
$(CORE_DIR)/font.cpp \
$(CORE_DIR)/game.cpp \
$(CORE_DIR)/game_manager.cpp \
$(CORE_DIR)/libretro.cpp \
$(CORE_DIR)/render_target.cpp \
$(CORE_DIR)/sfx_manager.cpp \
$(CORE_DIR)/surface.cpp \
$(CORE_DIR)/surface_cache.cpp \
$(CORE_DIR)/surface_cluster.cpp \
$(CORE_DIR)/tilemap.cpp \
$(DEPS_DIR)/pugixml/pugixml.cpp \
$(CORE_DIR)/audio/mixer.cpp
SOURCES_C := \
$(DEPS_DIR)/ogg/bitwise.c \
$(DEPS_DIR)/ogg/framing.c \
$(DEPS_DIR)/vorbis/bitrate.c \
$(DEPS_DIR)/vorbis/block.c \
$(DEPS_DIR)/vorbis/codebook.c \
$(DEPS_DIR)/vorbis/envelope.c \
$(DEPS_DIR)/vorbis/floor0.c \
$(DEPS_DIR)/vorbis/floor1.c \
$(DEPS_DIR)/vorbis/info.c \
$(DEPS_DIR)/vorbis/lpc.c \
$(DEPS_DIR)/vorbis/lsp.c \
$(DEPS_DIR)/vorbis/mapping0.c \
$(DEPS_DIR)/vorbis/mdct.c \
$(DEPS_DIR)/vorbis/psy.c \
$(DEPS_DIR)/vorbis/registry.c \
$(DEPS_DIR)/vorbis/res0.c \
$(DEPS_DIR)/vorbis/sharedbook.c \
$(DEPS_DIR)/vorbis/smallft.c \
$(DEPS_DIR)/vorbis/synthesis.c \
$(DEPS_DIR)/vorbis/vorbisfile.c \
$(DEPS_DIR)/vorbis/window.c \
$(DEPS_DIR)/libz/adler32.c \
$(DEPS_DIR)/libz/crc32.c \
$(DEPS_DIR)/libz/deflate.c \
$(DEPS_DIR)/libz/inffast.c \
$(DEPS_DIR)/libz/inflate.c \
$(DEPS_DIR)/libz/inftrees.c \
$(DEPS_DIR)/libz/trees.c \
$(DEPS_DIR)/libz/zutil.c
SOURCES_C += $(CORE_DIR)/rpng_front.c
ifeq ($(STATIC_LINKING), 1)
else
SOURCES_C += \
$(LIBRETRO_COMM_DIR)/file/nbio/nbio_stdio.c \
$(LIBRETRO_COMM_DIR)/audio/conversion/float_to_s16.c \
$(LIBRETRO_COMM_DIR)/audio/conversion/s16_to_float.c \
$(LIBRETRO_COMM_DIR)/audio/audio_mix.c \
$(LIBRETRO_COMM_DIR)/features/features_cpu.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
$(LIBRETRO_COMM_DIR)/compat/compat_posix_string.c \
$(LIBRETRO_COMM_DIR)/formats/png/rpng.c \
$(LIBRETRO_COMM_DIR)/streams/file_stream.c \
$(LIBRETRO_COMM_DIR)/streams/trans_stream.c \
$(LIBRETRO_COMM_DIR)/streams/trans_stream_pipe.c \
$(LIBRETRO_COMM_DIR)/streams/trans_stream_zlib.c
ifeq ($(HAVE_NEON),1)
SOURCES_ASM += $(LIBRETRO_COMM_DIR)/audio/conversion/float_to_s16_neon.S \
$(LIBRETRO_COMM_DIR)/audio/conversion/s16_to_float_neon.S
endif
endif